Print Page | Close Window

Custom template - finding assemblies

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2012
Forum Discription: For .NET 4.5
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=3648
Printed Date: 14-May-2024 at 5:49am


Topic: Custom template - finding assemblies
Posted By: stage
Subject: Custom template - finding assemblies
Date Posted: 22-Sep-2012 at 8:37am
I notice that the DevForce 2012 assemblies are not installed in the GAC. I am using a custom template that is referencing IdeaBlade.Core and was getting an error as the file could not be found. I resolved the error by installing IdeaBlade.Core in the GAC but was curious what the correct resolution would be for this issue.



Replies:
Posted By: mgood
Date Posted: 22-Sep-2012 at 12:55pm
The correct resolution would be to modify your template to install the DevForce package via NuGet. You can find more information at the following URL.
 
http://docs.nuget.org/docs/reference/packages-in-visual-studio-templates - http://docs.nuget.org/docs/reference/packages-in-visual-studio-templates


Posted By: stage
Date Posted: 22-Sep-2012 at 1:40pm
By a custom template, I am referring to a custom DevForce code generation template which I created per this topic - http://drc.ideablade.com/xwiki/bin/view/Documentation/custom-code-generation-template - Customizing the DevForce code generation template .


Posted By: stage
Date Posted: 22-Sep-2012 at 2:15pm
I uninstalled DevForce and removed NuGet packages, then reinstalled everything and now it finds the IdeaBlade.Core.dll during the code generation process.


Posted By: kimj
Date Posted: 24-Sep-2012 at 2:47pm

Glad you got it working again, stage.  For the record, the updated documentation for DF2012 on this topic is here:  http://drc.ideablade.com/devforce-2012/bin/view/Documentation/custom-code-generation-template - http://drc.ideablade.com/devforce-2012/bin/view/Documentation/custom-code-generation-template .  The procedures for writing a custom template are the same, but some of the assembly references have changed.




Print Page | Close Window