microsoft / microsoft/MSBuildSdks

Consider setting `DisableImplicitFrameworkReferences` on the NoTargets SDK to prevent the .NET SDK from loading any packs

Open
#642 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
508
Forks
94
Avg merge
6h 40m
Merged PRs (30d)
2

Description

DisableImplicitFrameworkReferences prevents the SDK from trying to load any .NET Runtimes, Targeting Packs, or similar for a given project. Since NoTargets isn't intended to create any binary, runnable, dll assets this seems like a reasonable default.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names the NoTargets SDK but no file or test. Start by locating its SDK configuration and checking how DisableImplicitFrameworkReferences is represented; done means the setting is enabled by default for NoTargets and the SDK no longer tries to load packs.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.