diff --git a/ElectronNET.CLI/Commands/BuildCommand.cs b/ElectronNET.CLI/Commands/BuildCommand.cs index d017b3d5..94b8e0ad 100644 --- a/ElectronNET.CLI/Commands/BuildCommand.cs +++ b/ElectronNET.CLI/Commands/BuildCommand.cs @@ -31,11 +31,11 @@ public Task ExecuteAsync() SimpleCommandLineParser parser = new SimpleCommandLineParser(); parser.Parse(_args); - var desiredPlatform = parser.Arguments["/target"][0]; + var desiredPlatform = parser.Arguments["target"][0]; string specifiedFromCustom = string.Empty; - if (desiredPlatform == "custom" && parser.Arguments["/target"].Length > 1) + if (desiredPlatform == "custom" && parser.Arguments["target"].Length > 1) { - specifiedFromCustom = parser.Arguments["/target"][1]; + specifiedFromCustom = parser.Arguments["target"][1]; } var platformInfo = GetTargetPlatformInformation.Do(desiredPlatform, specifiedFromCustom); diff --git a/ElectronNET.sln b/ElectronNET.sln index ce70b615..9ca181a9 100644 --- a/ElectronNET.sln +++ b/ElectronNET.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 -VisualStudioVersion = 15.0.27004.2002 +VisualStudioVersion = 15.0.27130.2024 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ElectronNET.WebApp", "ElectronNET.WebApp\ElectronNET.WebApp.csproj", "{7C048379-401C-4345-B5E7-BE232DEA8157}" EndProject @@ -32,6 +32,8 @@ Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "ElectronNET.Host", "Electro EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{2914CCF7-27C2-42AE-849A-2F0C1BC7CDFA}" ProjectSection(SolutionItems) = preProject + buildAll.cmd = buildAll.cmd + buildAll.sh = buildAll.sh buildReleaseNuGetPackages.cmd = buildReleaseNuGetPackages.cmd EndProjectSection EndProject