dotnet/roslyn

Can't build Roslyn if Roslyn path or VS path starts from "!"

Open

#16.344 aperta il 9 gen 2017

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)C# (4257 fork)batch import
Area-Infrastructurehelp wanted

Metriche repository

Star
 (20.414 star)
Metriche merge PR
 (Merge medio 6g 17h) (256 PR mergiate in 30 g)

Descrizione

If VS installed into a directory which name start from "!" (for example "c:!\VS\VS2015") or Rosline cloned into same directory (for example "c:!\roslyn") call of Restore.cmd failed with message:

Restore failed with ERRORLEVEL 1

This is because the Restore.cmd starts with: @setlocal enabledelayedexpansion

This settings remove "!" from path.

Guida contributor