-
-
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
RFC - CefSharp 41 VC++ 2013 #907
Comments
The upcoming |
Good with me. |
How about .NET framework dependency? We still have cases where we must be able to embed CefSharp in .NET 4.0 (not 4.5) apps, where it simply unfeasible to require all users to download .NET 4.5.1 just because of CefSharp. So from my POV, that would be my main concern. IIRC, this is the way it is (http://stackoverflow.com/questions/2921702/change-c-cli-project-to-another-framework-than-4-0-with-vs2010)
This is a very stupid limitation, but I guess the core reason behind it is the fact that the C++/CLI toolchain ties much more tightly together with a specific .NET version than the .NET compiler, or whatever. Anyhow - as far as I'm concerned, I know that I will have problems upgrading some of our customers to a version of our platform that would depend on NET 4.5. Others would work fine, but maybe we just have to live with this? I mean, we can still provide a version based on CefSharp 37 (or 39) to the "legacy" customers. I don't want to force my personal preferences to force everyone else to use antiquated versions of Visual Studio... If/when we do this change, we could drop the VS2010/VS2012 settings. At the moment, I think stuff is a bit conditionalized. We can still keep the conditionalization, since we might need it for VS2013/2015 eventually. |
I was under the impression it was possible, just had to be done by hand. I haven't verified this, just going by what I've read. http://stackoverflow.com/questions/2921702/change-c-cli-project-to-another-framework-than-4-0-with-vs2010#comment36808506_2921868 |
It is possible, but you will then have to have the VS2010 tools installed as well. 😄 That's unfortunately how C++/CLI works. There's (to the best of my knowledge) no way around that. |
Gotcha, thanks for the clarification 👍
Whilst the build script still has support for I'm surprised at how many people are still using .Net 4.0. Anyways, I'm curious to see if anyone else has comment. |
Interesting. I was not aware of that behavior of CLI/C++, how annoying. Hrm. I think I'll have to ponder this some more. Ugh. Bill |
I am currently using visual studio 2013 and shipping 2013 C++ requirements out. I am also using .Net 4.0 not .Net 4.5.0 or 4.5.1.. I just weed out the parts that use those commands and build back to .NET 4.0 standards. I am forced to use .NET 4.0 at the moment not because of Windows XP But rather than MAC and Linux requirements most of the emulators support up to .NET 4.0 but do not support anything newer David |
There's nothing to be surprised, net4.0 is still needed because of support legacy OS'es like Windows XP (which is still showing significant usage % (15-20), even better than 8.1 lol) and other stuff mentioned above. |
Cutting As it stands I think |
@lamerbug @rover886 @ray007 @murphmar @ulmer-morozov @BestofBestDeokwan Is anyone prepared to put in the hours to help support |
It should be noted that |
Well, I would think about it... At least, I had many hours building and debugging and reading tha' freaking sources to get previous release running smooth on XP/VS2010/net40 ) so maybe I can help someone.
oops... So it just won't run on XP anymore or what do they mean? |
http://chrome.blogspot.dk/2015/04/providing-updates-for-chrome-for-xp.html Says they originally planned to kill it April 2015 |
Let's not mix things up here. There are two different requirements:
The first may require a bit of work, and one or more volunteers willing to do the job. The second is not as awkward, but it means that we still need to keep the project compilable using VS2010 (AppVeyor will let us know if it's not, since I know many of us probably don't use VS2010 any more). My suggestion:
As stated, I personally need .NET 4.0. Background: we are integrating CefSharp in an application platform provided by a 3rd party and some of our customers are still holding on to older versions of the application framework (ERP customers don't tend to upgrade every other day). In other words, we do not have full control over the environment in question, so enforcing .NET 4.5 is simply not doable. So I personally very much need .NET 4, at least for some year more or so. I might be able to contribute the needed time for supporting this, since it is in my employer's interest that this will work. In other words, if this means time/work needed - contact me @jornh and/or @amaitland. |
The problem becomes compiling
Are you limited to using |
I am agree with this. currently my organization is using VS2010, so for us it's not so possible to install VS2012/VS2013/2015 😃. I am also agree with @perlun we should have support for VS2010. What if any contributor do the build in VS2010 and give it to CefSharp? Like, when a new version of CefSharp is released, a contributor will build script for VS2010. For version 37 I personally build CefSharp in VS2010 after reporting issue and under the guidance of @amaitland , @jornh (issue #810 ) |
As far a the redist is concerned - no. That can work. But can you really create .NET 4 stuff w/ VC++ 2012 using C++/CLI? Isn't it still so that VC2010 = .NET 4, VC2012 = .NET 4.5 (as a base dependency)? |
That's actually not an issue since AppVeyor fixes that for us. 👍 😄 |
The current release is built for |
There is nothing stopping anyone from repackaging |
As far as I can tell from this discussion, there are three main concerns with a VS2013 upgrade:
For the first: as mentioned, the VS2013 Community Edition is available free of charge (for home users and small companies), and I think that's a convincing argument that it should not be much of a problem. For the second: although VS2013 has a requirement on .NET 4.5, that only applies to the development environment itself. It can still create .NET 4.0 applications and libraries. A VS2013-built CefSharp application works even if .NET 4.5 is not installed on the end user's system. For the third: the current CefSharp 39 releases cannot work on XP. (Manual builds using an up-to-date version of VS2012 do work, but AppVeyor appears to be using an older update version of VS2012.) Upgrading to VS2013 actually fixes this. I've brought up the problem in issue 1007, and have successfully tested VS2013-based AppVeyor builds on Windows XP. So I'm all in favour of the upgrade. |
Rather than delay For version |
Unfortunately, this is not true when speaking about C++/CLR. Only regular .NET works that way. C++/CLR is much tighter coupled to a particular .NET version. |
I tested a VS2013-based build (from AppVeyor) on XP, where .NET 4.5 isn't even available, before making that comment. You can see my fork here. Did I miss something in the update? |
So we're looking at upgrading the current
VC++ 2012
requirement toVC++ 2013
for the next major release (Based on thecef
2272
branch).This will also mean that the minimum requirement for for developing
CefSharp
will beVS2013
. As theCommunity Edition
is now freely available, this shouldn't be too much of a hurdle for people. WhenVS 2015
is released, we'll look at adding additional support.Now's the time to have your say!
The text was updated successfully, but these errors were encountered: