Skip to content

Commit

Permalink
forget to add trailing path separator(MessagePack-CSharp#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
itn3000 committed Jan 11, 2019
1 parent 2d94755 commit fc07553
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -25,7 +25,7 @@ internal static class RoslynExtensions
// https://github.com/daveaglick/Buildalyzer/blob/b42d2e3ba1b3673a8133fb41e72b507b01bce1d6/src/Buildalyzer/Environment/BuildEnvironment.cs#L86-L96
Dictionary<string, string> properties = new Dictionary<string, string>()
{
{"IntermediateOutputPath", tempPath},
{"IntermediateOutputPath", $"{tempPath}{Path.DirectorySeparatorChar}"},
{"ProviderCommandLineArgs", "true"},
{"GenerateResourceMSBuildArchitecture", "CurrentArchitecture"},
{"DesignTimeBuild", "true"},
Expand All @@ -40,7 +40,7 @@ internal static class RoslynExtensions
{"UseCommonOutputDirectory", "true"},
{"GeneratePackageOnBuild", "false"},
{"RunPostBuildEvent", "false"},
{"SolutionDir", new FileInfo(csprojPath).FullName}
{"SolutionDir", $"{new FileInfo(csprojPath).FullName}{Path.DirectorySeparatorChar}"}
};
var propargs = string.Join(" ", properties.Select(kv => $"/p:{kv.Key}=\"{kv.Value}\""));
// how to determine whether command should be executed('dotnet msbuild' or 'msbuild')?
Expand Down

0 comments on commit fc07553

Please sign in to comment.