Skip to content
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

Is it possible to nuget MSBuild so all build dependencies downloaded without VS/Tools install? #2209

Closed
AnthonyLloyd opened this issue Jun 12, 2017 · 2 comments
Labels

Comments

@AnthonyLloyd
Copy link

We can paket/nuget FSharp.Complier.Tools and FSharp.Core etc but we still need to install either VS or VS Build Tools for MSBuild.exe.

I see there is Microsoft.Build & Microsoft.Build.Runtime in nuget also and was thinking that these could be used to be able to make all dependencies bootstrapped from a build.cmd.

I've tried but MSBuild.exe is in a different package to Microsoft.Build.Framework.dll and fails. I can't see to get it to work.

Is what I'm trying to do possible or advisable? Seems so close. Would mean builds could be done on servers without installs.

Thanks

@rainersigwald
Copy link
Member

It is close, but not yet. This is the idea behind the Sdks feature that we've started rolling out with MSBuild 15, but it won't be fully possible until there's a NuGet SDK resolver (NuGet/Home#5220) and a distribution of MSBuild (NuGet package or even plain zip file) that uses it.

I'm closing this because I believe it's tracked elsewhere (for example in #1493) but please give feedback if you think we've missed any of the major scenarios. The core team is definitely aware that ideally we'd have "download MSBuild thing, do no installs, invoke build, build succeeds".

@AnthonyLloyd
Copy link
Author

Great. I look forward to it. Thanks.

@AR-May AR-May added the triaged label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants