-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: build /p:CreateBootstrap=true doesn't create a boostrap #10717
Comments
I think bootstrap was primarily targeted to produce a rehostable version of the desktop MSBuild, and it seems to be working fine for that purpose. Assuming you cloned MSBuild at C:\MSBuild the binary would be at and the root directory would be at You can just zip or copy that directory and it should be self-contained. The Core MSBuild is somewhat limited (e.g. it won't build WPF projects for example). |
To clarify: I'm not saying there isn't a bug, it may still be broken and still needs fixing. Just pointing out that the desktop version has been working fine for years for me (and I've never tried to use the Core bootstrap version) |
The behavior for .NET was improved - to create fully functional patched version - see: https://github.com/dotnet/msbuild/blob/main/documentation/wiki/Bootstrap.md#current-implementation-for-net @KirillOsenkov - I believe you should be now able to use Core bootstrap to build WPF as well (as soon as it's possible with fresh latest release NET sdk). @YuliiaKovalova - the doc pointed by @jrdodds might need update. |
Thanks for updating the documentation. Quick testing shows that the artifacts/bin/bootstrap directory is now always created on a A search for "CreateBootstrap" across the repo turns up a few references in documentation files and build script files. Maybe these are dead files. Regardless, the new behavior is an improvement and I'm updating my workflow. |
|
Issue Description
After running
./build.sh /p:CreateBootstrap=true
orbuild.cmd /p:CreateBootstrap=true
I expected to see aartifacts\bin\bootstrap\net9.0\MSBuild\MSBuild.dll
file. Theartifacts\bin\bootstrap\net9.0
is not created.Has the bootstrap been changed? A
core
folder with adotnet
executable is created. Is this an expected change in behavior?In Building-Testing-and-Debugging-on-.Net-Core-MSBuild.md there is a sentence:
Is this document out of date? Is it now
./artifacts/bin/bootstrap/core/dotnet <project_file>
?Steps to Reproduce
./build.sh /p:CreateBootstrap=true
(*nix) orbuild.cmd /p:CreateBootstrap=true
(Windows)Expected Behavior
In the past a framework folder would be created within
bootstrap
.Actual Behavior
A
core
folder with adotnet
executable is created. Is this an expected change in behavior?Analysis
No response
Versions & Configurations
No response
The text was updated successfully, but these errors were encountered: