Stuart.Ladd wrote
At this point, I'm kind of stuck. Modifying the dlls works nicely, but changing the ascx files does not.
... It doesn't help that I can't use the "Design" interface in VS2005 because the ascx files for Store development are in a completely different place from the core files (and therefore can't get to some of the standard buttons and labels and things). Do you have to declare elements added to the .ascx in the .cs file (i've tried)?
Hi Stuart,
I've been able to modify .ascx files and see the changes. Not sure how you have tried, but I just open the .ascx from the source dir, make the changes and then copy it to the install dir (btw if you go to buildsupport/bin, you will find all .dll files in one place ... so you only have to copy from one dir, not several)
Your 2nd point about design mode .. yes it is a problem. I'm not sure how to handle it yet as I am still using C# express - which doesnt even support .ascx, so no design mode at all!) Once I get my copy of VS2005 I might be able to say what is the correct thing to do, or perhaps someone else knows in the meantime..
Putting the source files in the install dir may not work, because ASP.NET 2.0 compiles everything it finds in the website dir when you start the site ... so it could find the .dll and the .cs and say that all store classes are defined twice -- but I havent tried so this is just my guess as to what will happen :)
JK