Skip to content

Commit fcb9017

Browse files
dotnet-maestro[bot]nkolev92
authored andcommitted
Backflow from https://github.com/dotnet/dotnet / 2dea164 build 283828
[[ commit created by automation ]]
1 parent a979750 commit fcb9017

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

build/common.targets

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<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+
310
<!-- Compiler flags -->
411
<PropertyGroup>
512
<DefineConstants Condition="'$(TargetFramework)' == '$(NETFXTargetFramework)'">$(DefineConstants);IS_DESKTOP</DefineConstants>

0 commit comments

Comments
 (0)