Z
Z D
Hello,
I've created a winform user control that, at some point in the default
constructor, looks for a specifc file.
When I try to load the user control to my winform's form during design time
it gives an error saying that the file doesn't exist.
Obviously the file doesnt exist yet because its only created at runtime!!
So, why is the design-time environment (VS.NET 2003) trying to compile my
app when I load the user control onto the winform?
Anyways - if I comment out references to this file in the control then I can
add it with no problems to the winform.
My question is: How do I disable this functionality so that Visual Studio
doesnt try to "be too smart" during design time?
Thanks!
-ZD
I've created a winform user control that, at some point in the default
constructor, looks for a specifc file.
When I try to load the user control to my winform's form during design time
it gives an error saying that the file doesn't exist.
Obviously the file doesnt exist yet because its only created at runtime!!
So, why is the design-time environment (VS.NET 2003) trying to compile my
app when I load the user control onto the winform?
Anyways - if I comment out references to this file in the control then I can
add it with no problems to the winform.
My question is: How do I disable this functionality so that Visual Studio
doesnt try to "be too smart" during design time?
Thanks!
-ZD