Skip to content

Commit

Permalink
Merge pull request #6 from hmlendea/net5
Browse files Browse the repository at this point in the history
Upgrade to .NET 5.0
  • Loading branch information
hmlendea authored May 2, 2021
2 parents 9a6d38d + c2950ab commit 6364461
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion CKCulturalNamesManager.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net5.0</TargetFramework>
<RootNamespace>CKCulturalNamesManager</RootNamespace>
</PropertyGroup>

Expand Down
12 changes: 0 additions & 12 deletions package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,7 @@ function dotnet-pub {
dotnet publish -c Release -r "$ARCH" -o "$OUTPUT_DIR" --self-contained=true /p:TrimUnusedDependencies=true /p:LinkDuringPublish=true
}

function prepare {
echo "Adding the temporary NuGet packages"
dotnet add package Microsoft.Packaging.Tools.Trimming --version 1.1.0-preview1-26619-01
#dotnet add package ILLink.Tasks --version 0.1.5-preview-1841731 --source https://dotnet.myget.org/F/dotnet-core/api/v3/index.json
}

function cleanup {
echo "Removing the temporary NuGet packages"
dotnet remove package Microsoft.Packaging.Tools.Trimming
#dotnet remove package ILLink.Task

echo "Cleaning build output"
rm -rf "$PUBLISH_DIR"
}
Expand All @@ -56,8 +46,6 @@ function build-release {
package $1
}

prepare

build-release linux-arm
build-release linux-arm64
build-release linux-x64
Expand Down

0 comments on commit 6364461

Please sign in to comment.