This question is locked. New answers and comments are not allowed.
Hi,
We have a website, and whenever I try to add my Domain Model to our project we get this error:
Exception: Value does not fall within the expected range.
Generated by the method: EnvDTE.ProjectItem AddFromTemplate(System.String, System.String)
Stack Trace: at EnvDTE.Properties.Item(Object index)
at Telerik.VS.Data.Design.CommonHelpers.DteHelper2.GetProjectNamespace(Project project)
at Telerik.VS.Data.Design.ModelBuilderWizardFormController..ctor(IServiceProvider serviceProvider, Project project, WizardSettings modelBuilderSettings, WizardMode wizardMode, VisualStudioProjectSystem applicationType, IConnectionManager connectionManager)
at Telerik.VS.Data.Design.ModelItemWizard.RunStarted(Object automationObject, Dictionary`2 replacementsDictionary, WizardRunKind runKind, Object[] customParams)
at Telerik.VS.Data.Design.TemplateItemWizardBase.Microsoft.VisualStudio.TemplateWizard.IWizard.RunStarted(Object automationObject, Dictionary`2 replacementsDictionary, WizardRunKind runKind, Object[] customParams)
at Microsoft.VisualStudio.TemplateWizard.Wizard.Execute(Object application, Int32 hwndOwner, Object[]& ContextParams, Object[]& CustomParams, wizardResult& retval)
at EnvDTE.ProjectItems.AddFromTemplate(String FileName, String Name)
at Telerik.OpenAccess.Sdk.Addin.Model.VAProject.AddProjectItemFromTemplate(ProjectItem parent, String source, String dest)
at Telerik.OpenAccess.Sdk.Addin.VSAddin.VSHandler.executeAddNewItemWizard(VAProject activeProject, String extension, String projectItemName, String templateName)
at Telerik.OpenAccess.Sdk.Addin.VSAddin.VSHandler.AddDomainModelCEH(BaseAddin addin, MenuDesc md, Object& varIn, Object& varOut)
at Telerik.OpenAccess.Sdk.Addin.VSAddin.BaseAddin.Exec(String longcommandName, vsCommandExecOption executeOption, Object& varIn, Object& varOut, Boolean& handled)
Exception Type: System.ArgumentException
It works with a web app, but our site is half classic asp half .net - so it's just a standard website.
Cheers,
Rich
We have a website, and whenever I try to add my Domain Model to our project we get this error:
Exception: Value does not fall within the expected range.
Generated by the method: EnvDTE.ProjectItem AddFromTemplate(System.String, System.String)
Stack Trace: at EnvDTE.Properties.Item(Object index)
at Telerik.VS.Data.Design.CommonHelpers.DteHelper2.GetProjectNamespace(Project project)
at Telerik.VS.Data.Design.ModelBuilderWizardFormController..ctor(IServiceProvider serviceProvider, Project project, WizardSettings modelBuilderSettings, WizardMode wizardMode, VisualStudioProjectSystem applicationType, IConnectionManager connectionManager)
at Telerik.VS.Data.Design.ModelItemWizard.RunStarted(Object automationObject, Dictionary`2 replacementsDictionary, WizardRunKind runKind, Object[] customParams)
at Telerik.VS.Data.Design.TemplateItemWizardBase.Microsoft.VisualStudio.TemplateWizard.IWizard.RunStarted(Object automationObject, Dictionary`2 replacementsDictionary, WizardRunKind runKind, Object[] customParams)
at Microsoft.VisualStudio.TemplateWizard.Wizard.Execute(Object application, Int32 hwndOwner, Object[]& ContextParams, Object[]& CustomParams, wizardResult& retval)
at EnvDTE.ProjectItems.AddFromTemplate(String FileName, String Name)
at Telerik.OpenAccess.Sdk.Addin.Model.VAProject.AddProjectItemFromTemplate(ProjectItem parent, String source, String dest)
at Telerik.OpenAccess.Sdk.Addin.VSAddin.VSHandler.executeAddNewItemWizard(VAProject activeProject, String extension, String projectItemName, String templateName)
at Telerik.OpenAccess.Sdk.Addin.VSAddin.VSHandler.AddDomainModelCEH(BaseAddin addin, MenuDesc md, Object& varIn, Object& varOut)
at Telerik.OpenAccess.Sdk.Addin.VSAddin.BaseAddin.Exec(String longcommandName, vsCommandExecOption executeOption, Object& varIn, Object& varOut, Boolean& handled)
Exception Type: System.ArgumentException
It works with a web app, but our site is half classic asp half .net - so it's just a standard website.
Cheers,
Rich