CodeSmith Community
Your Code. Your Way. Faster!

Studio and Explorer not consistent with paths

Latest post 11-09-2007 8:00 AM by CHarker. 0 replies.
  • 11-09-2007 8:00 AM

    • CHarker
    • Top 75 Contributor
    • Joined on 10-03-2004
    • Posts 59
    • Points 880

    Studio and Explorer not consistent with paths

    OK I have a specfic folder structure

    c:\folder\Main.cst
    c:\folder\templates\***.cst
    c:\folder\project\settings.csp
    c:\folder\project\***.xml

    When I load my main.cst into studio and then load settings
    from my project folder and run everything is ok.

    When I load explorer and do the same thing it fails with file
    not found exceptions. It is adding an extra "folder" to the path.

    It is not finding the ***.xml files (System.Xml.XmlDocument) because the current directory is
    not the same as under studio.

    After loading settings in studio the CD is still at main.cst.
    After loading settings in explorer the CD is where the settings.csp is

    That means all relative paths in my code break. It should be
    looking in folder\project\***.xml and its looking in
    folder\project\project\***.xml

    Cliff

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