Visual Studio 2010 won't create new project - visual-studio-2010

I could open Visual Studio 2010 no problem, but I got error window when I try to create any new project
After I searched the Internet I found some similar questions, for example Visual studio 2010 Errors out on starting "-832" is not a valid value for property "width" and it links to a blog http://rainabba.blogspot.com/2010/07/visual-studio-2010-wont-start-120-is.html which suggests to modify the registry to change any negative values. But my values are all positive
I really don't know what to do now.

Related

"Cannot load resource" in Visual Studio 2015 toolbar with a DSL

Since converting a DSL-tools language to Visual Studio 2015, the toolbox options are gone, there are no options to add model elements to the DSL editor.
If I select the "Show All" option in the Visual Studio 2015 toolbox I see a strange "Cannot load resource" entry that I'm assuming that corresponds to the toolbox tab of my DSL.
Does anyone have any idea of what is happening here or any tips on how to diagnose how Visual Studio 2015 loads the toolbox so that I can find which is the "resource" that it cannot load?
Finally I found the solution a little by chance. This post pointed me in the right direction:
DSL designers built from migrated beta 2 solutions might have empty toolbox
The setting missing in the DSL package csproj file was the following:
<RegisterWithCodebase>true</RegisterWithCodebase>
It got lost in the transition from Visual Studio 2013 to Visual Studio 2015 while editing the projects references.

How To Convert Visual Studio 2010 project to Visual Studio 2015

I have a project from VS Studio 2010 that I want to work with in VS 2015. When I start this Project with VS 2015 I receive an error saying something like "compatibility-Error (Version)".
How can I successfully convert a Visual Studio 2010 project to use with Visual Studio 2015?
Without you going into any more detail about the actual error. (error numbers / screenshot) it will be very hard for any of us to give a real answer. Therefore I am going to suggest you take a look at Troubleshooting Unsuccessful Project Upgrades.
Something else to check out might be the Porting, Migrating, and Upgrading Visual Studio Projects guide
One of the key things mentioned in the 2nd link I provided is:
The following list describes support in Visual Studio 2015 and Visual Studio 2013 for projects that were created in Visual Studio 2012 or Visual Studio 2010 SP
Therefore I'd recommend upgrading the 2010 version to SP1 first. (if this is still installed that is)
One further thing to note is that if you keep the old version of Visual studio installed you can import a project which is made with an older version and skip the update. Visual studio 2015 will then use parts of the older version itself to open the project.
For details you can read How to: Upgrade Visual C++ Projects to Visual Studio 2015 page and the equally useful Installing Visual Studio Versions Side-by-Side page.
It appears that there are issues when moving from VS 2010.Net to VS 2015.Net and may require that you build the project from scratch and copy the code over. VS 2015 requires a Namespace. There are a number of designer issues on control that require the style page be used since various attributes have been removed. Something still, however, do work but you need to review the HTML, specifically things like Font and alignment. While it's a pain it isn't a big deal since it requires mostly cut and paste.
If you are having issues converting web projects the projects may have originally been created as a "web site" rather than a "web Project" . Try opening the application as a web site and see what happens. At least that may help get you to the point you can actually get to the code to convert it in VS 2015. Hope this helps.
Try to Right-click the solution, then select "Re-target solution".

Unable to open project in Visual Studio 2013 Pro - Marmalade Project

I'm unable to open Marmalade MKB Files in Visual Studio 2013 Pro, while my other class mates can with the exact same version of Visual Studio. I've tried multiple projects but unfortunately I'am unable to open any. I've already tried to reinstall Marmalade.
The error message I get is:
Unsupported This version of Visual Studio is unable to open the
following projects. The project types may not be installed or this
version of Visual Studio may not support them.
Sounds like you may have set the mkb to be opened by visual studio as default instead of Marmalade.
So instead of Marmalade taking the mkb and turning it into a visual studio project and then opening it Visual Studio is just trying to open the .mkb file it doesn't understand.
Try right clicking on the mkb and choosing Open in Hub (or similar) from the context menu. You should be able to then open in IDE from there and have it open your project in visual studio. If you still get the same error then it means the problem is probably something else. If it works you'll have to stop visual studio being the default that will hopefully let marmalade take over again
Good Luck

Marmalade Visual Studio Setup

I was having license errors with the latest Marmalade (6.4) and I reran s3eConfig to fix them. I set it to use Visual Studio 2010 and it re-setup marmalade and the license errors went away. However it is not respecting my Visual Studio selection and always opens Visual Studio 2012.
So, my question is where does marmalade hide these config values that you set when running s3eConfig? It looks like I will have to change it manually.
Marmalade saves these values in AppData. But instead of modifying these values, you can just right click on the mkb and open them in your desired IDE disregarding the default ones.
I guess the Visual Studio 2012 is the phone version(wp8). Marmalade has a bug regarding this, don't remember the MAINT number/bug issue tracking number.

Visual Studio C++ 2010 Express Project creation failing?

After installing Visual Studio C++ 2010 Express, I have not been able to create any projects. Visual Studio Basic 2010 Express was previously installed.
I constantly am getting the error after putting the name into my project and selecting the type;
Creating project "project-name" . . . project creation failed.
I did check the settings for the project templates and items, they seem to be pointing to my documents folder instead of my ProgramFiles, but I am sure that it did not work even there.
Another question similar to this one:
Project Creation Failed Microsoft Visual C++ 2010 Express and Visual Studio 2010
Any suggestion is thanked, I have been trying to find a solution to this for a very long time, but have not been able to find anything helpful.
Many thanks,
Jim

Resources