You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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...
5/8/2015 7:51:01 PM - Found installed product - Microsoft Visual Studio Professional 2015 RC
5/8/2015 7:51:01 PM - Found installed product - Microsoft Visual Studio Community 2015 RC
5/8/2015 7:51:01 PM - Found installed product - Microsoft Visual Studio 2015 RC Shell (Integrated)
5/8/2015 7:51:01 PM - Found installed product - Global Location
5/8/2015 7:51:01 PM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
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...
5/8/2015 7:51:01 PM - Found installed product - Microsoft Visual Studio Professional 2015 RC
5/8/2015 7:51:01 PM - Found installed product - Microsoft Visual Studio Community 2015 RC
5/8/2015 7:51:01 PM - Found installed product - Microsoft Visual Studio 2015 RC Shell (Integrated)
5/8/2015 7:51:01 PM - Found installed product - Global Location
5/8/2015 7:51:01 PM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
—
Reply to this email directly or view it on GitHub.
@kenjiuno, I don't understand exactly what's happening... The properties in NpgsqlConnectionStringBuilder have names like BufferSize, only the [DisplayName] attribute is "Buffer Size". AFAIK [DisplayName] is only for showing to the user, does VS try to call GetProperty with it somehow?
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 [Display] etc...)
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:
VS2015 Community RC - no other Visual Studio is installed.
VS2015 RC SDK
Setup_Npgsql-2.2.5.0-net45-r3
PostgresSQL 9.4 64 bit version
I have created the test console project following the procedure and installed the NuGet packages:
Npgsql version 2.2.5.0
Npgsql 2.2.5.0 for Entity Framework >6.0.0
Entity Framework 6.1.1 (don't use version 6.1.3, because it fails)
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.
Sorry for long blank.
I'm working on issue #622 : the possibility of non-GAC VSIX installation. There are at least 2 problems to be researched. It will take more than a week...
I'm asking because the official release is expected to be July 20th.
Wow it is almost near future!
Anyway, the most sure way is to do Npgsql GAC installation for DDEX support, for now.
However, I think that incoming Npgsql 3.0 and its EF support DLLs are distributed by NuGet or similar online distribution service.
How about this?
In this situation, I will be able to prepare following things for now:
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...
Activity
kenjiuno commentedon May 8, 2015
Hi.
I believe it will work on VS2015RC. Which Npgsql version: 2.2 or 3.0?
roji commentedon May 8, 2015
I haven't touched the DDEX provider at all for 3.0, so it should be really identical between the two...
kmschaefer commentedon May 9, 2015
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...
5/8/2015 7:51:01 PM - Found installed product - Microsoft Visual Studio Professional 2015 RC
5/8/2015 7:51:01 PM - Found installed product - Microsoft Visual Studio Community 2015 RC
5/8/2015 7:51:01 PM - Found installed product - Microsoft Visual Studio 2015 RC Shell (Integrated)
5/8/2015 7:51:01 PM - Found installed product - Global Location
5/8/2015 7:51:01 PM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
kenjiuno commentedon May 9, 2015
Hi.
Ok, I will work it on this night... 12 hours later.
Kenji uno 🔰
2015/05/09 9:45、kmschaefer [email protected] のメッセージ:
roji commentedon May 9, 2015
Thanks @kenjiuno :)
kenjiuno commentedon May 10, 2015
VS2015RC ddex support will take more times...
Sometimes ddex support will work, but sometimes it won't.
It needs some fixes.
For example,
CreateObjectwill returnAdoDotNetConnectionPropertiesinstance forIVsDataConnectionPropertiesquery.But, AdoDotNetConnectionProperties doesn't implement IVsDataConnectionProperties.
It sometimes causes
ServiceNotFoundExceptionand such.I'll report progress later.
roji commentedon May 11, 2015
Sure @kenjiuno, thanks for all the work :) We probably still have time for the final release of VS2015 anyway.
kenjiuno commentedon May 11, 2015
Hi.
I have noticed that some properties cannot be set values. This issue is seen on both Vs2013 and Vs2015.
The exception is thrown at
Npgsql.NpgsqlConnectionStringBuilder.GetProperty(String keyword)I don't really understand why setting property
Buffer Sizeinstead ofBufferSize. hmm...roji commentedon May 11, 2015
I'll try to take a look ASAP @kenjiuno
roji commentedon May 12, 2015
@kenjiuno, I don't understand exactly what's happening... The properties in
NpgsqlConnectionStringBuilderhave names likeBufferSize, only the[DisplayName]attribute is "Buffer Size". AFAIK[DisplayName]is only for showing to the user, does VS try to callGetPropertywith it somehow?kenjiuno commentedon May 12, 2015
Thanks for checking it.
Yea, exactly.
I'll check the property name where it comes from.
roji commentedon May 12, 2015
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
[Display]etc...)kenjiuno commentedon May 12, 2015
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
DataSourceproperty looks like just getter/setter forData Source.3 remaining items
Fixes to connection string builder
roji commentedon May 14, 2015
OK @kenjiuno, I did these changes, the
[DisplayName]attribute is now a valid keyword name (and even the canonical one)Please test and let me know if anything else needs work!
kenjiuno commentedon May 20, 2015
Hi sorry for late reply.
I'll test this, thanks!
kenjiuno commentedon May 23, 2015
Ok, Npgsql 3.0.0
developddex works on VS2013: both EFv5 and EFv6 projects.roji commentedon May 23, 2015
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.
franciscojunior commentedon May 23, 2015
Excellent work, @kenjiuno!!
JanRou commentedon May 25, 2015
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.
Emill commentedon May 25, 2015
Maybe silly question, but have you built your project once?
JanRou commentedon Jun 27, 2015
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.
roji commentedon Jul 11, 2015
@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.
kenjiuno commentedon Jul 12, 2015
Hi.
Sorry for long blank.
I'm working on issue #622 : the possibility of non-GAC VSIX installation. There are at least 2 problems to be researched. It will take more than a week...
Wow it is almost near future!
Anyway, the most sure way is to do Npgsql GAC installation for DDEX support, for now.
However, I think that incoming Npgsql 3.0 and its EF support DLLs are distributed by NuGet or similar online distribution service.
How about this?
In this situation, I will be able to prepare following things for now:
Npgsql GAC install from your projectLook into VSIX for DDEX? #622 (comment)CheckNpgsqlStatusvsix addon in development stage. https://github.com/kenjiuno/Npgsql/wiki/CheckNpgsqlStatusroji commentedon Jul 12, 2015
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...
kenjiuno commentedon Jul 14, 2015
@roji thanks, I'll try non-GAC version!
roji commentedon May 8, 2016
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.