Browse Source

Fix DecompilerVersionInfoDependency in ILSpy.Installer.csproj

pull/2665/head
Siegfried Pammer 3 years ago
parent
commit
a88a413571
  1. 3
      BuildTools/update-assemblyinfo.ps1
  2. 9
      ILSpy.Installer/AppPackage.cs
  3. 9
      ILSpy.Installer/AppPackage.cs.template
  4. 1
      ILSpy.Installer/ILSpy.Installer.csproj

3
BuildTools/update-assemblyinfo.ps1

@ -81,8 +81,7 @@ function gitBranch() { @@ -81,8 +81,7 @@ function gitBranch() {
$templateFiles = (
@{Input=$decompilerVersionInfoTemplateFile; Output="ICSharpCode.Decompiler/Properties/DecompilerVersionInfo.cs"},
@{Input="ILSpy.AddIn/source.extension.vsixmanifest.template"; Output = "ILSpy.AddIn/source.extension.vsixmanifest"},
@{Input="ILSpy.AddIn.VS2022/source.extension.vsixmanifest.template"; Output = "ILSpy.AddIn.VS2022/source.extension.vsixmanifest"},
@{Input="ILSpy.Installer/AppPackage.cs.template"; Output = "ILSpy.Installer/AppPackage.cs"}
@{Input="ILSpy.AddIn.VS2022/source.extension.vsixmanifest.template"; Output = "ILSpy.AddIn.VS2022/source.extension.vsixmanifest"}
);
[string]$mutexId = "ILSpyUpdateAssemblyInfo" + (Get-Location).ToString().GetHashCode();

9
ILSpy.Installer/AppPackage.cs

@ -0,0 +1,9 @@ @@ -0,0 +1,9 @@
using System;
namespace ILSpy.Installer
{
internal static class AppPackage
{
public static Version Version = new Version(DecompilerVersionInfo.Major + "." + DecompilerVersionInfo.Minor + "." + DecompilerVersionInfo.Build + "." + DecompilerVersionInfo.Revision);
}
}

9
ILSpy.Installer/AppPackage.cs.template

@ -1,9 +0,0 @@ @@ -1,9 +0,0 @@
using System;
namespace ILSpy.Installer
{
internal static class AppPackage
{
public static Version Version = new Version("$INSERTVERSION$");
}
}

1
ILSpy.Installer/ILSpy.Installer.csproj

@ -12,6 +12,7 @@ @@ -12,6 +12,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ICSharpCode.Decompiler\ICSharpCode.Decompiler.csproj" />
<ProjectReference Include="..\ILSpy\ILSpy.csproj">
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>

Loading…
Cancel
Save