msbuild
msbuild copied to clipboard
The Microsoft Build Engine (MSBuild) is the build platform for .NET and Visual Studio.
It is a very niche feature with unclear use-case https://github.com/search?q=%22%3A+ITaskFactory%22+language%3AC%23+Microsoft.Build.Framework&type=code, that assumes runtime of it's tasks in-process, which is dangerous when we're refactoring MSBuild to multithreaded execution https://github.com/dotnet/msbuild/issues/11914 The model...
### Issue Description I have 3 targets files which I created in order to investigate the behavior of the `Copy` task when facing temporary Access Denied: 1. `main.targets` - cleans...
Context: The VS Code C# extension throws an exception when loading projects with setting `"dotnet.projects.binaryLogPath"` specified. VS Code error log ```log 2025-05-19 10:33:59.335 [info] [Error - 10:33:59 AM] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader]...
### Fixes Millions of hidden delegate allocations in hot Scheduler loop. ### Context If you check out a memory profile, you may see a generated class in `Scheduler` as the...
### Context There's a meaningful degree of overhead in how async is being used in `DrainPacketQueue` that can be avoided by switching to a dedicated thread to handle the processing....
https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2347204/ https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2357615/
Our NuGet package structure doesn't make it really nice and easy to develop an MSBuild plugin (usually a task assembly). We can improve things! - [ ] #4198 - [...
This epic contains the user stories for regression testing Justification: - decrease the risk of regression - decrease the time spent on 1st / 3rd party support troubleshooting the issues
This Epic is focused around removing bottlenecks in common MSBuild tasks, targets, and the engine itself. - [x] https://github.com/dotnet/msbuild/issues/7126 - [ ] https://github.com/dotnet/msbuild/issues/4025 - [ ] #6613
The following issues are centered around memory and allocations. Most of them are marked with `size:1` because they track the investigation which we choose to time-box to one day. -...