Skip to content

Commit

Permalink
Absolute minimum for net9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveGilham committed Nov 13, 2024
1 parent 34e2ebd commit 6dba794
Show file tree
Hide file tree
Showing 19 changed files with 141 additions and 138 deletions.
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"dotnet-reportgenerator-globaltool": {
"version": "5.3.11",
"version": "5.4.0",
"commands": [
"reportgenerator"
],
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.100-rc.2.24474.11'
dotnet-version: '9.0.100'
- name: Tools
run: dotnet tool restore
- name: Setup
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.100-rc.2.24474.11'
dotnet-version: '9.0.100'
- name: Tools
run: dotnet tool restore
- name: Setup
Expand Down
2 changes: 1 addition & 1 deletion AltCover.Avalonia/AltCover.Avalonia.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>AltCover.Visualizer</RootNamespace>
<AssemblyName>AltCover.Visualizer</AssemblyName>
<PackAsTool>True</PackAsTool>
Expand Down
6 changes: 3 additions & 3 deletions AltCover.Avalonia/AltCover.Avalonia11.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>AltCover.Visualizer</RootNamespace>
<AssemblyName>AltCover.Visualizer</AssemblyName>
<PackAsTool>True</PackAsTool>
Expand All @@ -28,10 +28,10 @@
<AvaloniaResource Include="AltCover.App11.xaml">
<LogicalName>AltCover.App.xaml</LogicalName>
</AvaloniaResource>

<AvaloniaResource Include="AltCover.AboutBox.xaml">
<LogicalName>AltCover.AboutBox.xaml</LogicalName>
</AvaloniaResource>
</AvaloniaResource>
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion AltCover.Cake/AltCover.Cake.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net7.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<RootNamespace>AltCover.Cake</RootNamespace>
<AssemblyName>AltCover.Cake</AssemblyName>
Expand Down
2 changes: 1 addition & 1 deletion AltCover.Engine/Main.fs
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ module internal Main =
Assembly.GetExecutingAssembly().Location
|> Path.GetDirectoryName

[ "../net7.0"
[ "../net8.0"
"../netstandard2.0"
"../any" ]
|> Seq.map (fun d ->
Expand Down
2 changes: 1 addition & 1 deletion AltCover.Tests/Tests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -5997,7 +5997,7 @@ module AltCoverTests =
let path =
Path.Combine(
SolutionDir(),
"_Binaries/AltCover/Debug+AnyCPU/net7.0/AltCover.Engine.dll"
"_Binaries/AltCover/Debug+AnyCPU/net8.0/AltCover.Engine.dll"
)

Visitor.visit
Expand Down
2 changes: 1 addition & 1 deletion AltCover.ValidateGendarmeEmulation/Tests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module ValidateGendarmeEmulation =
let path =
Path.Combine(
SolutionRoot.location,
"_Binaries/AltCover/Debug+AnyCPU/net7.0/AltCover.Engine.dll"
"_Binaries/AltCover/Debug+AnyCPU/net8.0/AltCover.Engine.dll"
)

let def =
Expand Down
4 changes: 2 additions & 2 deletions AltCover.Visualizer/AltCover.Visualizer3.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>AltCover.Visualizer</RootNamespace>
<AssemblyName>AltCover.Visualizer</AssemblyName>
<PackAsTool>True</PackAsTool>
Expand All @@ -29,7 +29,7 @@
<None Include="Prepare.ps1" />
<Compile Include="..\_Generated\VisibleToTest.fs" Link="VisibleToTest.fs" />
<Compile Include="..\_Generated\AssemblyVersion.fs" Link="AssemblyVersion.fs" />
<EmbeddedResource Include="Visualizer3.glade"/>
<EmbeddedResource Include="Visualizer3.glade" />
<Compile Include="AssemblyInfo.fs" />
<Compile Include="Browser.fs" />
<Compile Include="Persistence.fs" />
Expand Down
10 changes: 5 additions & 5 deletions AltCover/AltCover.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks Condition="'$(Configuration)'=='Debug'">net7.0;netstandard2.0;net472</TargetFrameworks>
<TargetFrameworks Condition="'$(Configuration)'!='Debug'">net7.0;net472</TargetFrameworks>
<ToolCommandName Condition="'$(TargetFramework)' == 'net7.0'">altcover</ToolCommandName>
<PackAsTool Condition="'$(TargetFramework)' == 'net7.0'">True</PackAsTool>
<TargetFrameworks Condition="'$(Configuration)'=='Debug'">net8.0;netstandard2.0;net472</TargetFrameworks>
<TargetFrameworks Condition="'$(Configuration)'!='Debug'">net8.0;net472</TargetFrameworks>
<ToolCommandName Condition="'$(TargetFramework)' == 'net8.0'">altcover</ToolCommandName>
<PackAsTool Condition="'$(TargetFramework)' == 'net8.0'">True</PackAsTool>
<RootNamespace>AltCover</RootNamespace>
<AssemblyName>AltCover</AssemblyName>
<ApplicationIcon>AltCover.ico</ApplicationIcon>
Expand All @@ -25,7 +25,7 @@
<DefineConstants Condition="'$(TargetFramework)' != 'net472'">TRACE;GLOBALTOOL</DefineConstants>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net7.0'">
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<None Include="DotnetToolSettings.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
Expand Down
2 changes: 1 addition & 1 deletion Build/DriveApi.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<PackageReference Include="AltCover.Fake" VersionOverride="8.6.14" />
<PackageReference Include="Fake.Core.Target" />
<PackageReference Include="Fake.DotNet.Cli" />
<PackageReference Include="System.Collections.Immutable" VersionOverride="8.0.0" />
<PackageReference Include="System.Collections.Immutable" VersionOverride="9.0.0" />
<PackageReference Include="Unquote" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion Build/merge-coverage.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Import-Module "./_Packaging/Unpack/tools/net7.0/AltCover.PowerShell.dll"
Import-Module "./_Packaging/Unpack/tools/net8.0/AltCover.PowerShell.dll"


$files = ("_Reports/UnitTestWithAltCoverCoreRunner.xml",
Expand Down
4 changes: 2 additions & 2 deletions Build/msbuildtest.proj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<UsingTask TaskName="AltCover.Prepare"
AssemblyFile="$(MSBuildThisFileDirectory)../_Packaging/Unpack/tools/net7.0/AltCover.Engine.dll" />
AssemblyFile="$(MSBuildThisFileDirectory)../_Packaging/Unpack/tools/net8.0/AltCover.Engine.dll" />
<UsingTask TaskName="AltCover.Collect"
AssemblyFile="$(MSBuildThisFileDirectory)../_Packaging/Unpack/tools/net7.0/AltCover.Engine.dll" />
AssemblyFile="$(MSBuildThisFileDirectory)../_Packaging/Unpack/tools/net8.0/AltCover.Engine.dll" />

<ItemGroup>
<CallContext Include="0" />
Expand Down
Loading

0 comments on commit 6dba794

Please sign in to comment.