Skip to content

Commit b0199d3

Browse files
committed
Updated 0DirectoryViewer.csproj
1 parent 3de6e5e commit b0199d3

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

scripts/0DirectoryViewer.csproj

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
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 -->

0 commit comments

Comments
 (0)