I have a quick question. When I've seperated my aspx and aspx.cs files in an asp.net application till now, I've used the Src attribute of the page directive to point the aspx to the application code held within the .cs file. (to be compiled dynamically server side).
This has worked fine for me, using web matrix for my development. Now however, in the development of a much larger application (a team exercise!). I have a need to create it as a vs.net project, which if I understand corrently requires me (in order to take advantage of vs.net) to use the CodeBehind attribute within the page directive to create a client side compiled assembly.
Previously, it was a simple matter to have aspx files residing in seperate directories to the cs files, a requirement for the site. I can't figure out how to make vs.net see, and happily deal with this setup. It seems to want to see a WebForm as a single object of three parts (WebForm1.aspx, WebForm1.aspx.cs, WebForm1.resx), which all must reside in the same directory.
Can anyone tell me how I may get around this?
This has worked fine for me, using web matrix for my development. Now however, in the development of a much larger application (a team exercise!). I have a need to create it as a vs.net project, which if I understand corrently requires me (in order to take advantage of vs.net) to use the CodeBehind attribute within the page directive to create a client side compiled assembly.
Previously, it was a simple matter to have aspx files residing in seperate directories to the cs files, a requirement for the site. I can't figure out how to make vs.net see, and happily deal with this setup. It seems to want to see a WebForm as a single object of three parts (WebForm1.aspx, WebForm1.aspx.cs, WebForm1.resx), which all must reside in the same directory.
Can anyone tell me how I may get around this?