Solved

Can't Open C# Project Previously Created

Posted on 2010-08-16
7
275 Views
Last Modified: 2012-05-10
Can someone help me find a way to open up a C# project? I wanted to edit the code in visual studio but I'm having a hard time opening it up. Theres an option to run the setup but that only installs the actual software. I've tried everything but nothing opens the entire project so that I can edit it. I can send the zip file for anyone thats interested in taking a shot at it. I have visual studio 2010 and 2008. Thanks!
0
Comment
Question by:ENAlberico
7 Comments
 
LVL 27

Expert Comment

by:nmarun
ID: 33451745
Please upload the zipped solution at http://www.ee-stuff.com (use the same credentials as your EE account).

Arun
0
 

Author Comment

by:ENAlberico
ID: 33451776
I'd rather e-mail it. It contains a lot of work that was done for a school project so I don't want it out there online.
0
 
LVL 27

Expert Comment

by:nmarun
ID: 33451816
Try this, create a new solution and project (if need be) and add the contents of the old project to the new one and see what happens.

Also what message are you getting when you try to open the project? What version of Visual Studio was the project created in and what version are you trying to open it with?

Arun
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 2

Accepted Solution

by:
omraviprakash earned 500 total points
ID: 33452913
A VS 2005 project files can not be opened directly on VS2008 or 2010, as the schemas for the msbuild (the Visual Studio Build Tool), has changed. This on a normal case opens the File Conversion tool to convert your project. The .csproj is nothing but an xml file with a format which msbuild supports. To see if there has been issue opening the cs project file directly via Visual studio is see if there is any currupted csproj file i.e .csproj .
If you are not very familiar to the xml or .csproj file entries, the easiest way out would be create a new csproj file and adding all your project data (source files (.cs), xml, settings, resources etc.) in to this new csproj and save it.
0
 
LVL 15

Expert Comment

by:angus_young_acdc
ID: 33462078
"Theres an option to run the setup but that only installs the actual software"

Probably a daft question, but are you actually trying to open your project?  And not trying to run an MSI package with your compiled code?  I've never seen VS attempt to install your project when opening it, and if Visual Studio is a higher version than the project it will try to convert it.  
0
 
LVL 16

Expert Comment

by:Vikram Singh Saini
ID: 33472114
Hi,

 Theres an option  to run the setup but that only installs the actual software.

Is it mean that you are not having Project or files which can open in VS. You are only having .exe file of that software of project. And if it is the case I don't think there is some way to open it unless you are not having source code in your hand.

Regards,
VSS
0
 

Author Comment

by:ENAlberico
ID: 33497547
Opening the .CS files allowed me to modify the code as needed. Thanks!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Linq Help 1 35
Angular JS Route 3 54
Interview questions for support of a legacy ASP.NET site 4 39
Help with C#, MVC, razor. 6 23
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now