I just installed VS2015 Professional with Update 2 and created a new MVC4 web application. I created a view - no problem, created a new script - no problem. But when i open any C# file, even a new one that i create, my VS has stopped working followed by visual studio is restarting.. I can even run the project no problem, it seems that only opening C# files causes the project to bug. has anyone else had this problem or know how to fix this?
Related
I get this error when trying to add an existing project to my solution file, I'm getting into C# and its the only issue stopping me from being able to run my CSharp code, I'm using tutorials so I don't have much knowledge about VS yet.
I've been trying for the past two days to find a way to connect a help file that has a .sh6 extension which i made, with a windows form application that i wrote in c#. Does anyone know how to add this file in visual studio and trigger it by pressing F1?
I'm using the latest version of visual studio, and HelpMaker 7.4.4.0 to created the .sh6 file.
I have installed vs2012 on my computer and I have to open a vs2010 project(the code is written in windows form);
For example when I have to open "form.cs" I don`t see the windows form,when I need to open the code to debug,there is always a migration report..
I have read about how to open the project in different ways many times
,but I need something specific how it can be open without problems!
Have recently installed Microsoft Visual Studio 2010 express.
The problem is that if i open windows application or console application, it is not showing program.cs (default) file. Please can some body help me out to solve this issue.
In Visual Studio (2005/ 2008/ 2010/ 2012), when you create a new winforms application or console application, Visual Studio adds automatically a class called Program (Program.cs). But if you open an existing project in Visual Studio, it is not has to be a Program.cs. Existing project doesn't has to be a class called Program.
I think some operations corrupt your Winforms and Console templates in Visual Studio. For this case, reinstalling and installing looks best solution for you.
I am trying to open a project developed in vs2008 but i am getting the following error.
"cannot be opened because its project type .csproj is not supported by this version of the application".
And I tried by selecting open with-> visual studio version selector but it opens as a vs2010 project and gives the same error.
When I got this msg, it was because I was opening a "non native" project format. Like e. g. MVC. You would have to install that project-type-extension (if that is the correct name? the one that gives you the project template) for VS2010 as well. I think it even needs to be same version.. like MVC2 again instead of MVC3.
Similar with XNA.
Thanks to all of you for your kind help.
I was working on a project and it was in vs 2010, same time i tried to open another project for reference which was in vs 2008, even i opened in new instance it was unable to open that.
At end I closed all the VS instances and opened vs 2008 project first, then it asked for version specification.
Did'nt able to rectify the error but got the solution.
"First close all the opened instances and then open the older one".
Just try to open the solution file in an text editor and change the
# Visual Studio 2008
to
# Visual Studio 2010
Does it help?
PS: Here are the differences between VS 2008 and VS 2010 sln and csproj files listed:
http://blogs.msdn.com/b/rextang/archive/2009/07/06/9819189.aspx
You can try to port manually. Just make a backup before you do.