Fix .targets files for multiple Roslyn versions

このコミットが含まれているのは:
Sergio Pedri committed 2022-06-19 12:59:47 +02:00
1 親 31feb16b09
コミット 40cd02b4e4
3ファイル変更
+3

検索条件に一致するファイルはありません

+1
ファイルの表示
@@ -25,6 +25,7 @@
<!-- Transform the resulting item from GetAssemblyIdentity into a property representing its assembly version -->
<CurrentCompilerVersion>@(CurrentCompilerAssemblyIdentity->'%(Version)')</CurrentCompilerVersion>
<CurrentCompilerVersion Condition="'$(CurrentCompilerVersion)' != ''">$(CurrentCompilerVersion.Split(';')[0])</CurrentCompilerVersion>
<!-- The CurrentCompilerVersionIsNotNewEnough property can now be defined based on the Roslyn assembly version -->
<CurrentCompilerVersionIsNotNewEnough Condition="$([MSBuild]::VersionLessThan($(CurrentCompilerVersion), 4.2))">true</CurrentCompilerVersionIsNotNewEnough>
+1
ファイルの表示
@@ -25,6 +25,7 @@
<!-- Transform the resulting item from GetAssemblyIdentity into a property representing its assembly version -->
<CurrentCompilerVersion>@(CurrentCompilerAssemblyIdentity->'%(Version)')</CurrentCompilerVersion>
<CurrentCompilerVersion Condition="'$(CurrentCompilerVersion)' != ''">$(CurrentCompilerVersion.Split(';')[0])</CurrentCompilerVersion>
<!-- The CurrentCompilerVersionIsNotNewEnough property can now be defined based on the Roslyn assembly version -->
<CurrentCompilerVersionIsNotNewEnough Condition="$([MSBuild]::VersionLessThan($(CurrentCompilerVersion), 4.2))">true</CurrentCompilerVersionIsNotNewEnough>
+1
ファイルの表示
@@ -25,6 +25,7 @@
<!-- Transform the resulting item from GetAssemblyIdentity into a property representing its assembly version -->
<CurrentCompilerVersion>@(CurrentCompilerAssemblyIdentity->'%(Version)')</CurrentCompilerVersion>
<CurrentCompilerVersion Condition="'$(CurrentCompilerVersion)' != ''">$(CurrentCompilerVersion.Split(';')[0])</CurrentCompilerVersion>
<!-- The CurrentCompilerVersionIsNotNewEnough property can now be defined based on the Roslyn assembly version -->
<CurrentCompilerVersionIsNotNewEnough Condition="$([MSBuild]::VersionLessThan($(CurrentCompilerVersion), 4.2))">true</CurrentCompilerVersionIsNotNewEnough>