File tree Expand file tree Collapse file tree 1 file changed +12
-13
lines changed
Expand file tree Collapse file tree 1 file changed +12
-13
lines changed Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <!-- Must be a real TFM for SDK project -->
4- <TargetFramework >net10.0</TargetFramework >
5- <!-- Prevent outputs -->
6- <OutputType >Library</OutputType >
7- <GenerateAssemblyInfo >false</GenerateAssemblyInfo >
8- <GenerateTargetFrameworkAttribute >false</GenerateTargetFrameworkAttribute >
9- <!--
10- <CopyBuildOutputToOutputDirectory>false</CopyBuildOutputToOutputDirectory>
11- <IncludeBuildOutput>false</IncludeBuildOutput>
12- <IsPackable>false</IsPackable>
13- -->
14- <!-- Keep build fast -->
3+ <!-- Prevent the project from attempting any compilation -->
4+ <TargetFramework >netstandard2.0</TargetFramework >
155 <DisableImplicitFrameworkReferences >true</DisableImplicitFrameworkReferences >
16- <!-- No restore work -->
6+ <EnableDefaultCompileItems >false</EnableDefaultCompileItems >
7+
8+ <!-- Prevent build from running -->
9+ <SkipCompilerExecution >true</SkipCompilerExecution >
10+ <NoBuild >true</NoBuild >
11+
12+ <!-- NEW: prevent NuGet restore to avoid NETSDK1005 -->
1713 <RestoreProjectStyle >None</RestoreProjectStyle >
14+
15+ <!-- Visual Studio friendliness -->
16+ <IncludeBuildOutput >false</IncludeBuildOutput >
1817 </PropertyGroup >
1918
2019 <!-- Remove all real Compile items -->
You can’t perform that action at this time.
0 commit comments