msbuild
msbuild copied to clipboard
The Microsoft Build Engine (MSBuild) is the build platform for .NET and Visual Studio.
### Context There is large code repetition created by copy pasting the event handlers invoking https://github.com/dotnet/msbuild/blob/main/src/Build/BackEnd/Components/Logging/EventSourceSink.cs#L321-L977 We should be able to easily extract tho code using generic delegates and reduce...
### Issue Description When deploying a blazor wasm app in dotnet 6, 7 & 8 the integrity of the dlls/wasm files are invalid, randomly. when running `dotnet publish -o ../wwwroot`...
### Context We need to distinguish restore is happening for the BuildCheck feature (namely for https://github.com/dotnet/msbuild/issues/9747) This is not currently possible until receiving BuildEvaluationFinished. Team decided that it's more future...
I am in possession of a binlog that looks like this  So it did evaluation, including firing the import events AND EMBEDDING THE FILES but somehow didn't report post-evaluation...
### Issue Description Having a project under a long path does not work. ``` dotnet build D:\foo\github\projects\super_long_project_name_that_keeps_going_and_going_and_never_seems_to_end\src\data\files\documents\category\sub_category\type\long_directory_name_with_lots_of_details_and_information\more_files\even_more_nested_folders_with_descriptive_names\additional_folders_for_length\final_directory_with_ver\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj -v:diag MSBUILD : error MSB1009: Project file does not exist. Switch: D:\foo\github\projects\super_long_project_name_that_keeps_going_and_going_and_never_seems_to_end\src\data\files\documents\category\sub_category\type\long_directory_name_with_lots_of_details_and_information\more_files\even_more_nested_folders_with_descriptive_names\additional_folders_for_length\final_directory_with_ver\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj ```...
Contributes towards #9883 ### Context This is 2nd from sequence of 3 changesets delivering the "Undefined Property Used" BuildCheck This changeset wires the property read and write info to the...
Working on [AB#1827820](https://devdiv.visualstudio.com/0bdbc590-a062-4c3f-b0f6-9383f67865ee/_workitems/edit/1827820) ### Context BuildIncludeOperation is allocate-y. davkean found a case in which it was allocating over 900 MB/s. This tries to make it a bit better. ### Changes...
_From @evildour on July 5, 2017 15:54_ ## Steps to reproduce Create new .NET Core class library (and solution) in VS 2017 Right click solution and add new .NET Core...
Fixes [#4272](https://github.com/dotnet/msbuild/issues/4247) ### Context https://github.com/Microsoft/msbuild/blob/94e11e0a773bc8956caf128335433231bb06fed5/src/Build/BackEnd/Components/RequestBuilder/IntrinsicTasks/MSBuild.cs#L314 . https://github.com/dotnet/msbuild/blob/85b71777ad1e46a29e7a8dc24932df83edf1d218/src/Shared/FileUtilities.cs#L1192-L1199 In the function AttemptToShortenPath, It is only dealing with the path is long than the max path. So, when project path includes multiple...