We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a979750 commit fcb9017Copy full SHA for fcb9017
1 file changed
build/common.targets
@@ -1,5 +1,12 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<Project ToolsVersion="15.0">
3
+
4
+ <!-- Set AssemblyVersion in targets as it is TFM dependent. -->
5
+ <PropertyGroup Condition="'$(AssemblyVersion)' == '' and '$(SemanticVersion)' != ''">
6
+ <AssemblyVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">$(SemanticVersion).$(PreReleaseVersion)</AssemblyVersion>
7
+ <AssemblyVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">$(SemanticVersion).0</AssemblyVersion>
8
+ </PropertyGroup>
9
10
<!-- Compiler flags -->
11
<PropertyGroup>
12
<DefineConstants Condition="'$(TargetFramework)' == '$(NETFXTargetFramework)'">$(DefineConstants);IS_DESKTOP</DefineConstants>
0 commit comments