Menu

#7 Warning "Project is not a VS Project"

open
5
2007-05-09
2007-05-09
Anonymous
No

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.

Discussion

  • Adam Langley

    Adam Langley - 2007-05-09

    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.

     
  • Adam Langley

    Adam Langley - 2007-05-09
    • labels: 962717 --> Mapping Generation
    • assigned_to: nobody --> nimble99
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.