I am trying to setup a VB.NET project which was built on one PC onto another PC.
I have uploaded the source code for my website from my main PC to my webserver. The source code resilts from a project built in VS2005 but it does not contain any visual studio project files (eg .sln .vbproj). But when I download the source code to my other PC and try to build in VS2005 I get numerous errors about missing components.
The errors say that VS2005 can't find anything which resides in the XXX namespace, because it can't find the namespace. In fact there isn't one, but this should surely be ok - the compiler should look in App_Code to find the components which have this namespace - when the project is called the same name.
For example, the errors report that XXX.dsNodes is missing but it can clearly be seen in App_Code. This subdirectory has been created by VS. The project was originally created in VS 2003, which didn't have App_Code sub directory nor any namespaces. XXX.xsd was originally in the root directory alongside the aspx files. On conversion, these items were put in the new VS 2005 directory called App_Code.
So surely VS 2005 should look in App_Code for all items of this nature, if the namespace = the project name. But for some reason it is not doing this. What am I missing?
Thanks in anticipation.
Chris
I have uploaded the source code for my website from my main PC to my webserver. The source code resilts from a project built in VS2005 but it does not contain any visual studio project files (eg .sln .vbproj). But when I download the source code to my other PC and try to build in VS2005 I get numerous errors about missing components.
The errors say that VS2005 can't find anything which resides in the XXX namespace, because it can't find the namespace. In fact there isn't one, but this should surely be ok - the compiler should look in App_Code to find the components which have this namespace - when the project is called the same name.
For example, the errors report that XXX.dsNodes is missing but it can clearly be seen in App_Code. This subdirectory has been created by VS. The project was originally created in VS 2003, which didn't have App_Code sub directory nor any namespaces. XXX.xsd was originally in the root directory alongside the aspx files. On conversion, these items were put in the new VS 2005 directory called App_Code.
So surely VS 2005 should look in App_Code for all items of this nature, if the namespace = the project name. But for some reason it is not doing this. What am I missing?
Thanks in anticipation.
Chris