Skip to content

Commit

Permalink
Merge pull request #1457 from rchande/msbuild-location
Browse files Browse the repository at this point in the history
Rename msbuild directory to .msbuild
  • Loading branch information
filipw authored Apr 12, 2019
2 parents ea4c4da + abe7b34 commit db2e49e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ void CopyMonoBuild(BuildEnvironment env, string sourceFolder, string outputFolde
{
DirectoryHelper.Copy(sourceFolder, outputFolder, copySubDirectories: false);

var msbuildFolder = CombinePaths(outputFolder, "msbuild");
var msbuildFolder = CombinePaths(outputFolder, ".msbuild");

// Copy MSBuild runtime and libraries
DirectoryHelper.Copy($"{env.Folders.MSBuild}", msbuildFolder);
Expand Down Expand Up @@ -830,7 +830,7 @@ string PublishWindowsBuild(string project, BuildEnvironment env, BuildPlan plan,
}

// Copy MSBuild to output
DirectoryHelper.Copy($"{env.Folders.MSBuild}", CombinePaths(outputFolder, "msbuild"));
DirectoryHelper.Copy($"{env.Folders.MSBuild}", CombinePaths(outputFolder, ".msbuild"));

CopyExtraDependencies(env, outputFolder);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ bool TryGetToolsPath(string versionPath, string binPath, out string toolsPath)

protected static string FindLocalMSBuildDirectory()
{
// If OmniSharp is running normally, MSBuild is located in an 'msbuild' folder beneath OmniSharp.exe.
var msbuildDirectory = Path.Combine(AppContext.BaseDirectory, "msbuild");
// If OmniSharp is running normally, MSBuild is located in an '.msbuild' folder beneath OmniSharp.exe.
var msbuildDirectory = Path.Combine(AppContext.BaseDirectory, ".msbuild");

if (!Directory.Exists(msbuildDirectory))
{
Expand Down

0 comments on commit db2e49e

Please sign in to comment.