Skip to content

Commit

Permalink
Add .NET 8.0 as Target Framework (#178)
Browse files Browse the repository at this point in the history
* Update .NET SDK version in global.json to 8.0.400

* Add `net8.0.0` target framework to project files

* Update System.IO.Packaging to version 8.0.1
  • Loading branch information
albertospelta authored Nov 12, 2024
1 parent 50a042e commit 4ea1b10
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 8 deletions.
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "8.0.300",
"version": "8.0.400",
"allowPrerelease": false,
"rollForward": "latestFeature"
}
Expand Down
5 changes: 4 additions & 1 deletion src/Dax.Metadata/Dax.Metadata.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net472;netstandard2.0;net6.0</TargetFrameworks>
<TargetFrameworks>net472;netstandard2.0;net6.0;net8.0</TargetFrameworks>
</PropertyGroup>

<PropertyGroup>
Expand Down Expand Up @@ -30,5 +30,8 @@
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0'">
<AssemblyTitle>Dax.Metadata .NET 6.0</AssemblyTitle>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net8.0'">
<AssemblyTitle>Dax.Metadata .NET 8.0</AssemblyTitle>
</PropertyGroup>

</Project>
5 changes: 4 additions & 1 deletion src/Dax.Model.Extractor/Dax.Model.Extractor.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net472;net6.0</TargetFrameworks>
<TargetFrameworks>net472;net6.0;net8.0</TargetFrameworks>
</PropertyGroup>

<PropertyGroup>
Expand Down Expand Up @@ -32,5 +32,8 @@
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0'">
<AssemblyTitle>Dax.Model.Extractor .NET 6.0</AssemblyTitle>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net8.0'">
<AssemblyTitle>Dax.Model.Extractor .NET 8.0</AssemblyTitle>
</PropertyGroup>

</Project>
5 changes: 4 additions & 1 deletion src/Dax.ViewModel/Dax.ViewModel.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net472;netstandard2.0;net6.0</TargetFrameworks>
<TargetFrameworks>net472;netstandard2.0;net6.0;net8.0</TargetFrameworks>
</PropertyGroup>

<PropertyGroup>
Expand Down Expand Up @@ -30,5 +30,8 @@
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0'">
<AssemblyTitle>Dax.ViewModel .NET 6.0</AssemblyTitle>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net8.0'">
<AssemblyTitle>Dax.ViewModel .NET 8.0</AssemblyTitle>
</PropertyGroup>

</Project>
5 changes: 4 additions & 1 deletion src/Dax.ViewVpaExport/Dax.ViewVpaExport.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net472;netstandard2.0;net6.0</TargetFrameworks>
<TargetFrameworks>net472;netstandard2.0;net6.0;net8.0</TargetFrameworks>
</PropertyGroup>

<PropertyGroup>
Expand Down Expand Up @@ -34,5 +34,8 @@
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0'">
<AssemblyTitle>Dax.ViewVpaExport .NET 6.0</AssemblyTitle>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net8.0'">
<AssemblyTitle>Dax.ViewVpaExport .NET 8.0</AssemblyTitle>
</PropertyGroup>

</Project>
5 changes: 4 additions & 1 deletion src/Dax.Vpax/Dax.Vpax.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net472;net6.0</TargetFrameworks>
<TargetFrameworks>net472;net6.0;net8.0</TargetFrameworks>
</PropertyGroup>

<PropertyGroup>
Expand Down Expand Up @@ -34,5 +34,8 @@
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0'">
<AssemblyTitle>Dax.Vpax .NET 6.0</AssemblyTitle>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net8.0'">
<AssemblyTitle>Dax.Vpax .NET 8.0</AssemblyTitle>
</PropertyGroup>

</Project>
2 changes: 1 addition & 1 deletion src/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<PackageVersion Include="Microsoft.AnalysisServices" Version="19.86.6" />
<PackageVersion Include="Microsoft.AnalysisServices.AdomdClient" Version="19.86.6" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
<PackageVersion Include="System.IO.Packaging" Version="6.0.1" />
<PackageVersion Include="System.IO.Packaging" Version="8.0.1" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion tests/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>

<PropertyGroup>
<TargetFrameworks>net472;net6.0</TargetFrameworks>
<TargetFrameworks>net472;net6.0;net8.0</TargetFrameworks>
<Nullable>disable</Nullable>
<LangVersion>12.0</LangVersion>
</PropertyGroup>
Expand Down

0 comments on commit 4ea1b10

Please sign in to comment.