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, When I add the ServiceModel dll I get the following error. I've uninstalled the all instances and deleted the Mindscape folder and then installed the 01-Jun-2011 nigthly and the problem still exists. I found the DataContracts.vm in the VB folder but nothing in the C# folder.
Failed to generate code for model. Exception message: Unable to find resource 'DataContracts.vm'
Exception details: NVelocity.Exception.ResourceNotFoundException: Unable to find resource 'DataContracts.vm' at NVelocity.Runtime.Resource.ResourceManagerImpl.LoadResource(String resourceName, ResourceType resourceType, String encoding) at NVelocity.Runtime.Resource.ResourceManagerImpl.GetResource(String resourceName, ResourceType resourceType, String encoding) at NVelocity.Runtime.RuntimeInstance.GetTemplate(String name, String encoding) at NVelocity.Runtime.Directive.Parse.GetTemplate(String arg, String encoding, IInternalContextAdapter context) at NVelocity.Runtime.Directive.Parse.Render(IInternalContextAdapter context, TextWriter writer, INode node) at NVelocity.Runtime.Parser.Node.ASTDirective.Render(IInternalContextAdapter context, TextWriter writer) at NVelocity.Runtime.Parser.Node.ASTBlock.Render(IInternalContextAdapter context, TextWriter writer) at NVelocity.Runtime.Parser.Node.ASTIfStatement.Render(IInternalContextAdapter context, TextWriter writer) at NVelocity.Runtime.Parser.Node.SimpleNode.Render(IInternalContextAdapter context, TextWriter writer) at NVelocity.Template.Merge(IContext context, TextWriter writer) at Mindscape.LightSpeed.Generator.Generation.TemplateEngine.GenerateModelContent(IEnumerable`1 entities, IEnumerable`1 valueTypes, IEnumerable`1 procedures) at Mindscape.LightSpeed.Generator.Integration.Generator.GenerateCode(GenerationSettings settings) at Mindscape.LightSpeed.Generator.Integration.LightSpeedFileGenerator.GenerateCode(String inputFileContents) Kind regards,
Johan
|
|
|
Sorry, we fouled up the installer. Workaround is to jump into Base.vm (in the C# folder) and remove the #parse ("DataContracts.vm") line. We'll get this fixed in the next nightly, and will look at ways to make sure it doesn't happen again. Many apologies, and thanks for alerting us to this! |
|