Skip to content

Commit

Permalink
Added targetframeworks for restoring
Browse files Browse the repository at this point in the history
  • Loading branch information
slxdy committed Nov 19, 2024
1 parent d14ea39 commit 0b4ff24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<Project>
<PropertyGroup>
<Version>4.1.0</Version>
<TargetFrameworks>net9.0;net9.0-windows</TargetFrameworks>
<TargetFramework Condition="'$(RuntimeIdentifier.StartsWith(`win-`))' != 'true'">net9.0</TargetFramework>
<TargetFramework Condition="'$(RuntimeIdentifier.StartsWith(`win-`))' == 'true'">net9.0-windows</TargetFramework>

<!-- Sets the default identifiers. They can be overridden -->
<RuntimeIdentifier Condition="'$([MSBuild]::IsOSUnixLike())' == 'false'">win-x64</RuntimeIdentifier>
Expand Down
2 changes: 0 additions & 2 deletions MelonLoader.Installer/MelonLoader.Installer.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework Condition="'$(RuntimeIdentifier.StartsWith(`win-`))' != 'true'">net9.0</TargetFramework>
<TargetFramework Condition="'$(RuntimeIdentifier.StartsWith(`win-`))' == 'true'">net9.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
Expand Down

0 comments on commit 0b4ff24

Please sign in to comment.