Today I am banging my head on a brick wall. I am moving the site that I developed on the old box to the new dev env. I didn’t just copy all the files, since I didn’t have an excellent file structure, and some parts of the code needed to be removed when I walked.
I originally created the site (File → New → Website). I need a file structure:
Structure of a popular build folder
So, I created a new empty solution, so the sln file was on its own, then added projects (various DLL projects) and ASP.NET Web Application.
This last part seems to have caused me several problems that caused me a headache. As far as I understand (this may be a little limited), the website (like I did before) is different from the later type that I created. For example, part of the App_Code folder does not work as before. To solve this problem, I created a separate DLL for the cs webLibrary files and added a link to it.
Now my problem is how I register this on the page in order to be able to use the controls. For example, I have a control that inherits from a TextBox when it was in the App_Code folder that I could use:
<%@ Register TagPrefix="sarg" Namespace="MyNameSpace" %>
Then use
<sarg:SARGTextBox id="clienttitletxtbox" runat="server" OnTextChanged="textboxfiltering_TextChanged" AutoPostBack="true"></sarg:SARGTextBox>
DLL , , , , " SARGTextBox".
, , , .