File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 111111 <DebugType >portable</DebugType >
112112 </PropertyGroup >
113113
114+ <!-- Prevent the compiler from acquiring or referencing any external reference assemblies -->
115+ <PropertyGroup >
116+ <!-- Do not download the .NET Framework Target Pack NuGet package automatically -->
117+ <DisableTransitiveFrameworkReferenceDownloads >true</DisableTransitiveFrameworkReferenceDownloads >
118+ <!-- Instruct the compiler to not automatically reference mscorlib -->
119+ <NoStandardLib >true</NoStandardLib >
120+ <!-- Prevent the GetReferenceAssemblyPaths task in Microsoft.Common.CurrentVersion.targets
121+ from attempting to locate an external copy of the reference assemblies. -->
122+ <AutomaticallyUseReferenceAssemblyPackages >false</AutomaticallyUseReferenceAssemblyPackages >
123+ <FrameworkPathOverride >$(KSPBTManagedPath)</FrameworkPathOverride >
124+ <DisableImplicitFrameworkReferences >true</DisableImplicitFrameworkReferences >
125+ </PropertyGroup >
126+
114127 <ItemGroup >
115128 <Compile Include =" $(MSBuildThisFileDirectory)/include/*.cs" Condition =" exists('$(MSBuildThisFileDirectory)/include')" />
116129 </ItemGroup >
Original file line number Diff line number Diff line change 22<Project xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
33 <Import Condition =" '$(KSPCommonPropsImported)' == '' And Exists('$(MSBuildThisFileDirectory)KSPCommon.props') " Project =" $(MSBuildThisFileDirectory)KSPCommon.props" />
44
5- <!-- Prevent the compiler from acquiring or referencing any external reference assemblies -->
6- <PropertyGroup Condition =" '$(KSPBTReferenceSystemAssemblies)' == 'true' " >
7- <!-- Do not download the .NET Framework Target Pack NuGet package automatically -->
8- <DisableTransitiveFrameworkReferenceDownloads >true</DisableTransitiveFrameworkReferenceDownloads >
9- <!-- Instruct the compiler to not automatically reference mscorlib -->
10- <NoStandardLib >true</NoStandardLib >
11- <!-- Prevent the GetReferenceAssemblyPaths task in Microsoft.Common.CurrentVersion.targets
12- from attempting to locate an external copy of the reference assemblies. -->
13- <AutomaticallyUseReferenceAssemblyPackages >false</AutomaticallyUseReferenceAssemblyPackages >
14- <FrameworkPathOverride >$(KSPBTManagedPath)</FrameworkPathOverride >
15- <DisableImplicitFrameworkReferences >true</DisableImplicitFrameworkReferences >
16- </PropertyGroup >
17-
18-
195 <!-- Import references -->
206 <ItemGroup Condition =" '$(KSPBTReferenceSystemAssemblies)' == 'true' " >
217 <Reference Include =" $(KSPBTManagedPath)/System.dll" >
You can’t perform that action at this time.
0 commit comments