-
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
[Feature Request]: Better documentation and examples around BuildManager #9417
Comments
A reasonable request! Quick answers:
File/console/binlog are what we offer builtin; writing your own in-memory logger makes sense to me.
Use
Generally, you can use
This is an advanced feature you probably don't want to use; see https://github.com/dotnet/msbuild/blob/3b59113aa9333f52efc4ab6bf96d713d05d604d1/documentation/specs/static-graph.md#single-project-isolated-builds. It's useful for a higher-level build engine that treats "MSBuild project execution" as a single unit. |
So a bit of context, I am writing a long living build host that we will ipc from Unity for invoking builds from for our work towards MSBuild. |
@rainersigwald a bit more questions about BuildManager and ProjectCollection and documentation. We have 1 BuildManager thats shared for all our compilations, but separate ProjectCollections for each "Project" graph. We are running into exceptions happening in the |
@rainersigwald additional questions that would be nice to get added to the documentation. ProjectPluginCache:
Evaluation:
|
Summary
General MSBuild documentation are really good, but when it comes to
BuildManager
the documentation are almost non existent, the API documentation contains no examples or further explanation.The only way to understand
BuildManager
are to go digging in MSBuild source code.What im specifically looking for:
BuildRequestData
orGraphBuildRequestData
BuildManager.DefaultBuildManager
reading this seem to suggest shared cacheInputResultsCacheFiles
/OutputResultsCacheFile
, its not intuitive. In the beginning I thought it was cache of Target Inputs/Outputs caching, but it dosnt seem thats the case.General best practices, and usage examples would be really beneficial in this area.
Background and Motivation
Using more time than needed looking at MSBuild source code to know what to do
Proposed Feature
Add more documentation :)
Alternative Designs
No response
The text was updated successfully, but these errors were encountered: