-
Notifications
You must be signed in to change notification settings - Fork 822
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
DDEX VSIX for VS2015RC #598
Comments
Hi. I believe it will work on VS2015RC. Which Npgsql version: 2.2 or 3.0? |
I haven't touched the DDEX provider at all for 3.0, so it should be really identical between the two... |
I got Visual Studio 2015 RC installed and tried getting version 3.0.0.0 working. When I tried to install the Visual Studio extension, it failed to install. Looking at the install log, it can't find an applicable version of Visual Studio. I don't know how to modify the DDEX provider configuration to force it to install. 5/8/2015 7:51:01 PM - Searching for applicable products... |
Hi. Ok, I will work it on this night... 12 hours later. Kenji uno 🔰 2015/05/09 9:45、kmschaefer notifications@github.com のメッセージ:
|
Thanks @kenjiuno :) |
VS2015RC ddex support will take more times... Sometimes ddex support will work, but sometimes it won't. It needs some fixes. For example,
But, AdoDotNetConnectionProperties doesn't implement IVsDataConnectionProperties. It sometimes causes I'll report progress later. |
Sure @kenjiuno, thanks for all the work :) We probably still have time for the final release of VS2015 anyway. |
I'll try to take a look ASAP @kenjiuno |
@kenjiuno, I don't understand exactly what's happening... The properties in |
Thanks for checking it.
Yea, exactly.
I'll check the property name where it comes from. |
OK @kenjiuno, let me know if I can help in any way. It's also strange because in 2.2 the connection string builder wasn't very different (properties had |
Hi. It seems to be by design... AdoDotNetConnectionProperties.ToDisplayString() calls PropertyDescriptor.DisplayName to build connection string. (checked by ILSpy) I have checked SqlConnectionStringBuilder's "Data Source" for example. http://referencesource.microsoft.com/#System.Data/System/Data/SqlClient/SqlConnectionStringBuilder.cs,399 I don't really understand the detail implementation, but |
OK @kenjiuno, I'll take care of this in the connection string builder. |
Hi. Is it OK to use
This works well! Also it needs TryGetValue I have written for 2.x @e70c665edbf7c5672d6f83282aeb69be22edabb6 EDM wizard also works well! |
Great that it's working! I'll make the change today to the behavior used by SqlClient, it should fix this issue. I'll also do |
OK @kenjiuno, I did these changes, the Please test and let me know if anything else needs work! |
Hi sorry for late reply. |
Ok, Npgsql 3.0.0 |
Great work @kenjiuno! I plan to release 3.0.0-beta1 at some point this week, it would be great to release the DDEX VSIX after it. I'll drop you a note when I release. |
Excellent work, @kenjiuno!! |
I have successfully got Entity Framework 6.1.1 up in VS2015 Community RC. The first attempt failed with Entity Framework 6.1.3. I have followed the Visual Studio Design Time Support DDEX Provider procedure. I have installed:
I have created the test console project following the procedure and installed the NuGet packages:
Voila the database model appears. |
Maybe silly question, but have you built your project once? |
Yes. I'm looking forward for support of 6.1.3 and especially code first support, which will position Postgres as and complete equivalent and better choice than MS-SQL. You will get database partitioning and ORM for free. |
@kenjiuno, I'm not sure anymore but does the DDEX provider support VS2015? Above we discussed Npgsql 3.0 support more than VS2015... I'm asking because the official release is expected to be July 20th. |
Hi. Sorry for long blank.
Wow it is almost near future! Anyway, the most sure way is to do Npgsql GAC installation for DDEX support, for now. In this situation, I will be able to prepare following things for now:
|
Hey @kenjiuno. Ah, I didn't know you were working on non-GAC VSIX installation, that's great. I think that for now there's now urgent need to change how the DDEX provider works - only to make it compatible with VS2015. For 3.0, it would be great if we could have a simple, clean VSIX that doesn't do anything with the GAC. An actual release of 3.0 is probably 2 weeks away (if nothing serious is reported), so you have time to work on that if you want. If you don't have the time to do it for the 3.0 release, we can always release the DDEX provider a bit later, I don't think it's a big deal... |
@roji thanks, I'll try non-GAC version! |
Closing this as we have DDEX for VS2015 with Npgsql 3.0.x. Work on a non-GAC VSIX DDEX extension can be tracked in #622. |
Hey @kenjiuno, with VS2015RC out maybe you'll have time to set up a VSIX for it?
The text was updated successfully, but these errors were encountered: