mirror of https://github.com/icsharpcode/ILSpy.git
Browse Source
* Remove Installer from main solution * Split installer into separate solution that has to be run after ILSpy.sln has been built and published * Modify build action to account for new sln and correct ordering * Single-line run and release-only installer build * All publishing in ps1, better naming for publish folderspull/2993/head
8 changed files with 86 additions and 58 deletions
@ -0,0 +1,31 @@
@@ -0,0 +1,31 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00 |
||||
# Visual Studio Version 17 |
||||
VisualStudioVersion = 17.6.33723.286 |
||||
MinimumVisualStudioVersion = 10.0.40219.1 |
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ILSpy.Installer", "ILSpy.Installer\ILSpy.Installer.csproj", "{D27793B2-C3F9-4410-AAD0-E117BEDCCEB0}" |
||||
EndProject |
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ICSharpCode.Decompiler", "ICSharpCode.Decompiler\ICSharpCode.Decompiler.csproj", "{3FE7AE02-D69D-4C76-9BC0-CF700DFD09FE}" |
||||
EndProject |
||||
Global |
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution |
||||
Debug|Any CPU = Debug|Any CPU |
||||
Release|Any CPU = Release|Any CPU |
||||
EndGlobalSection |
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution |
||||
{D27793B2-C3F9-4410-AAD0-E117BEDCCEB0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
||||
{D27793B2-C3F9-4410-AAD0-E117BEDCCEB0}.Debug|Any CPU.Build.0 = Debug|Any CPU |
||||
{D27793B2-C3F9-4410-AAD0-E117BEDCCEB0}.Release|Any CPU.ActiveCfg = Release|Any CPU |
||||
{D27793B2-C3F9-4410-AAD0-E117BEDCCEB0}.Release|Any CPU.Build.0 = Release|Any CPU |
||||
{3FE7AE02-D69D-4C76-9BC0-CF700DFD09FE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
||||
{3FE7AE02-D69D-4C76-9BC0-CF700DFD09FE}.Debug|Any CPU.Build.0 = Debug|Any CPU |
||||
{3FE7AE02-D69D-4C76-9BC0-CF700DFD09FE}.Release|Any CPU.ActiveCfg = Release|Any CPU |
||||
{3FE7AE02-D69D-4C76-9BC0-CF700DFD09FE}.Release|Any CPU.Build.0 = Release|Any CPU |
||||
EndGlobalSection |
||||
GlobalSection(SolutionProperties) = preSolution |
||||
HideSolutionNode = FALSE |
||||
EndGlobalSection |
||||
GlobalSection(ExtensibilityGlobals) = postSolution |
||||
SolutionGuid = {A343F649-2CFB-4022-9133-1BA55FBCE3D1} |
||||
EndGlobalSection |
||||
EndGlobal |
@ -1,20 +0,0 @@
@@ -1,20 +0,0 @@
|
||||
{ |
||||
"solution": { |
||||
"path": "ILSpy.sln", |
||||
"projects": [ |
||||
"ICSharpCode.Decompiler.PdbProvider.Cecil\\ICSharpCode.Decompiler.PdbProvider.Cecil.csproj", |
||||
"ICSharpCode.Decompiler.TestRunner\\ICSharpCode.Decompiler.TestRunner.csproj", |
||||
"ICSharpCode.Decompiler.Tests\\ICSharpCode.Decompiler.Tests.csproj", |
||||
"ICSharpCode.Decompiler\\ICSharpCode.Decompiler.csproj", |
||||
"ICSharpCode.ILSpyX\\ICSharpCode.ILSpyX.csproj", |
||||
"ILSpy.BamlDecompiler.Tests\\ILSpy.BamlDecompiler.Tests.csproj", |
||||
"ILSpy.BamlDecompiler\\ILSpy.BamlDecompiler.csproj", |
||||
"ILSpy.ReadyToRun\\ILSpy.ReadyToRun.csproj", |
||||
"ILSpy.Tests\\ILSpy.Tests.csproj", |
||||
"ILSpy\\ILSpy.csproj", |
||||
"ILSpy.Installer\\ILSpy.Installer.csproj", |
||||
"SharpTreeView\\ICSharpCode.TreeView.csproj", |
||||
"TestPlugin\\TestPlugin.csproj" |
||||
] |
||||
} |
||||
} |
@ -0,0 +1,8 @@
@@ -0,0 +1,8 @@
|
||||
# Building the Installer |
||||
|
||||
It is mandatory to first publish(.ps1) the respective target platforms, then setup can be built, eg |
||||
|
||||
``` |
||||
msbuild ILSpy.Installer.sln /p:Configuration="Release" /p:Platform="Any CPU" |
||||
msbuild ILSpy.Installer.sln /p:Configuration="Release" /p:Platform="Any CPU" /p:DefineConstants="ARM64" |
||||
``` |
@ -0,0 +1,15 @@
@@ -0,0 +1,15 @@
|
||||
$output_arm64 = "./ILSpy/bin/Release/net6.0-windows/win-arm64/publish/fwdependent" |
||||
$output_x64 = "./ILSpy/bin/Release/net6.0-windows/win-x64/publish/fwdependent" |
||||
$output_x64_selfcontained = "./ILSpy/bin/Release/net6.0-windows/win-x64/publish/selfcontained" |
||||
|
||||
dotnet publish ./ILSpy/ILSpy.csproj -c Release --no-restore --no-self-contained -r win-arm64 -o $output_arm64 |
||||
dotnet publish ./ILSpy.ReadyToRun/ILSpy.ReadyToRun.csproj -c Release --no-restore --no-self-contained -r win-arm64 -o $output_arm64 |
||||
dotnet publish ./ILSpy.BamlDecompiler/ILSpy.BamlDecompiler.csproj -c Release --no-restore --no-self-contained -r win-arm64 -o $output_arm64 |
||||
|
||||
dotnet publish ./ILSpy/ILSpy.csproj -c Release --no-restore --no-self-contained -r win-x64 -o $output_x64 |
||||
dotnet publish ./ILSpy.ReadyToRun/ILSpy.ReadyToRun.csproj -c Release --no-restore --no-self-contained -r win-x64 -o $output_x64 |
||||
dotnet publish ./ILSpy.BamlDecompiler/ILSpy.BamlDecompiler.csproj -c Release --no-restore --no-self-contained -r win-x64 -o $output_x64 |
||||
|
||||
dotnet publish ./ILSpy/ILSpy.csproj -c Release --no-restore --self-contained -r win-x64 -o $output_x64_selfcontained |
||||
dotnet publish ./ILSpy.ReadyToRun/ILSpy.ReadyToRun.csproj -c Release --no-restore --self-contained -r win-x64 -o $output_x64_selfcontained |
||||
dotnet publish ./ILSpy.BamlDecompiler/ILSpy.BamlDecompiler.csproj -c Release --no-restore --self-contained -r win-x64 -o $output_x64_selfcontained |
Loading…
Reference in new issue