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

VS2017 build support (using the VS2015 tooling) #2179

Merged
merged 3 commits into from
Nov 29, 2017
Merged

VS2017 build support (using the VS2015 tooling) #2179

merged 3 commits into from
Nov 29, 2017

Conversation

japj
Copy link
Contributor

@japj japj commented Oct 29, 2017

note: I redid the pull request for a more clean version.

Added support for VS2017, using the VS2015 toolset (use the VS2017 installer to install this toolset).
I also added a config file for the "Microsoft Child Process Debugging Power Tool" which will allow automatic debugging of child processes.

I updated the nuget url, since appveyor could not install xunit.abstractions 2.0.1 with the old nuget.

I extracted the PostBuild script into the CefSharp.props file and tried to keep the behaviour the same for non-VS2017 (however, I cannot test that without VS2013 and VS2015, but it succeeds on appveyor).

Note though that the CefSharp.Test OffScreenBrowserBasicFacts tests are failing and I am unsure if that is expected (since they were only recently added and I don't see a succesfull appveyor build yet).

Copy link
Member

@perlun perlun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for this! 👏 👏 👏 Awesome fix, I tested this on my local VS2015 and VS2017 now and it seems to work fine. The best part about is that it does not break VS2013 (but we probably want to drop it sooner or later, once no-one demands support for it any more.)

(If/when we change the AppVeyor builds from VS2013, we probably have to distribute both VC++2013 and 2015 redist, which is a pain in the neck, so we should recompile the cef-binary wrapper with VS2015 if/when that hapens.)

@perlun perlun merged commit 049181b into cefsharp:master Nov 29, 2017
@japj japj deleted the PR-vs2017 branch December 2, 2017 20:59
amaitland added a commit that referenced this pull request Dec 20, 2017
VC++2017(v141) is compatible with VC++2015(v140), which enables us to use the v141 toolset to compile against the
v140 libcef_dll_wrapper.lib - not necessary to install the VC++2015 compiler as part of a clean VS2017 install

Follow up to #2179
@amaitland
Copy link
Member

Changed to target v141 toolset, so no longer be necessary to install VC++2015 tooling when using VS2017. Commit 05f0fa0

@McXX
Copy link

McXX commented Jan 15, 2018

The new version still uses VS2015 libs from cef.sdk package as VisualStudioProductVersion was not changed.
Sorry, in fact there's no 2017 version of cef.sdk libraries yet. I compiled cef.sdk with 2017 and reused it locally.

McXX added a commit to McXX/CefSharp that referenced this pull request Jan 15, 2018
Corrected VisualStudioProductVersion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants