Merge pull request #5503 from eerhardt/FixCrossgen

Fix crossgen executable permissions
This commit is contained in:
Eric Erhardt 2017-01-28 14:09:04 -06:00 committed by GitHub
commit 23207df2ae

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)"