Skip to content

Commit

Permalink
Replace .NET Framework 4.0 target with 4.5.2 (Thanks, VS 2022!)
Browse files Browse the repository at this point in the history
  • Loading branch information
0x0ade committed Oct 11, 2021
1 parent c5252c1 commit 6b81496
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion MonoMod.Common
2 changes: 1 addition & 1 deletion MonoMod.DebugIL/MonoMod.DebugIL.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<Description></Description>
<PackageTags>$(PackageTags)</PackageTags>

<TargetFrameworks>net40;netstandard2.0;netcoreapp2.1</TargetFrameworks>
<TargetFrameworks>net452;netstandard2.0;netcoreapp2.1</TargetFrameworks>
<TargetFrameworks Condition="$(MSBuildVersion) &gt;= 16.6.0 And $(NETCoreAppMaximumVersion) &gt;= 5.0">$(TargetFrameworks);net5.0</TargetFrameworks>
<OutputType>Exe</OutputType>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<Description>Auto-generate hook helper .dlls, hook arbitrary methods via events: On.Namespace.Type.Method += YourHandlerHere;</Description>
<PackageTags>RuntimeDetour;detour;detours;$(PackageTags)</PackageTags>

<TargetFrameworks>net35;net40;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net35;net452;netstandard2.0</TargetFrameworks>
<TargetFrameworks Condition="$(MSBuildVersion) &gt;= 16.6.0 And $(NETCoreAppMaximumVersion) &gt;= 5.0">$(TargetFrameworks);net5.0</TargetFrameworks>
<OutputType>Exe</OutputType>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion MonoMod.RuntimeDetour/MonoMod.RuntimeDetour.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<Description>Flexible and easily extensible runtime detouring library. Wrap, replace and manipulate (Mono.Cecil) methods at runtime.</Description>
<PackageTags>RuntimeDetour;detour;detours;$(PackageTags)</PackageTags>

<TargetFrameworks>net35;net40;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net35;net452;netstandard2.0</TargetFrameworks>
<TargetFrameworks Condition="$(MSBuildVersion) &gt;= 16.6.0 And $(NETCoreAppMaximumVersion) &gt;= 5.0">$(TargetFrameworks);net5.0</TargetFrameworks>
<OutputType>Library</OutputType>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion MonoMod.Utils/MonoMod.Utils.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<Description>Utilities and smaller MonoMod "components" (f.e. ModInterop, DynDll, DynData). Can be used for your own mods. Required by all other MonoMod components.</Description>
<PackageTags>$(PackageTags)</PackageTags>

<TargetFrameworks>net35;net40;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net35;net452;netstandard2.0</TargetFrameworks>
<TargetFrameworks Condition="$(MSBuildVersion) &gt;= 16.6.0 And $(NETCoreAppMaximumVersion) &gt;= 5.0">$(TargetFrameworks);net5.0</TargetFrameworks>
<Configurations>Debug;Release;DebugLegacy;ReleaseLegacy;DebugTrace;ReleaseTrace</Configurations>
<OutputType>Library</OutputType>
Expand Down
2 changes: 1 addition & 1 deletion MonoMod/MonoMod.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<Description>General purpose .NET assembly modding "basework". This package contains the core IL patcher and relinker.</Description>
<PackageTags>$(PackageTags)</PackageTags>

<TargetFrameworks>net35;net40;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net35;net452;netstandard2.0</TargetFrameworks>
<TargetFrameworks Condition="$(MSBuildVersion) &gt;= 16.6.0 And $(NETCoreAppMaximumVersion) &gt;= 5.0">$(TargetFrameworks);net5.0</TargetFrameworks>
<OutputType>Exe</OutputType>
</PropertyGroup>
Expand Down

0 comments on commit 6b81496

Please sign in to comment.