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

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Luo <johluo@microsoft.com>2019-10-08 07:00:34 +0300
committerGitHub <noreply@github.com>2019-10-08 07:00:34 +0300
commit354d859d50f252526be5a6264434d1765df86450 (patch)
tree5b8a84cc1edf0b211c242f74b58b9b7aea975585 /Directory.Build.targets
parentf05087be68257fc646b2f1aada2c98cee937f35c (diff)
Manually add TypeForwardedTo in ref assemblies (#14538)
* Manually add TypeForwardedTo in ref assemblies * Pin ref assembly version to Major.Minor.0.0 * Disable MSB3243 warning * Pin pinning implementation assembly version * Use nuget.exe v5.3.0 which support icon metadata * Fixup nuspec packing
Diffstat (limited to 'Directory.Build.targets')
-rw-r--r--Directory.Build.targets6
1 files changed, 6 insertions, 0 deletions
diff --git a/Directory.Build.targets b/Directory.Build.targets
index 0bbb16aa49..db3cea59f1 100644
--- a/Directory.Build.targets
+++ b/Directory.Build.targets
@@ -105,6 +105,12 @@
<Compile Include="$(SharedSourceRoot)ReferenceAssemblyInfo.cs" LinkBase="Properties" />
</ItemGroup>
+ <PropertyGroup Condition="'$(Language)' == 'C#'">
+ <!-- Reference assemblies should always use Major.Minor.0.0 for assembly versions even during servicing. Only the package version should be updated. -->
+ <!-- Pinning the implementation assemblies at Major.Minor.0.0 as we figure out compiling against ref assemblies. -->
+ <AssemblyVersion>$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).0.0</AssemblyVersion>
+ </PropertyGroup>
+
<ItemGroup>
<KnownFrameworkReference Update="Microsoft.NETCore.App">
<!-- Always update the 'latest version', whether the repo is servicing or not. -->