How to solve 'Could not Load type MyApplicationName.Global' error
-
I have a VS 2005 application with all the source code files, web.config,Global.asax etc. 1) First I tried to open as such by double clicking on the solution. Then I got the error that 'The project file 'E:\ControlCentre_1\ControlCentre.csproj' cannot be opened. The project type is not supported. 2) Then I try to create a new application, try to add the existing project again got the same error. 3) I then create an App_Code directory and moved the Global.asax file into that directory, but end up with another class error saying that 'ABCLib' couldn't found where it is very well referenced. 4) Finally, I downloaded the VS 2005 plug-in as mentioned here and installed and tried both 1) and 2). But that also failed. Am I doing something wrong? Can anybody provide any help? Thanks meeram395.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
-
I have a VS 2005 application with all the source code files, web.config,Global.asax etc. 1) First I tried to open as such by double clicking on the solution. Then I got the error that 'The project file 'E:\ControlCentre_1\ControlCentre.csproj' cannot be opened. The project type is not supported. 2) Then I try to create a new application, try to add the existing project again got the same error. 3) I then create an App_Code directory and moved the Global.asax file into that directory, but end up with another class error saying that 'ABCLib' couldn't found where it is very well referenced. 4) Finally, I downloaded the VS 2005 plug-in as mentioned here and installed and tried both 1) and 2). But that also failed. Am I doing something wrong? Can anybody provide any help? Thanks meeram395.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
-
This may be a stupid question but are you using the full version of VS 2005?
The best things in life are not things.
-
I use the Custom version with SP2. Does that matters?
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
-
meeram395 wrote:
I use the Custom version with SP2.
I am not sure what you mean by this. My question was whether you are using the full (purchased) version of Visual Studio or the free Visual C# Express version.
The best things in life are not things.
-
Purchased Version.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
I had a look at the original link you posted; it seems that you need to do some edits to your solution and project files to get 2005 to support this project type. Alternatively you could check the Microsoft site for suggestions.
The best things in life are not things.
-
I had a look at the original link you posted; it seems that you need to do some edits to your solution and project files to get 2005 to support this project type. Alternatively you could check the Microsoft site for suggestions.
The best things in life are not things.
Thanks. I resolved the issue. The issue was, I have no Web Projects option while opening the solution file. I tried to open using WebSite option. So there was a patch up by Microsoft for Visual Studio 2005 Web Application Project Setup which I downloaded installed. It was working fine now.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.