File tree Expand file tree Collapse file tree 4 files changed +9
-6
lines changed
Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1- <Project Sdk =" Microsoft.NET.Sdk" >
1+ <Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <Version >2.0.0 </Version >
3+ <Version >2.0.1 </Version >
44 <TargetFramework >net5.0</TargetFramework >
55 <Nullable >enable</Nullable >
66 <LangVersion >latest</LangVersion >
Original file line number Diff line number Diff line change 1- <Project Sdk =" Microsoft.NET.Sdk" >
1+ <Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <Version >2.0.0 </Version >
3+ <Version >2.0.1 </Version >
44 <OutputType >Exe</OutputType >
55 <TargetFramework >net5.0</TargetFramework >
66 </PropertyGroup >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <Version >2.0.0 </Version >
3+ <Version >2.0.1 </Version >
44 <OutputType >WinExe</OutputType >
55 <TargetFramework >net5.0-windows</TargetFramework >
66 <UseWPF >true</UseWPF >
Original file line number Diff line number Diff line change @@ -2,10 +2,13 @@ param([Parameter(Mandatory)] $version);
22
33# Requires the dotnet-setversion tool installed:
44# dotnet tool install -g dotnet-setversion
5+ setversion $version ../ JavaToCSharp/ JavaToCSharp.csproj
56setversion $version ../ JavaToCSharpCli/ JavaToCSharpCli.csproj
67setversion $version ../ JavaToCSharpGui/ JavaToCSharpGui.csproj
78
89dotnet publish ../ JavaToCSharpGui/ JavaToCSharpGui.csproj - c Release - r win10- x64 -- self- contained true - o ../ publish/ gui/
910dotnet publish ../ JavaToCSharpCli/ JavaToCSharpCli.csproj - c Release - r win10- x64 -- self- contained true - o ../ publish/ cli/
1011
11- Compress-Archive @ (" ../publish/gui/" , " ../publish/cli/" ) - DestinationPath ../ publish/ JavaToCSharp- $version.zip
12+ Compress-Archive @ (" ../publish/gui/" , " ../publish/cli/" ) - DestinationPath ../ publish/ JavaToCSharp- $version.zip - Force
13+
14+ dotnet pack ../ JavaToCSharp/ JavaToCSharp.csproj - c Release
You can’t perform that action at this time.
0 commit comments