msbuild
msbuild copied to clipboard
The Microsoft Build Engine (MSBuild) is the build platform for .NET and Visual Studio.
I encountered an issue while using the `Unzip` task in the .NET MSBuild repository. I attempted to extract an archive containing executables for macOS and Linux, intending to use these...
Microsoft.Build.UnitTests.Exec_Tests.Timeout ### Details https://dev.azure.com/dnceng-public/public/_build/results?buildId=385968&view=ms.vss-test-web.build-test-results-tab&runId=8250290&resultId=105001&paneView=history https://dev.azure.com/dnceng-public/public/_build/results?buildId=385824&view=ms.vss-test-web.build-test-results-tab&runId=8245228&resultId=104901 `Assert.Equal() Failure\r\nExpected: 1\r\nActual: 2` `at Microsoft.Build.UnitTests.Exec_Tests.Timeout() in D:\a\_work\1\s\src\Tasks.UnitTests\Exec_Tests.cs:line 133`
https://github.com/dotnet/msbuild/blob/42383a83b2b0d1e551cbdb713f9ae3dda27dd04d/src/Tasks/Microsoft.CSharp.CurrentVersion.targets#L279 https://github.com/dotnet/msbuild/blob/42383a83b2b0d1e551cbdb713f9ae3dda27dd04d/src/Tasks/Microsoft.VisualBasic.CurrentVersion.targets#L273 Why is this not `@(ReferencePathWithRefAssemblies)` like [in CoreCompile](https://github.com/dotnet/roslyn/blob/39848683a068122de144949117a9e5111bfd42ba/src/Compilers/Core/MSBuildTask/Microsoft.CSharp.Core.targets#L139)?
Current e2e tests are disabled, but some tests need to be added for new functionality, specifically this: https://github.com/dotnet/msbuild/pull/10199#discussion_r1625472357. This issue is a reminder to do it once we reactivate the...
#10055 will add new event that informs about build cancellation. When the PR is merged, we should serialize `BuildCanceledEventArgs` to binlog and update binlog viewer to display this event.
https://github.com/dotnet/msbuild/blob/4a45d56330882a5e596e97d05ba568ec32e0603c/src/Build/BackEnd/BuildManager/BuildManager.cs#L3177-L3221 This doesn't quite match the double-checked locking pattern described at: https://github.com/dotnet/runtime/blob/main/docs/design/specs/Memory-model.md#examples-and-common-patterns It seems it might be possible to see a stale value of `_disposed` and then enter the lock...
### Description The below publish command doesn't work on linux when `BaseOutputPath` property is set in the project.### ### Reproduction Steps ### *.csproj file ```xml $(SolutionDir)/bin/$(AssemblyTitle) ``` ### Pushlish _(works...
### Summary The VS team has a new XML-based format for solution files that simplifies the current sln file format. When released, it will have an open-source parser, so tools...
Historically when we've hit releases for a new .NET version we've adopted that version. We should consider doing that for .NET 9 as well.
Take a look at https://github.com/microsoft/vstest/issues/5091 and try to repro the issue. It could be a problem on our side (ToolTask).