dotnet-installer/test/dotnet-msbuild.Tests
Peter Huene f9b939fe89
Fix MSBuild invocation to quote property option values.
This commit ensures that any `/property` option's value is surrounded by quotes
to allow MSBuild to properly interpret special characters like semicolons.

Users familiar with MSBuild expect `/property:Name="Value"` to handle
semicolons. However, since `dotnet` parses the command line first, the
quotes get processed by its command line parser.  This results in
`/property:Name=Value` being passed to MSBuild, which will not parse a "Value"
containing a semicolon correctly.

Since it is safe to always quote the property value for this option, this fix
simply ensures that the value is surrounded by quotes.

This fixes the issue for all commands that forward arguments to MSBuild.

Fixes #7791.
2018-04-26 14:38:21 -07:00
..
dotnet-msbuild.Tests.csproj Merge remote-tracking branch 'dotnet/release/15.5' into merges/release/15.5-to-master-20171206-080040 2017-12-07 09:55:12 -08:00
GivenDotnetBuildInvocation.cs Fix MSBuild invocation to quote property option values. 2018-04-26 14:38:21 -07:00
GivenDotnetCleanInvocation.cs Fix MSBuild invocation to quote property option values. 2018-04-26 14:38:21 -07:00
GivenDotnetMSBuildBuildsProjects.cs Fix MSBuild invocation to quote property option values. 2018-04-26 14:38:21 -07:00
GivenDotnetPackInvocation.cs Fix MSBuild invocation to quote property option values. 2018-04-26 14:38:21 -07:00
GivenDotnetPublishInvocation.cs Fix MSBuild invocation to quote property option values. 2018-04-26 14:38:21 -07:00
GivenDotnetRestoreInvocation.cs Fix MSBuild invocation to quote property option values. 2018-04-26 14:38:21 -07:00
GivenDotnetStoreInvocation.cs Fix MSBuild invocation to quote property option values. 2018-04-26 14:38:21 -07:00
GivenDotnetVsTestForwardingApp.cs Add missing copyright headers to all cs files 2017-03-02 21:04:03 -08:00
GivenForwardingApp.cs Add missing copyright headers to all cs files 2017-03-02 21:04:03 -08:00
GivenMsbuildForwardingApp.cs Manually merging some changes that git merged wrong and deleted from the 15.5 branch. 2017-10-13 09:56:08 -07:00
GivenMSBuildLogger.cs Hashed telemetry and event name change (#7919) 2017-10-27 10:58:25 -07:00