msbuild icon indicating copy to clipboard operation
msbuild copied to clipboard

The Microsoft Build Engine (MSBuild) is the build platform for .NET and Visual Studio.

Results 678 msbuild issues
Sort by recently updated
recently updated
newest added

In https://github.com/dotnet/msbuild/pull/12014/agent-sessions/97b76408-c604-49f6-8767-39bbe64805a8, scroll down to `Let me try to build the Framework project to ensure my documentation changes don't break`. The console output below that is clearly from our terminal...

triaged
Area: Terminal Logger

### Issue Description https://github.com/dotnet/sdk/pull/49328 raised the issue that Char.IsDigit isn't currently in the fast-paths. We need to do work similar to https://github.com/dotnet/msbuild/pull/12025 to add a fast path handler for this...

Area: Performance

Fixes # Fix the issue https://github.com/dotnet/msbuild/issues/10007 the message just display the name of the metadata that holds the parameter value but not display the name of the attribute type whose...

This should be as high-performance as the current custom code and easier to understand and maintain. I tried a few options and this is slightly better than the existing code....

Area: Performance

### Context Creating a new string just to do a dictionary lookup can cause significant allocations. ![image](https://github.com/user-attachments/assets/7a857156-3235-45c3-8fee-cfa1a41ac920) We can avoid this since the key is composed of two different parts...

### Issue Description When the path to the assembly used in `UsingTask` contains an `@`, trying to use the loaded task fails with `MSB4062` (Task could not be loaded; could...

help wanted
triaged

### Fixes Reduces millions of object allocations from `ItemExpander` intrinsic function path. ### Context As a high level, `ItemExpander.ExpandExpressionCapture` follows this flow: - Take in a set of strings and...

Partially Fixes https://github.com/dotnet/msbuild/issues/11331 To test the feature, setup these env variables: `MSBuildToolsDirectoryNET` = e.g. "C:\msbuild\msbuild_yk\msbuild\artifacts\bin\bootstrap\core" `MSBuildAssemblyDirectory` = e.g. "C:\msbuild\msbuild_yk\msbuild\artifacts\bin\bootstrap\core\sdk\9.0.203" Keep in mind, due to current handshake mechanism, only matching (or...

Currently, we add a property `DOTNET_EXPERIMENTAL_HOST_PATH` to `SdkResult` in `MSBuildSdkResolver` https://github.com/dotnet/sdk/blob/main/src/Resolvers/Microsoft.DotNet.MSBuildSdkResolver/MSBuildSdkResolver.cs#L35 Instead it should be set from `resolverResult.ResolvedSdkPath` which I tried to do in this PR https://github.com/dotnet/sdk/pull/49391/files and should be...

Fixes [#8785 ](https://github.com/dotnet/msbuild/issues/8785) ### Context Re logging, the XslTransformation task calls TaskLoggingHelper.LogErrorWithCodeFromResources(string messageResourceName, params object[] messageArgs). There is also TaskLoggingHelper.LogErrorFromException(Exception exception, bool showStackTrace, bool showDetail, string file), which logs the...