System.Exception when trying to run converted VS 2010-project - visual-studio-2012

I've installed the latest version of Visual Studio 2012, with the latest hotfix.
I have a perfect working project, made in VS 2010, that I converted (automatically) to a VS 2012 project.
It builds, but when I try to run it, there is a pop-up: System.Exception. Anyone who knows this problem?

You should install VS 2010 SP1 before you convert any VS 2010 project to VS 2012.
If you haven't done this, the opened project will cause many unrelated behavior.
Also any installer/setup project in VS 2010 will not be opened in VS 2012.

Related

Visual Studio 2017 project not working in VS 2012

I was working on a project in VS 2017(trial) but now i have to work on VS 2012 instead due to company policy. The problem is that now the components in the design are errored out(Error creating control) and i can't proceed any further. Any suggestions on how to make it work in 2012?
Maybe this solution will be able to help you. Seems like a similar issue although it is for a previous version of Visual Studio.
How to downgrade from Visual Studio 2012 project to Visual Studio 2008

SharePoint 2010 project incompatible in Visual Studio 2015

I have installed Visual Studio 2015 (Professional). But when I open SharePoint 2010 project on VS 2015, it's showing project is incompatible.
Could you please tell any solution or idea to load the project in VS 2015?
Your project is not loading because Microsoft Office Developer Tools is not installed on your machine. You can easily modify your visual studio 2015 by following steps:
Run Visual Studio 2015 Setup File
Click on modify
Find the “Microsoft Office Developer Tools” and select it.
Finally click on Update.
After completing the setup open your project.
When you install VS2015, you do not install the mandatory Office Development Tools for Visual Studio 2015.
Once, you have downloaded and installed those. (Around 78MB) your SharePoint projects should, once again, load up without any errors.
Direct Link to the latest version:
http://aka.ms/getlatestofficedevtools

Visual studio - gtkmm-app - MSVCP100D.dll is missing

I cannot execute my gtkmm-app any longer in visual studio 2012. It compiles fine but when executing it crasches. I get the error message that MSVCP100D.dll is missing.
I made this app in visualstudio 2010 last spring. OS was windows XP. No problem whatsoever.
Now I have visualstudio 2012 and windows 8.1 and get this error-message.
I dont know what to do? Is there a way to install MSVCP100.dll in the system-folder or could something be done in VS 2012?
I may underline that I just encountetred this problem when compiling and executing my gtkmm-app for the first time since the platform change and IDE-update. Ordinary console-applications no problems whatsoever.
If you also have time/knowledge - what is the purpose of this dll-file?
You are getting this error probably because you changed your compiler.
What you can do is to either recompile gtkmm with current Visual Studio or download pre-compiled binaries and rebuild your application.
Option 2 is to install Visual Studio 2010 back and forget about Visual Studio 2012.
If you want both latest Visual Studio and gtkmm 3 then...
It's not an easy task, and it's hard to answer your question in detail here, so
Here is an tutorial to let you get started compiling/installing gtkmm 3 in Visual Studio 2013 for Windows 7 and later:

Why am I not able to open a VS project

I have a Visual Studio project that I created in my previous PC (32-bit if that makes any difference). I recently got a new PC (64-bit) and I am trying to open the project and I am seeing the following error:
Unsupported
This version of Visual Studio does not have the following project types installed or does not support them. You can still open these projects in the version of Visual Studio in which they were originally created.
- ONew, "C:\temp\onb\ONewSln\ONew\ONew.csproj"
No changes required
These projects can be opened in this version of Visual Studio without changing them. They will continue to open in Visual Studio 2010 SP1 and in this version of Visual Studio.
- ONewWeb, "C:\temp\onb\ONewSln\ONewWeb\ONewWeb.csproj"
- ONewSln, "C:\temp\onb\ONewSln\ONewSln.sln"
Screenshot:
Is there a add-on or visual studio component that I have to download to make it work?
Please help me resolve the issue.
After doing some research and spending hours banging my head against the wall, I figured out how to resolve the issue.
You have to install Microsoft Office Developer Tools for Visual Studio 2012.
Open up the Web Platform Installer and if you don’t have it installed, download and install it. Search for Office Developer Tools and install it.
This will enable you to open the project without any issue.
Usually you can open VS2010 SP1 files in VS2012. But after opening and on compiling you may get some errors of missing packages. Then you have to install the missing packages. Check this out: Visual Studio 2012 compatibilty.
Some solutions, projects, files, and other assets that you created in Visual Studio 2010 Service Pack 1 (SP1) will run without modification in Visual Studio 2012, but others have to be upgraded. The above document describes how various kinds of assets behave in these two versions of Visual Studio.
If you use both Visual Studio 2012 and Visual Studio 2010 SP1, you can create and modify projects and files in either version as long as you don't add features that require Visual Studio 2012.
VS2012 may convert projects when you first open them, but the changes are (except noted in the document linked) backward compatible with VS2010.

Crystal report .rpt file in visual studio 2012 shows binary format instead of design

We developed an application in visual studio 2010 and reports are working fine, when we choose to open the same application through visual studio 2012 Ultimate, reports are not working and when i open .rpt file showing binary format ad also I could not find Crystalreport.rpt in Reporting template in visual studio 2012. After googling it, I have installed
CRforVS_redist_install_32bit_13_0_5 , but doesn't work.
How can i change or edit .rpt file design using visual studio 2012 and want to change the .rpt database name too. Any suggestion or idea to achieve this?
I had the same problem after installing visual studio 2012 and found no answer on the forums. I uninstalled CR yesterday and downloaded again the CRForVS 13.0.5 from here just in case there was a bug in the previous version I downloaded in may and installed it. Then I installed update 3 for Visual studio and everything works fine now.
Cheers
Michael
I figure this one out for me.
From SAP Crystal Reports's download site:
Please note: To integrate "SAP Crystal Reports, developer version for Microsoft > Visual Studio" you must run the Install Executable. Running the MSI will not ? >fully integrate Crystal Reports into VS. MSI files by definition are for runtime >distribution only.
By default Windows 10 does not install the 3.5 framework, CR for VS still needs >it. Select it by "Turn Windows feature on or off" and choose both options.
I downloaded the exe, instead of the MSI packages, and it worked for me finally. Helps to read I guess.

Resources