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

The [`_GetProjectReferenceTargetFrameworkProperties` target](https://github.com/dotnet/msbuild/blob/a6f6699d1f70bf79db82030938d2c5e52d1e4d2e/src/Tasks/Microsoft.Common.CurrentVersion.targets#L1706) is responsible for annotating ProjectReference items with various metadata (`SetTargetFramework`, `UndefineProperties`, ...). When specifying multiple `ProjectReference` items with the same identity, the metadata isn't applied which results...

triaged
gathering-feedback

### Describe the bug I am working with third-party components (DevExpress) and their new release based on .NET 6 appears to have exposed a potential bug in MSBuild's assembly resolution...

needs-triage
Priority:2
triaged

SDK resolvers have caches because they depend on certain things such as files on disk to determine paths to SDKs. In order to make the cache more effective, SDK resolvers...

backlog
Area: Resolvers
triaged

### Refactor candidate I have stumbled upon the piece of code and suggest to rethink it: https://github.com/dotnet/msbuild/blob/28f488a74ed75bf5f21ca93ac2463a8cb1586d79/src/Build/Evaluation/Expander.cs#L3643 It contains code duplications and it's current size poorly manageable.

Refactoring
needs-triage
Priority:3
triaged

### Describe the bug When running dotnet build I get the following error: `/usr/local/share/dotnet/sdk/8.0.302/Microsoft.NETFramework.CurrentVersion.props(117,25): error MSB4184: The expression "[MSBuild]::VersionGreaterThanOrEquals(net7.0, 4.0)" cannot be evaluated.` ### To Reproduce - Running dotnet-sdk on...

author-responded
Area-NetSDK
untriaged

I was trying out a native AOT console app and got the following error. ![image](https://github.com/user-attachments/assets/1bd25fa8-0203-4089-b8d2-bf13d361d668) Clicking https://aka.ms/native takes me to a web site that has nothing to do with .NET...

triaged
Area: Terminal Logger

### Issue Description `msbuild ILSpy.sln /t:Rebuild` fails while `msbuild ILSpy.sln /t:Clean;Build` succeeds. ### Steps to Reproduce For the needed workloads/SDKs see for more info: https://github.com/icsharpcode/ILSpy#how-to-build 1) `git clone https://github.com/icsharpcode/ILSpy.git` 2)...

bug

See discussion in https://github.com/dotnet/roslyn/issues/74725, but: * If a task assembly has an adjacent `.deps.json`, MSBuild will respect it. * Generally you should probably ship this * But you don't super...

Documentation
triaged

### Context https://github.com/dotnet/msbuild/pull/10508 made it possible to properly distinguish if just some loggers requests evaluation data (expresse via `IEventSource4.IncludeEvaluationPropertiesAndItems`). However if this is not called the data are still included...

performance
Area: Logging
Cost:M
triaged

BuildCheck needs better error messages when a Check fails. When that happens we get a generic error message instead of the intended one that a Check has failed: `error MSB4184:...

Priority:1
triaged
Area: BuildCheck