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 'Directory.Build.props')
-rw-r--r--Directory.Build.props23
1 files changed, 22 insertions, 1 deletions
diff --git a/Directory.Build.props b/Directory.Build.props
index acf6e308c..f85d60a6c 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -2,8 +2,29 @@
<PropertyGroup>
<MonoBuild Condition="'$(MonoBuild)' == '' and '$(SolutionName)' == 'monolinker'">true</MonoBuild>
</PropertyGroup>
+
+ <PropertyGroup>
+ <IsReferenceAssembly Condition="'$(IsReferenceAssembly)' == '' and '$([System.IO.Path]::GetFileName($(MSBuildProjectDirectory)))' == 'ref'">true</IsReferenceAssembly>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(IsReferenceAssembly)' == 'true' ">
+ <ProduceOnlyReferenceAssembly>true</ProduceOnlyReferenceAssembly>
+ <!-- used by Arcade to compute OutputPath, IntermediateOutputPath, etc. early in the import chain. -->
+ <OutDirName>$(MSBuildProjectName)/ref</OutDirName>
+ <!-- don't try to publish PDBs for ref assemblies that have none. -->
+ <PublishWindowsPdb>false</PublishWindowsPdb>
+ <RunApiCompat>false</RunApiCompat>
+ </PropertyGroup>
+
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" Condition="'$(MonoBuild)' == ''" />
+ <!-- Still use global versions even if not using arcade. -->
+ <Import Project="eng/Versions.props" Condition="'$(MonoBuild)' != ''" />
<PropertyGroup>
<IsPackable>false</IsPackable>
+ <PackageLicenseExpression>MIT</PackageLicenseExpression>
+ <_ToolsProjectTargets>$(ArtifactsToolsetDir)Common\Tools.proj.nuget.g.targets</_ToolsProjectTargets>
+ <!-- Set this to false to build against the submodule. Convenient for experimenting locally. -->
+ <UseCecilPackage Condition="'$(MonoBuild)' != '' And '$(UseCecilPackage)' == ''">false</UseCecilPackage>
+ <UseCecilPackage Condition="'$(UseCecilPackage)' == ''">true</UseCecilPackage>
</PropertyGroup>
-</Project> \ No newline at end of file
+
+</Project>