Browse Source

Use '..' instead of '$(SolutionDir)' for update-assemblyinfo.ps1, because the MSBuild property is not always set.

pull/925/merge
Daniel Grunwald 8 years ago
parent
commit
141a2345b5
  1. 5
      ICSharpCode.Decompiler/ICSharpCode.Decompiler.csproj

5
ICSharpCode.Decompiler/ICSharpCode.Decompiler.csproj

@ -585,10 +585,9 @@ @@ -585,10 +585,9 @@
<Target Name="BeforeBuild">
<PropertyGroup>
<UpdateAssemblyInfo>powershell.exe -NoProfile -ExecutionPolicy Bypass -File $(SolutionDir)\BuildTools\update-assemblyinfo.ps1</UpdateAssemblyInfo>
<UpdateAssemblyInfo Condition="$(OS)=='Unix'">powershell -NoProfile -ExecutionPolicy Bypass -File $(SolutionDir)\BuildTools\update-assemblyinfo.ps1</UpdateAssemblyInfo>
<UpdateAssemblyInfo>powershell -NoProfile -ExecutionPolicy Bypass -File BuildTools/update-assemblyinfo.ps1</UpdateAssemblyInfo>
</PropertyGroup>
<Exec WorkingDirectory="$(SolutionDir)" Command="$(UpdateAssemblyInfo)" Timeout="60000" />
<Exec WorkingDirectory=".." Command="$(UpdateAssemblyInfo)" Timeout="60000" />
</Target>
<!-- Workaround for EmbedSources support, see https://github.com/dotnet/roslyn/issues/19127 -->

Loading…
Cancel
Save