-
Notifications
You must be signed in to change notification settings - Fork 90
Register from path #35
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
Conversation
src/MSBuildLocator/MSBuildLocator.cs
Outdated
| /// path. | ||
| /// </summary> | ||
| /// <param name="msbuildPath"></param> | ||
| public static void RegisterMSbuildPath(string msbuildPath) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the casing be RegisterMSBuildPath with a capital B? That matches other APIs here.
rainersigwald
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/MSBuildLocator/MSBuildLocator.cs
Outdated
| /// Add assembly resolution for Microsoft.Build core dlls in the current AppDomain from the specified | ||
| /// path. | ||
| /// </summary> | ||
| /// <param name="msbuildPath"></param> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doc what this is: (absolute?) path to the folder that contains Microsoft.Build.dll?
samples/BuilderApp/Program.cs
Outdated
| MSBuildLocator.RegisterInstance(instanceToUse); | ||
| if (msbuildDeploymentToUse.VSInstance != null) | ||
| { | ||
| Console.WriteLine($"Using MSBuild deployment from VS Instance: {msbuildDeploymentToUse.VSInstance.Name} - {msbuildDeploymentToUse.VSInstance.Version}"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would not use the word "deployment" here. Just say Using MSBuild from...
Useful if you know exactly where MSBuild is, for example if you want to point it to the msbuild repo bootstrap directory.