ErikEJ / EntityFramework6PowerTools

This is the codebase for Entity Framework 6 Power Tools Community Edition, and modern EF 6 providers for SQL Server and SQL Server Compact
Other
183 stars 27 forks source link

No Context Menu After Install #24

Closed MajorMajor0 closed 6 years ago

MajorMajor0 commented 6 years ago

Windows 10 Visual Studio Community 2017 v 15.3.3

The application is currently built on the following

Apparent successful install of Entity Framework 6 Power Tools Community Edition 0.9.42 Extension shows up as installed under Extensions and updates No Entity Framework context menu when right clicking on any file

ErikEJ commented 6 years ago

Is it a VB project?

MajorMajor0 commented 6 years ago

No sir. C#, WPF.

ErikEJ commented 6 years ago

Can you provide a repro project.. ?

MajorMajor0 commented 6 years ago

Will do this evening.

MajorMajor0 commented 6 years ago

I should ask before you spend time debugging, is there a step I should have taken after running the vsix file to make the extension active in the project?

ErikEJ commented 6 years ago

No, once installed it should appear in the Project context menu

MajorMajor0 commented 6 years ago

Repro.zip

My machine is Windows 10, by the way.

The connection string is hard-coded, so the project directory is "C:\Source\Repro".

There is really nothing to this project, but it reproduces the problem, which increases my suspicion that I am doing something stupid.

I've also posted screens of the other extensions that are apparently installed. I have no recollection of installing the overwhelming majority of these.

ext1 ext2

MajorMajor0 commented 6 years ago

In addition to the Repro project above, the actual project is here. https://github.com/MajorMajor0/Robin

ErikEJ commented 6 years ago

The PowerTools are mainly for projects without an EDMX file, in order to invoke them anyway, you must expand the EDMX file and right click on the ReproDataModel.Context.cs file to get the "Entity Framework" menu

MajorMajor0 commented 6 years ago

There is no context menu regardless of which file I click on. I don't really need any of the power tools other than generating views. I'm trying to precompile the views to speed up the first queries, which are painfully slow right now. All of the guidance that I've found on compiling views seems to not work with SQLite.

ErikEJ commented 6 years ago

I have no issue with getting the context menu to show on my system, for the Context.cs file or the EDMX file. So I am suspecting that your VS install is somehow broken, maybe you have duplicate installs of the extension, you can check you Extensions folder in %localappdata%

MajorMajor0 commented 6 years ago

Thanks. Scrubbing VS deeply from the system and reinstalling solved the problem.

JRichmond27 commented 5 years ago

Is it a VB project?

@ErikEJ Is this extension only for C# projects?

ErikEJ commented 5 years ago

Yes

JRichmond27 commented 5 years ago

Thanks. Couldn't find that info anywhere in the documentation.