This project is read-only.

Hard coded file paths in source

Mar 6, 2013 at 3:56 PM
In the source files there are a number of places where directories are listed, all starting with "E:\DotNetProjects". I'm concerned that those may be used in some sense and, if so, my compiling the source will cause issues since I don't have those paths on my workstation. Specifically:

SageFrame.Core\SageFrame.Templating\Helper\Decide.cs(52):
SageFrame.Core\SageFrame.Templating\Helper\HTMLBuilder.cs(106):
SageFrame.Core\SageFrame.Templating\Helper\TemplateHelper.cs(719):
SageFrame.Core\SageFrame.Templating\Helper\TemplateHelper.cs(740):
SageFrame.Core\SageFrame.Templating\Parser\LayoutControlBuilder.cs(723):
SageFrame.Core\SageFrame.Templating\Parser\LayoutControlBuilder.cs(744):
SageFrame\Modules\LayoutManager\WebMethod.aspx.cs(176):
SageFrame\Modules\LayoutManager\WebMethod.aspx.cs(191):

Actually, I haven't been through them all but the ones I did trace don't seem to be used and, if they are, they don't appear like they'll function correctly with the double forward slash (rather than escaped backslash) marks as directory separators.

Can you please advise what these paths should be replaced with for portability?

Thanks.

-- Michael
Mar 7, 2013 at 6:26 AM
Dear Michael,

The above line references are generated by Visual studio, so you can remove them, not need to keep them in your code file.
After removing these lines just build your projects and start using them.
Thanks