Browse Source

Fix missing RuntimeIdentifier

It appears MSBuild 15.8 or 15.9 requires explicit RuntimeIdentifier=win.

Part of gitextensions/gitextensions#6497
pull/8/head
RussKie 6 years ago
parent
commit
cacaf7f77b
  1. 1
      ICSharpCode.TextEditor.Sample/ICSharpCode.TextEditor.Sample.csproj
  2. 1
      Project/ICSharpCode.TextEditor.csproj
  3. 5
      Test/ICSharpCode.TextEditor.Tests.csproj

1
ICSharpCode.TextEditor.Sample/ICSharpCode.TextEditor.Sample.csproj

@ -9,6 +9,7 @@
<RootNamespace>ICSharpCode.TextEditor.Sample</RootNamespace>
<AssemblyName>ICSharpCode.TextEditor.Sample</AssemblyName>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<RuntimeIdentifier>win</RuntimeIdentifier>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup>

1
Project/ICSharpCode.TextEditor.csproj

@ -21,6 +21,7 @@
<PlatformTarget>AnyCPU</PlatformTarget>
<FileAlignment>4096</FileAlignment>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<RuntimeIdentifier>win</RuntimeIdentifier>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>

5
Test/ICSharpCode.TextEditor.Tests.csproj

@ -22,10 +22,7 @@
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<RuntimeIdentifier>win</RuntimeIdentifier>
<OldToolsVersion>2.0</OldToolsVersion>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
</PropertyGroup>

Loading…
Cancel
Save