-
-
Notifications
You must be signed in to change notification settings - Fork 2.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
Upgraded to Chromium 31 and changed CEF dependency to use native NuGet packages #288
Upgraded to Chromium 31 and changed CEF dependency to use native NuGet packages #288
Conversation
Its adding https://staging.nuget.org where the cef.redist package temporarily lives
This is the output from running nuget like this - I think: PM> Install-Package cef.redist -Pre -ProjectName CefSharp.Wpf.Example
+ a fix to the temp NuGet.config VS2010 was yelling about
We get them from the cef.redist NuGet now
…arp.Core is now NuGet powered!
This reverts commit e25e55c.
Nice one! I will try this now as soon as I can find some time. |
@jornh nice work, I just tested on my machine and it is building with vs2013 and running! |
@brock8503 thanks for testing thus far and I'm really glad it "just worked". Then, I guess your excuse for not being able to hack away on CefSharp is gone now 😉 Please provide feedback if you come across something that looks broken. |
@jornh, tried this now w/ VS2012 but I get this error when compiling:
Do you need anything special to get the |
Aha, VS2012 - see the note at the top of the page. Try VS2010 first if you have it. I don't have VS2012 installed so it's libs are not in the The packages.config is where VStudio integrated GUI NuGet wanted to put it: .nuget/packages.config for the whole solution. |
Alright. Thanks for the file location, I saw it now. Apparently the package is installed as a "solution package" instead of a "project package" (which is normally the case for C# stuff). I can compile |
Compile using For added bonus email the wrapper-libs to me and they will be in next CEF.sdk NuGet 😄 |
@perlun are you stuck or progressing here? Anything I can do on this now? Write a "proper" guide on something on either the cef-binary or CefSharp side of the "NuGet wall" - or fix some "code"/scripting? (BTW I just looove the refactoring support the is in the Also regarding "solution level" vs "project level" NuGet dependency - I'm not familiar with preferred conventions and pro/con + tool limitations on this. Maybe something we need to discuss - when you got some 3.31 running - because whatever we choose I guess it will come and haunt us from now on muhahaha when we take the plunge on native nugets. update: a pro "solution" level argument http://blog.spinthemoose.com/2013/04/21/nuget-tip-3-manage-packages-at-the-solution-level/ and a pro "project level" http://nuget.codeplex.com/workitem/2251 |
I started looking at creating a My idea is to provide I know you might not be a big Ruby fan (yet 😉) but I feel it will be very convenient that way. Yes, people might have to do |
(we moved that discussion to cefsharp/cef-binary#5, where it better belongs - good point, @jornh) |
And vice versa - redirecting from cefsharp/cef-binary#4 (comment) to here:
Now this is something I feel we should be focusing on immediately - because that's the actual blocker for #288 being able to land as it stands right now (unless you want to focus on getting a non -pre 3.29 out the door before that?). I already did the "clean slate thing" in both VS2010 and VS2013 - with success. We also have @brock8503 confirming above that it "just works" ... I have NuGet 2.8 - could it be that I have relied on something in that? Try upgrading if you are on 2.7 or less? Or try dropping to either NuGet Duuh just realizing the package doesn't contain any VS2012 libs - still you should be able to auto-restore .... |
Duh. You know what? I was having NuGet version 2.2. Of course it won't work with that kind of ancient version! 😃 I tried upgrading now to 2.8, but unfortunately it doesn't seem to make one tiny bit of a difference. 😢 I grepped the code, and I just cannot see how it fits together. Normally, in my world view, there are one or more lines added to the
...does not give me anything valuable at all. And it doesn't restore the What am I doing wrong? 😛 |
Ahh! Well, you might have been the first trying that with the new
Oh, I think you are revealing enough about "normal NuGet user expectations" now that I can see where the ends doesn't meet:
Let's see if we can get it running on your machine with a little hand holding (maybe even some force feeding). We might need this as a sort of stepwise troubleshooting guide anyhow:
|
- so bump `cef.sdk` in a non-DRY manner - I also threw in a small .gitignore OCD change
Thanks Jørn! I now managed to use the Restore button and got a lot further with the build. Of course it failed, but now because of
Ahhh... I see. 😃 Yes, we should definitely clean that part up before we're really ready. I don't know if it's possible to add Anyway. I'll send you a vs2012.zip with some .lib files in a minute, by email. You can then make a new (pre)release of cef.sdk so we can compile with VS2012 also. |
Also it's dried up now relying on `cef.sdk.props` setting $(CefSdkVer) It requires cef.sdk NuGet version -pre2
There is now a new A fresh zip download (or |
This is what goes into the `CefSharp.Common` and `.Wpf` Nugets version 3.31.0.pre-1
Most excellent, buddy! 😃 Currently downloading the package. I can clearly see that splitting Since that might not be trivial, I think we go with the monolithic approach for now. (I mean, isn't the Linux kernel a massive success after all...? 😉) Merging in a few minutes. |
…d-rebase Use Chromium 31 and native NuGet packages, to avoid the massive repository bloat we've previously had. Thanks to @jornh for spending quite a massive amount of work on this one!
The compilation worked fine for me with VS2012 now. Just a few suggestions now:
|
…ually actually (or if I did, it was at least not today :-) Could be a difference with VS2012 and 2013 I guess.
…nything here manually actually (or if I did, it was at least not today :-) Could be a difference with VS2012 and 2013 I guess." This reverts commit 71ec685.
This should be a good step towards closing both #237 and #250
#237: move to the CEF release based on Chromium 31
#250: Support building CefSharp with VS2013
NOTE: Merging this PR means that building of a CefSharp
git clone
from now on relies on a working NuGet setup on your machine - which IMHO you should have anyway :-) The big benefit of this approach is that we can stop polluting the CefSharp repo with binaries in/CEF
.Thecef.sdk
NuGet is still missing some libs - I need someone with VS2012 to help build those.But I thinks it's ready for review by someone with VS2010/VS2013 -
and for now only the Win32 "pivot" (or should we say specificity 😄)I'll start expanding the
cef.sdk
NuGet with the VS2010/VS2013 x64 libs now