From 79648f9ccb11f2238d528333aefd63f43bad2efc Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Sun, 7 Aug 2016 01:51:47 -0700 Subject: [PATCH 1/3] Update stage0 msbuild --- src/Microsoft.DotNet.Core.Build.Tasks/project.json | 6 +++--- src/dotnet/project.json | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/Microsoft.DotNet.Core.Build.Tasks/project.json b/src/Microsoft.DotNet.Core.Build.Tasks/project.json index 985721190..58b48191e 100644 --- a/src/Microsoft.DotNet.Core.Build.Tasks/project.json +++ b/src/Microsoft.DotNet.Core.Build.Tasks/project.json @@ -26,9 +26,9 @@ "portable-net45+wp80+win8+wpa81+dnxcore50" ], "dependencies": { - "Microsoft.Build.Framework": "0.1.0-preview-00024-160610", - "Microsoft.Build.Tasks.Core": "0.1.0-preview-00024-160610", - "Microsoft.Build.Utilities.Core": "0.1.0-preview-00024-160610" + "Microsoft.Build.Framework": "0.1.0-preview-00029-160805", + "Microsoft.Build.Tasks.Core": "0.1.0-preview-00029-160805", + "Microsoft.Build.Utilities.Core": "0.1.0-preview-00029-160805" } } } diff --git a/src/dotnet/project.json b/src/dotnet/project.json index a4df97b88..f7cc39482 100644 --- a/src/dotnet/project.json +++ b/src/dotnet/project.json @@ -71,12 +71,12 @@ "exclude": "compile" }, - "MSBuild": "0.1.0-preview-00024-160610", - "Microsoft.Build.Framework": "0.1.0-preview-00024-160610", - "Microsoft.Build.Tasks.Core": "0.1.0-preview-00024-160610", - "Microsoft.Build.Utilities.Core": "0.1.0-preview-00024-160610", - "Microsoft.Build.Targets": "0.1.0-preview-00024-160610", - "Microsoft.Build": "0.1.0-preview-00024-160610", + "MSBuild": "0.1.0-preview-00029-160805", + "Microsoft.Build.Framework": "0.1.0-preview-00029-160805", + "Microsoft.Build.Tasks.Core": "0.1.0-preview-00029-160805", + "Microsoft.Build.Utilities.Core": "0.1.0-preview-00029-160805", + "Microsoft.Build.Targets": "0.1.0-preview-00029-160805", + "Microsoft.Build": "0.1.0-preview-00029-160805", "Microsoft.Net.Compilers.netcore": "1.3.0", "Microsoft.Net.Compilers.Targets.NetCore": "0.1.5-dev", "Microsoft.Cci": "4.0.0-rc3-24128-00", From f277103831acaaf8f60d4950bcbaecbda22cc554 Mon Sep 17 00:00:00 2001 From: PiotrP Date: Mon, 8 Aug 2016 13:44:44 -0700 Subject: [PATCH 2/3] Make GivenThatICopyLibraryAssets repeatable --- .../GivenThatICopyLibraryAssets.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/Microsoft.DotNet.Compiler.Common.Tests/GivenThatICopyLibraryAssets.cs b/test/Microsoft.DotNet.Compiler.Common.Tests/GivenThatICopyLibraryAssets.cs index b8421c27b..373d7a95e 100644 --- a/test/Microsoft.DotNet.Compiler.Common.Tests/GivenThatICopyLibraryAssets.cs +++ b/test/Microsoft.DotNet.Compiler.Common.Tests/GivenThatICopyLibraryAssets.cs @@ -60,6 +60,13 @@ namespace Microsoft.DotNet.Cli.Compiler.Common.Tests var mockedLibraryAssetFileName = $"{mockedLibraryAssetName}.dll"; var fakeFile = Path.Combine(AppContext.BaseDirectory, mockedLibraryAssetFileName); + + if (File.Exists(fakeFile)) + { + File.SetAttributes(fakeFile, FileAttributes.Normal); + File.Delete(fakeFile); + } + File.WriteAllText(fakeFile, mockedLibraryAssetName); return new LibraryAsset(mockedLibraryAssetName, mockedLibraryAssetFileName, fakeFile); From 359f274626633f8636f2287e848b3f13bccca187 Mon Sep 17 00:00:00 2001 From: PiotrP Date: Mon, 8 Aug 2016 14:35:09 -0700 Subject: [PATCH 3/3] Workaround for msbuild #872 --- build/Microsoft.DotNet.Cli.Compile.targets | 7 ++ resources/MSBuild.exe.config | 75 ++++++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 resources/MSBuild.exe.config diff --git a/build/Microsoft.DotNet.Cli.Compile.targets b/build/Microsoft.DotNet.Cli.Compile.targets index 3d444f65f..b1f329b1c 100644 --- a/build/Microsoft.DotNet.Cli.Compile.targets +++ b/build/Microsoft.DotNet.Cli.Compile.targets @@ -225,5 +225,12 @@ DestinationFiles="@(FilesToCopy->'$(StageSymbolsDirectory)\%(RecursiveDir)%(Filename)%(Extension)')" /> + + + + + \ No newline at end of file diff --git a/resources/MSBuild.exe.config b/resources/MSBuild.exe.config new file mode 100644 index 000000000..76d340ed2 --- /dev/null +++ b/resources/MSBuild.exe.config @@ -0,0 +1,75 @@ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file