Dotnet 7, publish scripts
This commit is contained in:
2
publish-alpine.sh
Executable file
2
publish-alpine.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
dotnet publish src/Alma/Alma.csproj -c Release -r linux-musl-x64 -p:PublishAot=true
|
||||
2
publish-linux.sh
Executable file
2
publish-linux.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
dotnet publish src/Alma/Alma.csproj -c Release -r linux-x64 -p:PublishAot=true
|
||||
2
publish-windows.cmd
Normal file
2
publish-windows.cmd
Normal file
@@ -0,0 +1,2 @@
|
||||
|
||||
dotnet publish src/Alma/Alma.csproj -c Release -r win-x64 -p:PublishAot=true
|
||||
@@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<RootNamespace>Alma</RootNamespace>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<RootNamespace>Alma</RootNamespace>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
Reference in New Issue
Block a user