in

CodeSmith Community

Your Code. Your Way. Faster!

problem building basetemplates sample project

Last post 04-07-2008 7:26 PM by blake05. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 02-03-2006 1:36 AM

    problem building basetemplates sample project

    in the 3.2 version, it appears the BaseTemplates.csproj (dated 1/30/06) contains (among others) these two items

    <ItemGroup>
        <Compile Include="..\GlobalAssemblyInfo.cs">
          <Link>GlobalAssemblyInfo.cs</Link>
        </Compile>

    <ItemGroup>
        <None Include="..\..\Licenses\Keys\CodeSmith.snk">
          <Link>CodeSmith.snk</Link>
        </None>
      </ItemGroup>

     

    After installing the latest 3.2 (released), I don't seem to have those two files in my 3.2 tree, nor even the ="..\..\Licenses directory.

    • Post Points: 5
  • 02-03-2006 11:36 PM In reply to

    Re: problem building basetemplates sample project

    Solved this. Figuring out exactly how to incorporate the samples into my development work (for the 2nd time) took a while. I had it working in 3.0, then the upgrade broke some of my DLL dependency chains. Looking back at the sample projects, I had to recreate (better, this time) the steps to get it all working and integrated into VS 2005. I'll put together a tip post, if anyone indicates interest. (The steps include modifying the sample project's references to the missing files referenced in the original post, in addition to quite a few others, BTW)

    • Post Points: 35
  • 04-04-2008 6:46 PM In reply to

    • hampole
    • Not Ranked
    • Joined on 01-30-2008
    • Posts 5
    • Points 115

    Re: problem building basetemplates sample project

     I am having problem in building base templates for Codesmith prof. 4.1. I get this codesmith.snk file is missing. You said you were able to resolve. Could you share the steps what exactly you did.

     

    Thanks,

    Ravi 

    • Post Points: 35
  • 04-07-2008 7:26 PM In reply to

    • blake05
    • Top 25 Contributor
    • Joined on 04-03-2008
    • Wisconsin
    • Posts 166
    • Points 2,790

    Re: problem building basetemplates sample project

    Hey Ravi,

    Inside the template you are trying to build, open up the AssemblyInfo.cst file (if it is there) and remove the AssemblyKeyFile attribute.

    If your template doesn’t contain an AssemblyInfo.cst, then check to see if it is generating a project file with the CodeSmith.snk (Strong Name Key) inside of ItemGroup. If you find this XML node in your project file remove it, as your assembly doesn’t need to be signed.

    Thanks
    -Blake Niemyjski

    Blake Niemyjski
    CodeSmith Tools, LLC
    Support Specialist
    • Post Points: 5
Page 1 of 1 (4 items)
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems