Skip to content

Commit

Permalink
Update to .NET 8 (#551)
Browse files Browse the repository at this point in the history
Co-authored-by: HenningNT <[email protected]>
Co-authored-by: mclift <[email protected]>
Co-authored-by: Artur Karbone <[email protected]>
  • Loading branch information
4 people authored Dec 11, 2023
1 parent a9a6b3e commit 0cf124d
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion example/AlarmExample/AlarmExample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion example/BugTrackerExample/BugTrackerExample.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>BugTrackerExample</AssemblyName>
<OutputType>Exe</OutputType>
<PackageId>BugTrackerExample</PackageId>
Expand Down
2 changes: 1 addition & 1 deletion example/JsonExample/JsonExample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

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

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>OnOffExample</AssemblyName>
<OutputType>Exe</OutputType>
<PackageId>OnOffExample</PackageId>
Expand Down
2 changes: 1 addition & 1 deletion example/TelephoneCallExample/TelephoneCallExample.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>TelephoneCallExample</AssemblyName>
<OutputType>Exe</OutputType>
<PackageId>TelephoneCallExample</PackageId>
Expand Down
6 changes: 3 additions & 3 deletions src/Stateless/Stateless.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<AssemblyName>Stateless</AssemblyName>
<AssemblyTitle>Stateless</AssemblyTitle>
<Product>Stateless</Product>
<TargetFrameworks>netstandard2.0;net462;net6.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net462;net8.0;</TargetFrameworks>
<Description>Create state machines and lightweight state machine-based workflows directly in .NET code</Description>
<Copyright>Copyright © Stateless Contributors 2009-$([System.DateTime]::Now.ToString(yyyy))</Copyright>
<NeutralLanguage>en-US</NeutralLanguage>
Expand Down Expand Up @@ -37,10 +37,10 @@
</PropertyGroup>

<ItemGroup>
<None Include="..\..\asset\Stateless.png" Pack="true" PackagePath="\"/>
<None Include="..\..\asset\Stateless.png" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup Label="SourceLink">
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion test/Stateless.Tests/Stateless.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<DefineConstants>$(DefineConstants);TASKS</DefineConstants>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<IsPackable>false</IsPackable>
<AssemblyName>Stateless.Tests</AssemblyName>
<AssemblyOriginatorKeyFile>../../asset/Stateless.snk</AssemblyOriginatorKeyFile>
Expand Down

0 comments on commit 0cf124d

Please sign in to comment.