Skip to content

Commit

Permalink
II 2.0.2 Release: .NET 6.0
Browse files Browse the repository at this point in the history
- II Avalonia now targeting .NET 6.0
- II Dev Tools Publishing Utility building from .NET 6.0 packages
  • Loading branch information
tanjera committed May 12, 2022
1 parent 5ad2ec6 commit c11d471
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
6 changes: 3 additions & 3 deletions II Avalonia/II Avalonia.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<StartupObject>II_Avalonia.Program</StartupObject>
<SignAssembly>false</SignAssembly>
<AssemblyName>Infirmary Integrated</AssemblyName>
<Copyright>© 2017-2021, Ibi Keller</Copyright>
<Copyright>© 2017-2022, Ibi Keller</Copyright>
<Authors>Ibi Keller</Authors>
<Version>2.0.1</Version>
<Version>2.0.2</Version>
<Company>Infirmary Integrated</Company>
<PackageLicenseFile>License.md</PackageLicenseFile>
<PackageProjectUrl>https://www.infirmary-integrated.com/</PackageProjectUrl>
Expand Down
2 changes: 1 addition & 1 deletion II Development Tools/Publishing Utility/Building.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public static void Pack (Program.Variables progVar, string dirBin, string dirRel
Process proc = new Process ();
string arguments = "";

string dirBuild = Path.Combine (new string[] { dirBin, "Release", "net5.0", release });
string dirBuild = Path.Combine (new string[] { dirBin, "Release", progVar.versionDotnet, release });
string dirPublish = Path.Combine (dirBuild, "publish");
string dirII = Path.Combine (dirBuild, "Infirmary Integrated");

Expand Down
3 changes: 3 additions & 0 deletions II Development Tools/Publishing Utility/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,16 @@ public class Program {
// Parameters to be set for runtime environment

public class Variables {
public string versionDotnet;
public string pathDotnet;
public string pathTar;
public string pathSigntool;
public string pathCert;
public string dirSolution;

public Variables() {
versionDotnet = "net6.0";

if (OperatingSystem.IsWindows()) {
pathDotnet = @"C:\Program Files\dotnet\dotnet.exe";
pathTar = @"C:\Windows\System32\tar.exe";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>Publishing</RootNamespace>
<StartupObject>Publishing.Program</StartupObject>
<AssemblyName>Publishing Utility</AssemblyName>
Expand Down

0 comments on commit c11d471

Please sign in to comment.