msbuild
msbuild copied to clipboard
The Microsoft Build Engine (MSBuild) is the build platform for .NET and Visual Studio.
### Issue Description Im hosting my code in Azure DevOps and Im using Yaml pipelines to build my app. I tried to run a pipeline today but I got an...
- Null annotate file - Remove some redundant code - Consolidate validation - Reduce branching during construction - Documentation updates - Generally reduce the number of diagnostics displayed in the...
https://github.com/dotnet/msbuild/blob/9af8ff2f951017996172e5b805651ebf957e97f4/src/Tasks/Microsoft.Common.CurrentVersion.targets#L3667-L3689 I think the problem is that the condition on the target doesn't match the condition on the WriteLinesToFile task. I think we should add `and '$(TargetFrameworkMonikerAssemblyAttributeText)' != ''` to...
### Issue Description When building a project that contains reference to another project which includes dynamically generated code, the build fails. ### Steps to Reproduce [GeneratedCodeBuildFail.zip](https://github.com/dotnet/msbuild/files/5007896/GeneratedCodeBuildFail.zip) Command: msbuild GeneratedCodeBuildFail We...
### Context This PR targets the specific scenario of constructing a ProjectInstance object from the evaluation data stored in CPS's evaluation cache, with the goal of saving memory and execution...
Introduce a simplified and transparent way for getting sdk bits and patching the changes to them using install-scripts.
### Issue Description Suppose you have three totally independent packages that provide analyzers that leverage additional files to do some processing. Additionally, all packages consume the same file types (i.e....
Fixes # ### Context ### Changes Made ### Testing ### Notes
### Issue Description `CoreCompile` target calls `Csc` with `KeyFile="$(KeyOriginatorFile)"`. This `KeyOriginatorFile` property is set by the `ResolveKeySource` target. `ResolveKeySource` target is not a dependency of `CoreCompile` (although it is a...
Fixes #2981 and probably #10286 ### Context `ToolTask` can hang when child process spawns a grandchild process that doesn't exit. ### Changes Made Using different overload of `WaitForExit` to avoid...