msbuild
msbuild copied to clipboard
The Microsoft Build Engine (MSBuild) is the build platform for .NET and Visual Studio.
### Issue Description When a valid project file starts with this line: ```xml ``` MSBuild can build it, but the `ProjectInstance.FromFile` throws an `InvalidProjectFileException`. ### Steps to Reproduce Add ``...
### Issue Description While trying to build a static graph of our (large) repo, an `InternalErrorException` is thrown. Given it's an *internal* error, I don't know if the project it...
### Issue Description MsBuild property `CompileDependsOn` is overridden in SDK style projects [here](https://github.com/dotnet/msbuild/blob/v17.1.0/src/Tasks/Microsoft.Common.CurrentVersion.targets#L3456). `Microsoft.Common.CurrentVersion.targets` is imported (indirectly) by `SDK.targets`, which means when using the implicit SDK import style: ``, then...
### Issue Description I have two projects : `RootProject` and `ChildProcess`. Both are executables, and `RootProject` starts `ChildProcess.exe` as part of its work. When I want to publish the `RootProject`...
If a project has both `` and `` defined, other projects cannot correctly reference the project's target framework that is different than what `` specifies. Building the project with both...
Hello, I am trying to used the types defined in Microsoft.Build.Framework.XamlTypes in a .net core or a .net standard 2.0 library. I have add ed a dependency to 'Microsoft.Build.Framework'. These...
### Issue Description Requesting a binary log (`/bl`) will print a line to the terminal which isn't printed otherwise (when doing quiet builds). ### Steps to Reproduce ```shell $ msbuild...
### Describe the bug Running the benchmarks_monthly.py script for .NET preview 4 on an `arm64` machine with an `arm` configuration crashes. ### To Reproduce > git clone https://github.com/dotnet/performance.git > cd...
**Note:** 1.It’s regression issue. It doesn’t repro on dotnet-sdk-7.0.100-preview.5.22225.1-win-arm64. 2. Repro VM: vsengarmsfx041 **Builds info:** dotnet-runtime-3.1.22-win-x64 dotnet-sdk-6.0.301-win-x64 dotnet-sdk-7.0.100-preview.6.22316.8-win-arm64 dotnet-sdk-7.0.100-preview.6.22316.8-win-x64 dotnet-sdk-7.0.100-preview.6.22316.8-win-x86 **Build Link:** https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-win-arm64.exe https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-win-x64.exe https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-win-x86.exe https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-3.1.22-windows-x64-installer **Steps:** Execute the following...
### Issue Description Found in https://dev.azure.com/devdiv/DevDiv/_workitems/edit/1272722 Building a project that uses a task factory that fails to parse its input, the error reported is misleading. See below for the error....