G
Guest
We have a complex VS solution with several web projects. The reason is the
applications share a lot of business logic that change often and we want to
observe the implications of all changes.
But the webprojects also share some user controls so we would like to have a
common folder where all common UI is placed.
What we have come up with so far is to create a CommonUI folder and in IIS,
from each web application, link the CommonUI as a virtual subfolder. The
controls are referred to as "./CommonUI/myUserControl1.ascx". This works fine
when deployed and run.
BUT it is terrible in design mode. When aspx pages are opened, the designer
complains because the linked controls can not be found in the solution. This
makes it impossible to switch to design view, so all design must be done in
HTML code view. In the long run this is a very bad setup. We tried the
alternative tilde syntax "~/CommonUI/myUserControl1.ascx", but it made no
difference.
1) Is there a way to persuade VS solution that the virtual folders actually
are accessible?
2) Alternative solutions?
applications share a lot of business logic that change often and we want to
observe the implications of all changes.
But the webprojects also share some user controls so we would like to have a
common folder where all common UI is placed.
What we have come up with so far is to create a CommonUI folder and in IIS,
from each web application, link the CommonUI as a virtual subfolder. The
controls are referred to as "./CommonUI/myUserControl1.ascx". This works fine
when deployed and run.
BUT it is terrible in design mode. When aspx pages are opened, the designer
complains because the linked controls can not be found in the solution. This
makes it impossible to switch to design view, so all design must be done in
HTML code view. In the long run this is a very bad setup. We tried the
alternative tilde syntax "~/CommonUI/myUserControl1.ascx", but it made no
difference.
1) Is there a way to persuade VS solution that the virtual folders actually
are accessible?
2) Alternative solutions?