diff --git a/src/XMakeBuildEngine/UnitTests/EscapingInProjects_Tests.cs b/src/XMakeBuildEngine/UnitTests/EscapingInProjects_Tests.cs index 5e254600f7f..8f7eb4469ee 100644 --- a/src/XMakeBuildEngine/UnitTests/EscapingInProjects_Tests.cs +++ b/src/XMakeBuildEngine/UnitTests/EscapingInProjects_Tests.cs @@ -919,23 +919,23 @@ public class FullProjectsUsingMicrosoftCommonTargets Project(`{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}`) = `Class;!@(foo)'^(Library1`, `Class;!@(foo)'^(Library1\Class;!@(foo)'^(Library1.csproj`, `{0B4B78CC-C752-43C2-BE9A-319D20216129}` EndProject Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {770F2381-8C39-49E9-8C96-0538FA4349A7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {770F2381-8C39-49E9-8C96-0538FA4349A7}.Debug|Any CPU.Build.0 = Debug|Any CPU - {770F2381-8C39-49E9-8C96-0538FA4349A7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {770F2381-8C39-49E9-8C96-0538FA4349A7}.Release|Any CPU.Build.0 = Release|Any CPU - {0B4B78CC-C752-43C2-BE9A-319D20216129}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {0B4B78CC-C752-43C2-BE9A-319D20216129}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0B4B78CC-C752-43C2-BE9A-319D20216129}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0B4B78CC-C752-43C2-BE9A-319D20216129}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {770F2381-8C39-49E9-8C96-0538FA4349A7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {770F2381-8C39-49E9-8C96-0538FA4349A7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {770F2381-8C39-49E9-8C96-0538FA4349A7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {770F2381-8C39-49E9-8C96-0538FA4349A7}.Release|Any CPU.Build.0 = Release|Any CPU + {0B4B78CC-C752-43C2-BE9A-319D20216129}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0B4B78CC-C752-43C2-BE9A-319D20216129}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0B4B78CC-C752-43C2-BE9A-319D20216129}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0B4B78CC-C752-43C2-BE9A-319D20216129}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection EndGlobal "; @@ -952,6 +952,7 @@ public void SemicolonInConfiguration() // --------------------- ObjectModelHelpers.CreateFileInTempProjectDirectory("foo.csproj", @" + Debug AnyCPU @@ -975,9 +976,9 @@ public void SemicolonInConfiguration() ObjectModelHelpers.CreateFileInTempProjectDirectory("Class1.cs", @" namespace ClassLibrary16 { - public class Class1 - { - } + public class Class1 + { + } } "); @@ -1016,6 +1017,7 @@ public void SemicolonInConfiguration_UsingTaskHost() // --------------------- ObjectModelHelpers.CreateFileInTempProjectDirectory("foo.csproj", @" + Debug AnyCPU @@ -1039,9 +1041,9 @@ public void SemicolonInConfiguration_UsingTaskHost() ObjectModelHelpers.CreateFileInTempProjectDirectory("Class1.cs", @" namespace ClassLibrary16 { - public class Class1 - { - } + public class Class1 + { + } } "); @@ -1080,6 +1082,7 @@ public void SemicolonInAssemblyName() // --------------------- ObjectModelHelpers.CreateFileInTempProjectDirectory("foo.csproj", @" + Debug AnyCPU @@ -1103,9 +1106,9 @@ public void SemicolonInAssemblyName() ObjectModelHelpers.CreateFileInTempProjectDirectory("Class1.cs", @" namespace ClassLibrary16 { - public class Class1 - { - } + public class Class1 + { + } } "); @@ -1138,6 +1141,7 @@ public void SemicolonInAssemblyName_UsingTaskHost() // --------------------- ObjectModelHelpers.CreateFileInTempProjectDirectory("foo.csproj", @" + Debug AnyCPU @@ -1161,9 +1165,9 @@ public void SemicolonInAssemblyName_UsingTaskHost() ObjectModelHelpers.CreateFileInTempProjectDirectory("Class1.cs", @" namespace ClassLibrary16 { - public class Class1 - { - } + public class Class1 + { + } } "); @@ -1196,6 +1200,7 @@ public void DollarSignInAssemblyName() // --------------------- ObjectModelHelpers.CreateFileInTempProjectDirectory("foo.csproj", @" + Debug AnyCPU @@ -1219,9 +1224,9 @@ public void DollarSignInAssemblyName() ObjectModelHelpers.CreateFileInTempProjectDirectory("Class1.cs", @" namespace ClassLibrary16 { - public class Class1 - { - } + public class Class1 + { + } } "); @@ -1254,6 +1259,7 @@ public void DollarSignInAssemblyName_UsingTaskHost() // --------------------- ObjectModelHelpers.CreateFileInTempProjectDirectory("foo.csproj", @" + Debug AnyCPU @@ -1277,9 +1283,9 @@ public void DollarSignInAssemblyName_UsingTaskHost() ObjectModelHelpers.CreateFileInTempProjectDirectory("Class1.cs", @" namespace ClassLibrary16 { - public class Class1 - { - } + public class Class1 + { + } } "); @@ -1312,6 +1318,7 @@ public void SemicolonInSourceCodeFilename() // --------------------- ObjectModelHelpers.CreateFileInTempProjectDirectory("foo.csproj", @" + Debug AnyCPU @@ -1335,9 +1342,9 @@ public void SemicolonInSourceCodeFilename() ObjectModelHelpers.CreateFileInTempProjectDirectory("Class;1.cs", @" namespace ClassLibrary16 { - public class Class1 - { - } + public class Class1 + { + } } "); @@ -1370,6 +1377,7 @@ public void SemicolonInSourceCodeFilename_UsingTaskHost() // --------------------- ObjectModelHelpers.CreateFileInTempProjectDirectory("foo.csproj", @" + Debug AnyCPU @@ -1393,9 +1401,9 @@ public void SemicolonInSourceCodeFilename_UsingTaskHost() ObjectModelHelpers.CreateFileInTempProjectDirectory("Class;1.cs", @" namespace ClassLibrary16 { - public class Class1 - { - } + public class Class1 + { + } } "); @@ -1499,13 +1507,13 @@ public void SolutionWithLotsaCrazyCharacters() namespace Console____foo____Application1 { - class Program - { - static void Main(string[] args) - { - Class____foo____Library1.Class1 foo = new Class____foo____Library1.Class1(); - } - } + class Program + { + static void Main(string[] args) + { + Class____foo____Library1.Class1 foo = new Class____foo____Library1.Class1(); + } + } } "); @@ -1566,9 +1574,9 @@ static void Main(string[] args) @" namespace Class____foo____Library1 { - public class Class1 - { - } + public class Class1 + { + } } "); @@ -1670,13 +1678,13 @@ public void SolutionWithLotsaCrazyCharacters_UsingTaskHost() namespace Console____foo____Application1 { - class Program - { - static void Main(string[] args) - { - Class____foo____Library1.Class1 foo = new Class____foo____Library1.Class1(); - } - } + class Program + { + static void Main(string[] args) + { + Class____foo____Library1.Class1 foo = new Class____foo____Library1.Class1(); + } + } } "); @@ -1737,9 +1745,9 @@ static void Main(string[] args) @" namespace Class____foo____Library1 { - public class Class1 - { - } + public class Class1 + { + } } "); diff --git a/src/XMakeTasks/Microsoft.Common.CurrentVersion.targets b/src/XMakeTasks/Microsoft.Common.CurrentVersion.targets index 07cf4d3df57..e2d3bf8fa5e 100644 --- a/src/XMakeTasks/Microsoft.Common.CurrentVersion.targets +++ b/src/XMakeTasks/Microsoft.Common.CurrentVersion.targets @@ -321,8 +321,6 @@ Copyright (C) Microsoft Corporation. All rights reserved. true false - obj\ - $(BaseIntermediateOutputPath)\ $(MSBuildProjectFile).FileListAbsolute.txt false diff --git a/src/XMakeTasks/Microsoft.Common.props b/src/XMakeTasks/Microsoft.Common.props index 2ddcd634121..23d580520dc 100644 --- a/src/XMakeTasks/Microsoft.Common.props +++ b/src/XMakeTasks/Microsoft.Common.props @@ -31,6 +31,33 @@ Copyright (C) Microsoft Corporation. All rights reserved. + + + + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath) + + $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) + $(MSBuildProjectExtensionsPath)\ + true + + + + + + true + + + + true diff --git a/src/XMakeTasks/UnitTests/Microsoft.Build.Tasks.UnitTests.csproj b/src/XMakeTasks/UnitTests/Microsoft.Build.Tasks.UnitTests.csproj index 2c5dda08a5a..00b47c6f967 100644 --- a/src/XMakeTasks/UnitTests/Microsoft.Build.Tasks.UnitTests.csproj +++ b/src/XMakeTasks/UnitTests/Microsoft.Build.Tasks.UnitTests.csproj @@ -1,4 +1,4 @@ - +