CodeSmith Community
Your Code. Your Way. Faster!

codesmith msbuild task -- overridable .csp properties

Latest post 10-19-2007 2:56 AM by rdhatt. 0 replies.
  • 10-19-2007 2:56 AM

    • rdhatt
    • Not Ranked
    • Joined on 10-19-2007
    • Posts 1
    • Points 5

    codesmith msbuild task -- overridable .csp properties

    I would like to be able to specify a new value for a property element in the .csp file.

    Something like this?

     <CodeSmith ProjectFiles="GenerateMetaData.csp;GenerateIndex.csp">
        <property name="OutputDirectory">C:\temp</property>
     </CodeSmith>



    My particular need is slightly more complicated --- I want to be able to set the connectionstring value in my .csp value.

    Otherwise I might have to use a XmlWrite Community task, which would be yucky since it saves the file. Tongue Tied

    • Post Points: 5
Page 1 of 1 (1 items) | RSS
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems