Skip to content

Commit

Permalink
Updated to NET6 and AOT
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronny Hansen committed Nov 12, 2021
1 parent 8ff91ce commit 121f486
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
16 changes: 15 additions & 1 deletion S8Blazor/S8Blazor.csproj
Original file line number Diff line number Diff line change
@@ -1,30 +1,40 @@
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">

<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<RunAOTCompilation>true</RunAOTCompilation>
<Platforms>AnyCPU;x86</Platforms>
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DefineConstants>TRACE;_EXPERIMENTAL_</DefineConstants>
<RunAOTCompilation>True</RunAOTCompilation>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
<DefineConstants>TRACE;_EXPERIMENTAL_</DefineConstants>
<RunAOTCompilation>True</RunAOTCompilation>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DefineConstants>TRACE;_EXPERIMENTAL_</DefineConstants>
<RunAOTCompilation>True</RunAOTCompilation>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
<DefineConstants>TRACE;_EXPERIMENTAL_</DefineConstants>
<RunAOTCompilation>True</RunAOTCompilation>
</PropertyGroup>

<ItemGroup>
<None Remove="downloadHelper.ts" />
</ItemGroup>

<ItemGroup>
<TypeScriptCompile Remove="TypeScript\downloadHelper.ts" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Blazored.Modal" Version="6.0.1" />
<PackageReference Include="BlazorMonaco" Version="2.1.0" />
Expand All @@ -45,4 +55,8 @@
<Folder Include="wwwroot\script\" />
</ItemGroup>

<ItemGroup>
<None Include="TypeScript\downloadHelper.ts" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion S8Console/S8Console.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<Platforms>AnyCPU;x86</Platforms>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion S8Engine/S8Engine.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>S8Debugger</RootNamespace>
<AssemblyName>S8Debugger</AssemblyName>
<Authors>Ronny Hansen</Authors>
Expand Down

0 comments on commit 121f486

Please sign in to comment.