-
Notifications
You must be signed in to change notification settings - Fork 420
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
Update MSBuild packaging #705
Update MSBuild packaging #705
Conversation
…ProjectSystem initialization
…rosoft.Net.Compilers package
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.
Do we have to do anything to load the runtime or is that part of the additional changes you alluded too?
Otherwise looks good if you want to merge go ahead.
/// <summary> | ||
/// Downloads and unzips a NuGet package directly without any dependencies. | ||
/// </summary> | ||
void DownloadNuGetPackage(string packageID, string version, string outputDirectory, string feedUrl) |
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 think the latest cake build handles these cases, but I'll circle back and look at that this weekend (god I hope)
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.
This is actually dead code. I started out downloading directly and eventually just decided to install a packages.config. I'll delete that in a future update.
Dropping netcoreapp1.0 and moving to the embedded Mono will need to be a separate thing. |
Note that the artifacts have increased in size now that we have to include several .NET SDKs. 😞 |
15 and 30 megs isn't too bad |
It's a smaller increase on net46, which is good since that's what I want to focus on. |
…mful) on net46 builds targeting Mono
68eaf4e
to
5071d3c
Compare
c871eee
to
023e2c1
Compare
023e2c1
to
386d3e3
Compare
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.
👍
{ | ||
var msbuildFolder = Path.Combine(AppContext.BaseDirectory, "msbuild"); | ||
|
||
if (!Directory.Exists(msbuildFolder)) |
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.
This is strict to support the "I'm developing OmniSharp" scenario?
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.
Yes, FindMSBuildFolder(...)
supports debug-time and unit tests.
Thanks for the review! |
This is a fairly significant change to rationalize how MSBuild is packaged with OmniSharp.