Skip to content

Commit 13c6577

Browse files
committed
OH NO
1 parent 899869e commit 13c6577

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

KSPCommon.props

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -112,19 +112,6 @@
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-
<FrameworkPathOverride>$(KSPBT_ManagedPath)</FrameworkPathOverride>
125-
<DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
126-
</PropertyGroup>
127-
128115
<ItemGroup>
129116
<Compile Include="$(MSBuildThisFileDirectory)/include/*.cs" Condition="exists('$(MSBuildThisFileDirectory)/include')"/>
130117
</ItemGroup>

KSPCommon.targets

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,19 @@
77
<KSPBT_ManagedPath>$(KSPBT_GameRoot)/$(KSPBT_ManagedRelativePath)</KSPBT_ManagedPath>
88
</PropertyGroup>
99

10+
<!-- Prevent the compiler from acquiring or referencing any external reference assemblies -->
11+
<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>
19+
<FrameworkPathOverride>$(KSPBT_ManagedPath)</FrameworkPathOverride>
20+
<DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
21+
</PropertyGroup>
22+
1023
<!-- Import references -->
1124
<ItemGroup Condition=" '$(KSPBT_ReferenceSystemAssemblies)' == 'true' ">
1225
<Reference Include="$(KSPBT_ManagedPath)/System.dll">

0 commit comments

Comments
 (0)