Warning "Project is not a VS Project"
Status: Beta
Brought to you by:
nimble99
I was using version 1.0.0.2 without experimenting any problem until I upgrade to 1.0.0.3.
When I add a new NHibernate Plugin to my project, I receive the following warning "[...] 'NHibernateMappingCodeGeneratorCustomTool'. Project is not a VS project.".
Then, the schema window doesn't synchronize with my database when I drag&drop elements into it.
I decided to install 1.0.0.2 back, the previously named warning remains, but everything works (setting connection string, adding tables, synchronizying, renaming attributes) until I save the schema : no class is generated.
Please, note that I also upgraded Nhibernate from 1.2RC2 to 1.2 when I decided to upgrade your tool.
Logged In: YES
user_id=1236103
Originator: NO
This is a known issue with VS Automation, it was present in all version of the NHibernate Plugin to date.
Is usually occurs when adding an NHibernate Schema file to a _new_ project.
The current solution is to close the VS Solution, and re-open it, the 'Custom Tools' should now execute correctly.