Fix crossgen executable permissions

Workaround https://github.com/NuGet/Home/issues/4424
This commit is contained in:
Eric Erhardt 2017-01-28 13:21:16 -06:00
parent 1f44cabf4a
commit ef35dbc768

View file

@ -222,6 +222,11 @@
<Output TaskParameter="Filtered" ItemName="CompileStageSdkDirectories" />
</RemoveDuplicates>
<!-- Ensure crossgen tool is executable. See https://github.com/NuGet/Home/issues/4424 -->
<Chmod Condition=" '$(OSName)' != 'win' "
File="$(CrossgenPath)"
Mode="u+x" />
<Crossgen Condition=" '$(DISABLE_CROSSGEN)' != '1' "
SourceAssembly="%(CrossgenTargets.FullPath)"
DestinationPath="%(CrossgenTargets.FullPath)"