dump sdk version to net10.0
This commit is contained in:
parent
39ff100eab
commit
2bca9df2a6
3 changed files with 6 additions and 6 deletions
|
|
@ -55,7 +55,7 @@ sudo systemctl enable isnd
|
||||||
|
|
||||||
````bash
|
````bash
|
||||||
sudo mkdir /usr/local/lib/isn
|
sudo mkdir /usr/local/lib/isn
|
||||||
sudo cp -a src/isn/bin/Release/net7.0/* /usr/local/lib/isn
|
sudo cp -a src/isn/bin/Release/net10.0/* /usr/local/lib/isn
|
||||||
sudo chown -R root:root /usr/local/lib/isn
|
sudo chown -R root:root /usr/local/lib/isn
|
||||||
sudo ln -s /usr/local/lib/isn/isn /usr/local/bin/isn
|
sudo ln -s /usr/local/lib/isn/isn /usr/local/bin/isn
|
||||||
````
|
````
|
||||||
|
|
@ -66,12 +66,12 @@ sudo ln -s /usr/local/lib/isn/isn /usr/local/bin/isn
|
||||||
set -e
|
set -e
|
||||||
# compiler tout
|
# compiler tout
|
||||||
dotnet build -c Release
|
dotnet build -c Release
|
||||||
dotnet publish -c Release -f net7.0 src/isnd
|
dotnet publish -c Release -f net10.0 src/isnd
|
||||||
# MAJ du serveur
|
# MAJ du serveur
|
||||||
sudo systemctl stop isnd
|
sudo systemctl stop isnd
|
||||||
sudo cp -a src/isnd/bin/Release/net7.0/publish/* /srv/www/isnd
|
sudo cp -a src/isnd/bin/Release/net10.0/publish/* /srv/www/isnd
|
||||||
sudo systemctl start isnd
|
sudo systemctl start isnd
|
||||||
# MAJ du client
|
# MAJ du client
|
||||||
sudo cp -a src/isn/bin/Release/net7.0/* /usr/local/lib/isn
|
sudo cp -a src/isn/bin/Release/net10.0/* /usr/local/lib/isn
|
||||||
sudo chown -R root.root /usr/local/lib/isn
|
sudo chown -R root.root /usr/local/lib/isn
|
||||||
````
|
````
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<Project>
|
<Project>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>net10.0</TargetFrameworks>
|
<TargetFramework>net10.0</TargetFramework>
|
||||||
<IsPackable>true</IsPackable>
|
<IsPackable>true</IsPackable>
|
||||||
<PackageLicenseExpression>WTFPL</PackageLicenseExpression>
|
<PackageLicenseExpression>WTFPL</PackageLicenseExpression>
|
||||||
<Version>1.0.8</Version>
|
<Version>1.0.8</Version>
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>net7.0</TargetFramework>
|
<TargetFramework>net10.0</TargetFramework>
|
||||||
<RootNamespace>test_isn</RootNamespace>
|
<RootNamespace>test_isn</RootNamespace>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue