Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/analyzer/analyzer.csproj')
-rw-r--r--src/analyzer/analyzer.csproj18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/analyzer/analyzer.csproj b/src/analyzer/analyzer.csproj
index 49b053be8..1d4852b68 100644
--- a/src/analyzer/analyzer.csproj
+++ b/src/analyzer/analyzer.csproj
@@ -4,26 +4,24 @@
<OutputType>Exe</OutputType>
<RootNamespace>LinkerAnalyzer</RootNamespace>
<AssemblyName>illinkanalyzer</AssemblyName>
- <Configurations>Debug;Release;illink_Debug;illink_Release</Configurations>
+ <Configurations>Debug;Release</Configurations>
</PropertyGroup>
- <PropertyGroup Condition="$(Configuration.StartsWith('illink'))">
+ <PropertyGroup Condition="'$(MonoBuild)' == ''">
<DefineConstants>$(DefineConstants);FEATURE_ILLINK</DefineConstants>
- <!-- net46 build is disabled until cecil uses SDK-style projects. -->
- <TargetFrameworks>netcoreapp3.0</TargetFrameworks>
- <TargetFrameworks Condition="'$(MSBuildRuntimeType)' == 'Core' And '$(OS)' != 'Windows_NT'">netcoreapp3.0</TargetFrameworks>
+ <TargetFrameworks>netcoreapp3.0;net471</TargetFrameworks>
</PropertyGroup>
- <PropertyGroup Condition="!$(Configuration.StartsWith('illink'))">
+ <PropertyGroup Condition="'$(MonoBuild)' != ''">
<TargetFrameworks>net471</TargetFrameworks>
</PropertyGroup>
- <PropertyGroup Condition="$(Configuration.EndsWith('Debug'))">
+ <PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<DebugSymbols Condition="'$(DebugSymbols)' == ''">true</DebugSymbols>
<Optimize Condition="'$(Optimize)' == ''">false</Optimize>
</PropertyGroup>
- <PropertyGroup Condition="$(Configuration.EndsWith('Release'))">
+ <PropertyGroup Condition="'$(Configuration)' == 'Release'">
<Optimize Condition="'$(Optimize)' == ''">true</Optimize>
</PropertyGroup>
@@ -32,4 +30,8 @@
</ProjectReference>
</ItemGroup>
+ <ItemGroup Condition="'$(MonoBuild)' == ''">
+ <PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" PrivateAssets="All" Version="1.0.0" />
+ </ItemGroup>
+
</Project> \ No newline at end of file