Showing posts with label Settings. Show all posts
Showing posts with label Settings. Show all posts

project type (.csproj) is not supported by this version of the application when running .sln with VS2010 Command tool

project type (.csproj) is not supported by this version of the application when running .sln with VS2010 Command tool 

 http://social.microsoft.com/Forums/en-US/Offtopic/thread/d80dbf79-5755-4bc7-95b6-202907cc2b47/

I inherited a large .sln file created with a previous version of Visual Studio (VS2005, VS2003). I'm now using Visual Studio 2010. Here's what's installed:
Microsoft Visual Studio 2010
Version 10.0.30319.1 RTMRel
Microsoft .NET Framework
Version 4.0.30319 RTMRel

Installed Version: Ultimate

Microsoft Office Developer Tools   01019-532-2002102-70517
Microsoft Visual Basic 2010   01019-532-2002102-70517
Microsoft Visual C++ 2010   01019-532-2002102-70517
Microsoft Visual Studio 2010 Architecture and Modeling Tools   01019-532-2002102-70517
Microsoft Visual Studio 2010 Code Analysis Spell Checker   01019-532-2002102-70517
Microsoft Visual Studio 2010 Team Explorer   01019-532-2002102-70517
Microsoft Visual Web Developer 2010   01019-532-2002102-70517
Crystal Reports Templates for Microsoft Visual Studio 2010  
Microsoft Visual Studio 2010 SharePoint Developer Tools   10.0.30319
When I open a command prompt to use devenv to build the solution, I get a lot of error messages like the following. How can I fix these? I've opened the .sln file inside VS2010, but I don't know what else to do.
'C:\home\autostart\src-Trunk\utility\UpdateManager\UpdateManager\UpdateManager.csproj' cannot be opened because its project type (.csproj) is not supported by this version of the application.
To open it, please use a version that supports this type of project.
'C:\home\autostart\src-Trunk\utility\UpdateManager\RegisterUpdate\RegisterUpdate.csproj' cannot be opened because its project type (.csproj) is not supported by this version of the application.
To open it, please use a version that supports this type of project.
'C:\home\autostart\src-Trunk\utility\UpdateManager\ManifestGenerator\ManifestGenerator.csproj' cannot be opened because its project type (.csproj) is not supported by this version of the application.
To open it, please use a version that supports this type of project.

If you want to open a project (.csproj) file that was created in a previous version of Visual Studio, then you need to run Visual Studio (devenv.exe) from the Visual Studio Command Prompt after providing options to clear all SkipLoading tags.

So you can go to Start Menu -> All Programs ->  Microsoft Visual Studio 2010 -> Visual Studio Tools -> Visual Studio Command Prompt. Once you are in the command prompt, enter:
 Devenv.exe /ResetSkipPkgs

This will open Visual Studio 2010. Then try to open your solution or project from the previous version from the File menu, and it will launch the conversion wizard to convert it to Visual Studio 2010.

 

Pre-Compile the asp.net application

1st create a directory in any of the directory like   F:\NAACPCompile
Open the visual studio command promot->
For help c:>aspnet_compiler /?()
Then type-  c:>aspnet_compile -v /Virtual Directory name(like NewNAACP1) -p "Pheysical Path of the application given in iis for virtual directory(like D:\Pradeepta\NAACP Web\NewNAACP) " Give the path of the directory where the out put will be stored like F:\NAACPCompile then enter

Restore Database from backup file .

Create the database with the specific name->Right click on the database->Task->Restore->Database->It will open a new window->chose from device radio button->Go for browse the back up file ->add the back file physically present in the system->ok->Then go to the left side panel's Options->check the ckeck bok Overwrite the existing database->then browse the ldf and mdf file where to saved -> Then ok->Ok

How to add dll in to our application

Right click on the application and add reference then select the .dll and ok.


 That dll will be added in the bin folder.

App_Code folder in asp .net

We Can add class files inside the folder.When we add a class file inside this folder that file will be accessed through out the application.We can also add Folder inside it and class file inside that folder.

Create virtual directory

Go to run ->type inetmgr->From left side panel enlarge till getting the Default web sites->Right click on Default web sites ->Add virtual directory->A new window will open->Give alias name (Name by which you access your application)->Give physical path of your application folder by browsing->Select OK->Right click on the web side you have created now from the left side with your alias name ->convert to application->Ok->Then select the directory from the left panel and double click on Default document ->It will open a new window ->Right click on that and select add->it will open a new window here give the page name  of your application which will be displayed as the start page->ok-> select the page name which you have given now in the middle tab-> Take this to the top .