Fix .targets files for multiple Roslyn versions
このコミットが含まれているのは:
1 親
31feb16b09
コミット
40cd02b4e4
3ファイル変更
+3
検索条件に一致するファイルはありません
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする