Keep getting "Project Target Framework not installed - visual-studio-2010

After generating visual studio 2010 solution using cmake from source, the GeographicLib solution shows the following error on VS2010. . I tried downloading and installing .net fx 4.0 but the error keeps coming.

I've found the solution for it and if some one faces the same problem, here is the solution that works for me. The error is because am using visual studio 2010 professional and when I changed to visual studio 2010 ultimate, Geographic lib builds and installs without any error.

Related

SSIS and Visual Sudio 2019 Cannot Load Project

First of all, this issue has nothing to do with the installation of SSDT. I have the lastest version installed, at the time of writting this.
My issue is that the SSIS package was written some time ago using, I think either VS2005 or VS2008 as I was using Windows 7 with the lastest SSDT package fro the time, and I now need to open it up to view the workings.
I am now using VS2019 on Windows 10, again with the latest SSDT package, and studio refuses to open the project.
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.
For more information on enabling these project types or otherwise migrating your assets, please see the details in the "Migration Report" displayed after clicking OK.
- Contessa.SQL.SSIS, "G:\Work Stuff\Solution\40 SQL SSIS\TestSolution.SQL.SSIS\TestSolution.SQL.SSIS\TestSolution.SQL.SSIS.dtproj"
Non-functional changes required
Visual Studio will automatically make non-functional changes to the following projects in order to enable them to open in Visual Studio 2015, Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1. Project behavior will not be impacted.
- Contessa, "G:\Work Stuff\Solution\TestSolution.sln"
I have found the answer and it had nothing to do with the SSDT installed.
After finding this article.
visual-studio-2019-open-solution-file-incompatible
It explains the need to make sure that the SSIS Extension is enables. In my case it needed to be installed.
This occurred because I had installed various versions of SSDT which caused Visual Studio to need me to reinstall.

UnityVS (Visual Studio Tools for Unity 1.9) + Visual Studio Ultimate 2013 Compatibility Issue?

I have installed the recently released Visual Studio Tools for Unity 1.9 on my computer with a copy of Visual Studio Ultimate 2013 and am encountering a problem which I can't seem to fix. After creating a new Unity project, importing the VSTU package, and creating a script and opening it, I see a message within the VS 2013 Solution Explorer stating that:
"This project is incompatible with this version of Visual Studio"
However, I have read on the UnityVS site and nothing indicates that it is incompatible with VS 2013. Are there any possible solutions to this problem? Thanks.
This is an old question now, but I ran into the same problem recently with a brand new install of Unity 4.6.1, VS Professional 2013 and VSTU 2013.
A re-install of VSTU fixed the problem.

Error 'LINK : fatal error LNK1123: failure during conversion to COFF: failure while building the project

I have visual studio C++ 6.0 and visual studio C++ 2010 express installed in my PC. My friend is able to compile the same project in his PC with visual studio 2010 express.But my PC throws and error
LINK : fatal error LNK1123: failure during conversion to COFF
I do not want to uninstall visual studio C++ 6.0. I have to keep that for other projects. I can uninstall/install Visual studio C++ 2010 express.
Please help me to solve this compatibility issue.
thank you.
UPDATE [SOLUTION] :
I solved issue by changing .NET framework.
I checked that my PC had .NET framework 4.5 installed so I uninstalled it and installed .NET framework 4. And now I can successfully compile my project in visual studio C++ 2010 express.
I do not even need to set "Enable Incremental Linking" to "No
(/INCREMENTAL:NO)" without that also it is working.
Thank you all.
I solved issue by changing .NET framework.
I checked that my PC had .NET framework 4.5 installed so I uninstalled it and installed .NET framework 4. And now I can successfully compile my project in visual studio C++ 2010 express.
I do not even need to set "Enable Incremental Linking" to "No
(/INCREMENTAL:NO)" without that also it is working.
Thank you all.

Can't reference Microsoft.Pex.Framework.dll in Visual Studio 2010 SP1

I have VS 2010 Ultimate Edition with SP1 installed. Recently, I have noticed that I cannot refer Microsoft.Pex (v 0.94.0.0) library from my project. All my previous project are broken due to this. Every-time I try to add the reference to Pex, it says the library is incompatible with .NET 4 framework.
I even tried adding it by manually browsing to location "C:\Program Files\Microsoft Moles\PublicAssemblies\Microsoft.Pex.Framework.dll", I still get the same error.
I can't remember what caused it? Did installation of VS-SP1 broke it? I have even tried repairing the Pex installation. The problem still persist.
There is a similar post at Can't reference Microsoft.Moles.Framework.dll in Visual Studio 2010 SP1, but the post did not helped either.

Sharepoint 2010 Projects not showing in Visual Studio 2010

I have installed sharepoint 2010 and the sdk, yet I cannot see / open sharepoint projects in Visual Studio. When I go to new >> Project, sharepoint is not anywhere in the options.
If I try and open an event receiver project, I get this project type is not supported in this installation.
I have tried reinstalling the Sharepoint 2010 SDK, and repairing VS 2010 Premium.
Does anyone have any ideas on what I need to do to get this to work?
I'm running VS 2010 Professional and when I ran VS 2010 SP1 it crashed during installation. After that I got the same error message when I opened a solution containing Sharepoint 2010 projects. I tried the following but it didn't solve it:
- Running VS 2010 repair
- Reinstalling VS2010 SP1
- Reinstalling .Net framework 4.0
Same error...
Finally I ran VS2010 setup, 'add remove features', and noticed that the 'Sharepoint Developer Tools' was not included anymore. I added it and now it works!
This was resolved by uninstalling and reinstalling VS 2010 premium. Go Figure!

Resources