Skip to content

Commit d809f3d

Browse files
committed
starting to understand this...
1 parent 13c6577 commit d809f3d

2 files changed

Lines changed: 12 additions & 8 deletions

File tree

KSPCommon.props

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,18 @@
112112
<DebugType>portable</DebugType>
113113
</PropertyGroup>
114114

115+
<!-- Prevent the compiler from acquiring or referencing any external reference assemblies -->
116+
<PropertyGroup>
117+
<!-- Do not download the .NET Framework Target Pack NuGet package automatically -->
118+
<DisableTransitiveFrameworkReferenceDownloads>true</DisableTransitiveFrameworkReferenceDownloads>
119+
<!-- Instruct the compiler to not automatically reference mscorlib -->
120+
<NoStandardLib>true</NoStandardLib>
121+
<!-- Prevent the GetReferenceAssemblyPaths task in Microsoft.Common.CurrentVersion.targets
122+
from attempting to locate an external copy of the reference assemblies. -->
123+
<AutomaticallyUseReferenceAssemblyPackages>false</AutomaticallyUseReferenceAssemblyPackages>
124+
<DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
125+
</PropertyGroup>
126+
115127
<ItemGroup>
116128
<Compile Include="$(MSBuildThisFileDirectory)/include/*.cs" Condition="exists('$(MSBuildThisFileDirectory)/include')"/>
117129
</ItemGroup>

KSPCommon.targets

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,7 @@
99

1010
<!-- Prevent the compiler from acquiring or referencing any external reference assemblies -->
1111
<PropertyGroup>
12-
<!-- Do not download the .NET Framework Target Pack NuGet package automatically -->
13-
<DisableTransitiveFrameworkReferenceDownloads>true</DisableTransitiveFrameworkReferenceDownloads>
14-
<!-- Instruct the compiler to not automatically reference mscorlib -->
15-
<NoStandardLib>true</NoStandardLib>
16-
<!-- Prevent the GetReferenceAssemblyPaths task in Microsoft.Common.CurrentVersion.targets
17-
from attempting to locate an external copy of the reference assemblies. -->
18-
<AutomaticallyUseReferenceAssemblyPackages>false</AutomaticallyUseReferenceAssemblyPackages>
1912
<FrameworkPathOverride>$(KSPBT_ManagedPath)</FrameworkPathOverride>
20-
<DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
2113
</PropertyGroup>
2214

2315
<!-- Import references -->

0 commit comments

Comments
 (0)