-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Building on Server Core #23433
Comments
@weshaggard @joperezr you guys are working to enable this I think? |
Yes this is something we are working towards but as it stands we don't have all the pieces ready and so building our repo's directly on Windows Server Core doesn't work yet. There are currently 2 big dependencies on VS.
We are actively working on (1) but it is still a ways out. For (2) we don't yet have a solution I've started conversations with the VC++ team but we don't have a working solution yet. |
@weshaggard I see. Is there any place where I can track updates on this? I'd like to try it out as soon as this is available. |
@bazzilic for now we only have some part of these changes in a private fork: https://github.com/joperezr/corefx/tree/WIP That said, in order for that fork to build correctly you would also need buildtools changes that are not checked in yet which is why there is no real easy way to try this out for now. The plan is that in the next few days/weeks we will eventually get these changes on the main fork (probably not in master branch, but in a feature branch instead). I will update this issue when that happens so that you can sync and try it out. |
@joperezr thank you, looking forward to it. |
@joperezr @weshaggard is there an update on this? Which pieces in corefx still require the desktop msbuild? What about the VC++ libs? |
Number 1 from above is done since we already use the CLI's msbuild in order to build corefx. Also, we made a lot of progress into removing dependencies to VS by transforming all of our projects into SDK-style projects. However, we still have Number 2 pending, since we still have that external dependency of needing the VC++ headers and libs. In theory, you should be able to build all of our managed build without VS installation though since the VC++ libs and headers are only required for the native build. |
Correct me if I'm wrong but aren't we still using the Developer Command Prompt (probably to use the desktop msbuild) during .\build for some parts? i.e. native parts |
We are using developer command prompt, but we don't call msbuild anymore. If you build using |
Ok makes sense. -Thanks for the update. |
I strongly believe we should find a solution for |
Duplicates dotnet/arcade#64 |
According to this (https://github.com/dotnet/corefx/blob/master/Documentation/building/windows-instructions.md), building requires VS 2015 or 2017 installed. And the build script actually stops if they are not found.
Then, according to this (https://www.visualstudio.com/en-us/productinfo/vs2017-system-requirements-vs), VS 2017 can't be installed on Windows Server Core (or can it?).
Does this mean, we can't build dotnet on a Server Core? Specifically, I want to build from source in a docker container to have clean, reproducible environments.
The text was updated successfully, but these errors were encountered: