This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi All, I downloaded NHibernate Designer today, but I am unable to create a model in Visual Studio 2010. Here is the relevant version information: Mindscape NHibernate Designer: 2.1.555.21807 Visual Studio: 10.0.40219.1 SP1Rel .NET Framework: 4.0.30319 SP1Rel Machine OS: Windows 7 Enterprise, Service Pack 1 When I open Visual Studio, I can see the installed extension in the Extension Manger (see attached file ExtensionManager.jpg). When I right click on my project and select Add ... New Item ... the icon and name in the Add New Item dialog do not match the screenshot in the help (see attached file AddItemDialog.jpg). If I change the name in the Add New Item dialog and click the Add button, I get an error (see screenshot AddTemplateError.jpg). I've checked the folder on the local machine and the Mindscape.NHibernateModelDesigner.DslPackage.dll is in there. Any assistance would be greatly appreciated. |
|
|
Sorry to hear you are having a problem. From the screenshots it looks like there is an exception occuring. Hopefully there will be some details about this in the Visual Studio activity log. Are you able to post this so we can review it for exceptions (if you can find the details yourself just post them rather than attaching the log). The logfile should be located at: %AppData%Roaming\Microsoft\VisualStudio\10.0\ActivityLog.xml
|
|
|
Hi Jeremy, Thank you for your reply. Here is the log file entry.
Jay |
|
|
Thanks Jay, That message usually indicates the templates and/or extension registration are not registered correctly. Can you try removing the NHibernate Designer extension and then installing it and see if that resolves the issue. Failing that can you run devenv /InstallVSTemplates and see if that resolves the issue. When its correctly registered you should see the correct template in the Add New Item dialog instead of the "CSharp" entry you have now.
|
|
|
Hi Jeremy, Thanks for the help. I wound up going to the Online Gallery in the Extension Manager and clicking the Download button for the Mindscape NHibernate Model Designer. That worked. Previously, I had tried installing from the package I downloaded from the web site. Cheers, Jay |
|