Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update StabilityMatrix.Native.csproj
In the .csproj file, the expression of $([System.Runtime.InteropServices.RuntimeInformation]...) is not a directly supported MSBuild expression. MSBuild does not support calling runtime APIs directly in <PropertyGroup>. This results in the inability to directly debug or run the StabilityMatrix.Avalonia project after opening the project with VisualStudio. Should be replaced by a RuntimeIdentifier based condition, for example: <PropertyGroup Condition="'$(RuntimeIdentifier)' == 'win-x64'"> <IsWindows>true</IsWindows> </PropertyGroup> <PropertyGroup Condition="'$(RuntimeIdentifier)' == 'osx-x64' Or '$(RuntimeIdentifier)' == 'osx-arm64'"> <IsOSX>true</IsOSX> </PropertyGroup> <PropertyGroup Condition="'$(RuntimeIdentifier)' == 'linux-x64'"> <IsLinux>true</IsLinux> </PropertyGroup>
- Loading branch information