-
Notifications
You must be signed in to change notification settings - Fork 585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Msbuild error in rc011: Illegal characters in path #1915
Comments
Yes please. more information is definitely required ;)
…On Mon, 7 May 2018, 10:54 Gerjan, ***@***.***> wrote:
Sorry for the short description with no repro, I just ran into this
problem at work. I hope I can add more info tonight
I just upgraded to rc011 and I'm getting the following error:
C:\Program Files (x86)\Microsoft Visual
Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(283,5):
error MSB4184: The expression "[System.IO.Path]::Combine(D:\Git\Path1,
D:\Git\Path2" /p:Configuration=Release /p:TargetFrameworkVersion=v4.6.1
/p:Platform=AnyCPU\)" cannot be evaluated. Illegal characters in path.
[D:\Git\Project.csproj]
Rollback to rc008 solves it
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1915>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABx633pq8NTK9NImRora_B7lanZfYxPlks5twAu2gaJpZM4T0oK9>
.
|
I have the same problem with rc011. Msbuild does not like triple slashes in OutputPath. An error MSB4184 (Path.Combine related) is thrown.
|
I think #1905 is the problem |
/cc @JarnoNijboer |
Running msbuild with same parameters on cmd line, triggers same error. Removing a slash fixes it. |
This may cause a regression of #869. Why wouldn't |
@Cawifre Are you saying that you have a problem with latest? Can you open a new issue? please include an example showing the problem. |
Sorry for the short description with no repro, I just ran into this problem at work. I hope I can add more info tonight
I just upgraded to
rc011
and I'm getting the following error:C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(283,5): error MSB4184: The expression "[System.IO.Path]::Combine(D:\Git\Path1, D:\Git\Path2" /p:Configuration=Release /p:TargetFrameworkVersion=v4.6.1 /p:Platform=AnyCPU\)" cannot be evaluated. Illegal characters in path. [D:\Git\Project.csproj]
The msbuild call is:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\MSBuild.exe D:\Git\Project.csproj /m /v:q /p:RestorePackages="False" /p:PreBuildEvent="" /p:PostBuildEvent="" /p:TreatWarningsAsErrors="true" /p:LangVersion="7" /p:OutputPath="D:\Git\Output\\\" /p:Configuration="Release" /p:TargetFrameworkVersion="v4.6.1" /p:Platform="AnyCPU"
Rollback to
rc008
solves itMy guess it has something to do with the tripple slash in
/p:OutputPath
The text was updated successfully, but these errors were encountered: