Skip to content

Commit

Permalink
Update to .net 8.0 (#942)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbevain authored May 20, 2024
1 parent 56d4409 commit a840bdb
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)\cecil.snk</AssemblyOriginatorKeyFile>
<DefineConstants Condition=" '$(TargetFramework)' == 'netstandard2.0' OR '$(TargetFramework)' == 'netcoreapp3.1' ">$(DefineConstants);NET_CORE</DefineConstants>
<DefineConstants Condition=" '$(TargetFramework)' == 'netstandard2.0' OR '$(TargetFramework)' == 'net8.0' ">$(DefineConstants);NET_CORE</DefineConstants>
<RootNamespace></RootNamespace>
</PropertyGroup>
<PropertyGroup Condition=" '$(TargetFramework)' == 'net40' ">
Expand Down
6 changes: 3 additions & 3 deletions Mono.Cecil.Tests.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NUnit">
<Version>3.11.0</Version>
<Version>3.14.0</Version>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk">
<Version>15.9.0</Version>
<Version>17.9.0</Version>
</PackageReference>
<PackageReference Include="NUnit3TestAdapter">
<Version>3.12.0</Version>
<Version>4.5.0</Version>
</PackageReference>
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions Test/Mono.Cecil.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="Current">
<Import Project="..\Mono.Cecil.Tests.props" />
<PropertyGroup>
<TargetFrameworks>netcoreapp3.1;net40</TargetFrameworks>
<TargetFrameworks>net8.0;net40</TargetFrameworks>
</PropertyGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' ">
<ItemGroup Condition=" '$(TargetFramework)' == 'net8.0' ">
<PackageReference Include="Microsoft.CodeAnalysis.CSharp">
<Version>2.10.0</Version>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion rocks/Test/Mono.Cecil.Rocks.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="Current">
<Import Project="..\..\Mono.Cecil.Tests.props" />
<PropertyGroup>
<TargetFrameworks>netcoreapp3.1;net40</TargetFrameworks>
<TargetFrameworks>net8.0;net40</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\Mono.Cecil.csproj">
Expand Down
2 changes: 1 addition & 1 deletion symbols/mdb/Test/Mono.Cecil.Mdb.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="Current">
<Import Project="..\..\..\Mono.Cecil.Tests.props" />
<PropertyGroup>
<TargetFrameworks>netcoreapp3.1;net40</TargetFrameworks>
<TargetFrameworks>net8.0;net40</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\Mono.Cecil.csproj">
Expand Down
2 changes: 1 addition & 1 deletion symbols/pdb/Test/Mono.Cecil.Pdb.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="Current">
<Import Project="..\..\..\Mono.Cecil.Tests.props" />
<PropertyGroup>
<TargetFrameworks>netcoreapp3.1;net40</TargetFrameworks>
<TargetFrameworks>net8.0;net40</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\Mono.Cecil.csproj">
Expand Down

0 comments on commit a840bdb

Please sign in to comment.