Conditionally include project items with MSBuild conditions in Visual Studio
Use Condition attributes in SDK-style .csproj files to include or exclude files, references, and packages by build configuration, platform, or target framework.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Use Condition attributes in SDK-style .csproj files to include or exclude files, references, and packages by build configuration, platform, or target framework.