Browse Source

#967 Using $PWD instead of Get-Location and PSScriptRoot. I hope this will make everyone happy.

pull/925/merge
Siegfried Pammer 8 years ago
parent
commit
ed0ed8f5ab
  1. 2
      BuildTools/update-assemblyinfo.ps1

2
BuildTools/update-assemblyinfo.ps1

@ -60,7 +60,7 @@ $templateFiles = ( @@ -60,7 +60,7 @@ $templateFiles = (
@{Input="ICSharpCode.Decompiler/ICSharpCode.Decompiler.nuspec.template"; Output="ICSharpCode.Decompiler/ICSharpCode.Decompiler.nuspec"},
@{Input="ILSpy/Properties/app.config.template"; Output = "ILSpy/app.config"}
);
[string]$mutexId = "ILSpyUpdateAssemblyInfo" + (Get-Location).GetHashCode();
[string]$mutexId = "ILSpyUpdateAssemblyInfo" + $PWD.GetHashCode();
[bool]$createdNew = $false;
$mutex = New-Object System.Threading.Mutex($true, $mutexId, [ref]$createdNew);
try {

Loading…
Cancel
Save