Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove TargetsAnyOS.
Co-authored-by: Viktor Hofer <[email protected]>
  • Loading branch information
teo-tsirpanis and ViktorHofer authored Apr 19, 2022
commit df7a067003b8419f0bd5489bc25e90814e417106
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ Since .NET 7, non-Windows platforms are not supported, even with the runtime con
<LogicalName>System.Drawing.ShieldIcon.ico</LogicalName>
</EmbeddedResource>
</ItemGroup>
<ItemGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net7.0')) and '$(TargetsAnyOS)' != 'true'">
<ItemGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net7.0-windows'))">
<Compile Include="$(CommonPath)DisableRuntimeMarshalling.cs"
Link="Common\DisableRuntimeMarshalling.cs" />
<Compile Include="$(CommonPath)System\Runtime\InteropServices\HandleRefMarshaller.cs"
Expand Down