Skip to content

Commit

Permalink
Try adding TargetPlatform too
Browse files Browse the repository at this point in the history
  • Loading branch information
christophwille committed Nov 28, 2023
1 parent dae7d82 commit 3983187
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<IsPackable>false</IsPackable>
<StartupObject>AutoGeneratedProgram</StartupObject>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>

<AllowUnsafeBlocks>True</AllowUnsafeBlocks>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<IsPackable>false</IsPackable>
<StartupObject>AutoGeneratedProgram</StartupObject>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>

<EnableDefaultItems>false</EnableDefaultItems>
<UseWpf>true</UseWpf>
Expand Down
1 change: 1 addition & 0 deletions ILSpy.Tests/ILSpy.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<TargetFramework>net8.0-windows</TargetFramework>
<IsPackable>false</IsPackable>
<StartupObject>AutoGeneratedProgram</StartupObject>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>

<AllowUnsafeBlocks>True</AllowUnsafeBlocks>

Expand Down
3 changes: 2 additions & 1 deletion ILSpy.Tests/Workaround4564.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// https://github.com/nunit/nunit/issues/4564

[assembly: System.Runtime.Versioning.SupportedOSPlatform("Windows10")]
[assembly: System.Runtime.Versioning.SupportedOSPlatform("Windows10")]
[assembly: System.Runtime.Versioning.TargetPlatform("Windows10")]

0 comments on commit 3983187

Please sign in to comment.