2 Commits

Author SHA1 Message Date
46c1a78e3f Dotnet 7, publish scripts 2022-11-02 12:03:54 +01:00
fb381e56c5 DevContainer 2022-11-02 12:02:24 +01:00
8 changed files with 11 additions and 5 deletions

View File

@@ -1,3 +1,3 @@
{ {
"image": "mcr.microsoft.com/dotnet/sdk:7.0" "image": "mcr.microsoft.com/dotnet/sdk:7.0-alpine"
} }

2
publish-alpine.sh Executable file
View 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
View 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
View File

@@ -0,0 +1,2 @@
dotnet publish src/Alma/Alma.csproj -c Release -r win-x64 -p:PublishAot=true

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<RootNamespace>Alma</RootNamespace> <RootNamespace>Alma</RootNamespace>

View File

@@ -6,7 +6,7 @@
</ItemGroup> </ItemGroup>
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<RootNamespace>Alma</RootNamespace> <RootNamespace>Alma</RootNamespace>

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
</PropertyGroup> </PropertyGroup>

View File

@@ -11,7 +11,7 @@
<PropertyGroup> <PropertyGroup>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
</PropertyGroup> </PropertyGroup>