I have a solution with two websites (folder based) and two class libraries. I need to be able to dynamically set a path from one of the websites to the other. More specifically, I am setting the PostBackUrl property of an image button that is in a datagrid row. Building and setting the URL for the production environment is easy. But in the development environment - where each project runs on a different port - it is a bit more confusing.
Is there a way to do this?