dotnet/roslyn

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

Open

#16.344 aberto em 9 de jan. de 2017

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)C# (4.257 forks)batch import
Area-Infrastructurehelp wanted

Métricas do repositório

Stars
 (20.414 stars)
Métricas de merge de PR
 (Mesclagem média 6d 17h) (256 fundiu PRs em 30d)

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.

Guia do colaborador