dotnet/roslyn

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

Ouverte

#16 344 ouverte le 9 janv. 2017

 (1 commentaire) (0 réaction) (0 personne assignée)C# (4 257 forks)batch import
Area-Infrastructurehelp wanted

Métriques du dépôt

Stars
 (20 414 étoiles)
Métriques de merge PR
 (Merge moyen 6j 17h) (256 PRs mergées en 30 j)

Description

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.

Guide contributeur