Skip to content

Commit

Permalink
Update to .net8
Browse files Browse the repository at this point in the history
  • Loading branch information
snixtho committed Jun 5, 2024
1 parent b924a9d commit 6f503eb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
10 changes: 5 additions & 5 deletions EvoSC.Tool/EvoSC.Tool.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>
<PackAsTool>true</PackAsTool>
Expand All @@ -13,10 +13,10 @@


<ItemGroup>
<PackageReference Include="Microsoft.Build" Version="17.7.2" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
<PackageReference Include="Spectre.Console" Version="0.47.1-preview.0.26" />
<PackageReference Include="System.CodeDom" Version="7.0.0" />
<PackageReference Include="Microsoft.Build" Version="17.10.4" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
<PackageReference Include="Spectre.Console" Version="0.49.1" />
<PackageReference Include="System.CodeDom" Version="8.0.0" />
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
<PackageReference Include="System.CommandLine.NamingConventionBinder" Version="2.0.0-beta4.22272.1" />
<PackageReference Include="System.CommandLine.Parser" Version="0.1.1" />
Expand Down
4 changes: 1 addition & 3 deletions EvoSC.Tool/Utils/Templates/MainModuleClassTemplate.tt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@ using EvoSC.Modules.Attributes;
namespace EvoSC.Modules.<#=(IsInternal ? "Official" : Author)#>.<#=ModuleName#>;

[Module<#=(IsInternal ? "(IsInternal = true)" : "") #>]
public class <#=ModuleName #> : EvoScModule
{
}
public class <#=ModuleName #> : EvoScModule;
2 changes: 1 addition & 1 deletion EvoSC.Tool/Utils/Templates/ProjectFileTemplate.tt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<#@ template language="C#" #>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RootNamespace>EvoSC.Modules.<#=(IsInternal ? "Official" : ModuleAuthor)#>.<#=ModuleName#></RootNamespace>
Expand Down

0 comments on commit 6f503eb

Please sign in to comment.