Windows Rhapsody c++ project - Failed to connect to Visual Studio - c++

We are just starting out with Rhapsody 8.2.1 and we are trying to link it to VisualStudio 2012 and windows 7.
On my PC I have MSVS 2012 and 2013.
I have checked various answers out there which got me to fix / check:
I have setup MSVS 2012 with the Rhapsody add-in and I can see it in the add-in manager.
I have setup my visual studio configuration in Rhapsody, with the correct IDEVersion (v11).
I have not got any Windows UAC settings blocking.
We have tried to uninstall / Re-install Rhapsody.
I can generate the code files, but when I try to run make I get the error: "Failed to connect to Visual Studio". I have not found any solutions to this yet - any pointers appreciated.
note: VisualStudio 2012 application does open - but its blank (no project / files are open).

do you see Rhapsody addin path in VS Tools/Options/Add-in/Macros Security list? It should include something like \VisualStudio\VisualStudio2012 value.
Regards,Vladimir

did you check Rhapsody box in Tools->Add-Ins manager window?
Another question: which CPP_CG.MSVC.IDEVersion property value is set in your Rhapsody VisualStudio configuration? Its default value is VC10 and Rhapsody will look for VS 2010, if you didn't change it to VC11.
Regards,
Vladimir

Related

cannot open include file 'winresrc.h'

Visual Studio 19, code (MFC) can be compiled on the machine if Platform Toolset is set to VS 2010 or VS 2017 but not if set to VS 2019 (V142). Which SDK do I need and where do I get it?
Open Visual Studio Installer and make sure if you have installed MFC, ATL and some Windows SDK. Check in the "Individual components". Note that MFC is not installed by default.
In the settings dialog of the project I set the SDK-Version to 'newest' (installed) and this fixed the problem.
I erroneously assumed that the SDK-Version was automatically set to the correct version when I changed the Platform Toolset.

VS 2017 won't open VS 2015 ETL solution

I inherited a project that was created in Visual Studio 2015 with SQL Server Data Tools version 14.
I'm running VS 2017 version 15.6.0 with SQL Server Data Tools 15.1.61801.210
When I try to open the solution it just fails with the below error message. What do I need to do in order to "upgrade" the solution so I can work with it?
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.
- LabSOR, "C:\Users\GROSCH\Documents\LabSOR\ETL\LabSOR_SSIS\LabSOR\LabSOR.dtproj"
No changes required
These projects can be opened in Visual Studio 2015, Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1 without changing them.
- LabSOR, "C:\Users\GROSCH\Documents\LabSOR\ETL\LabSOR_SSIS\LabSOR.sln"
Ended up the SSDT integration elements hadn't installed. Once I did that I could right-click on the project in the solution explorer and reload it, and then it started working.

Is there anyway i could run an already coded project with visual studio 2015 on visual studio 2005

So here's my problem, i already have a written code with visual studio c++ 2015. I need to run it on a windows server 2003. So basically i need to run it on visual studio 2005. Is there anyway i can do it? Or should i upgrade the visual studio version?
Thanks
I encontered the same issue. But you can also compile for your windows server by changing some project settings:
Right-click on your project -> Settings. In the configuration settings, navigate to general. Now, you can change "platform toolset" to "Visual Studio 2015 - Windows XP". After compiling, the resulting exe should run on your windows server fine. At least, this worked for me.

How to fix Rational Rhapsody error :"Current value is "VC11", but no Visual Studio installation was not found in the directory ""."

Im working on Windows 7, 64-bit and I'm trying to run Rational Rhapsody 8.0.5 for C++ with Visual Studio Professional 2013. After creating a simple coding example for a class, I tried to compile it, but I got the following error :
Current value is "VC11", but no Visual Studio installation was not found in the directory "".
Is there something wrong with my installation, or do I need an older version of Visual Studios? I've tried everything, but nothing I've done is working. Any help will be appreciated
Follow these steps to configure IBM Rational Rhapsody 8.x to use the Microsoft Visual Studio 2013 compiler, borrowed from here:
Install Rational Rhapsody 8.x and Microsoft Visual Studio 2013.
In <RHAPSODY _ROOT>\Share\Properties, set the factoryC++.prp file to read/write permissions and open the file in a text editor.
Under the metaclass sections: MSVC, MSVCDLL, MSVCStandardLibrary add the string VC12 to the Property IDEVersion. For example,
Metaclass MSVC
Property IDEVersion Enum "VC9,VC10,VC11,VC12" "VC10"
Browse to the <RHAPSODY _ROOT>\Share\etc folder and open the msvcmake.bat file
Copy the line
if "%4"=="VC11" set VS_PATH=C:\Program Files (x86)\Microsoft Visual Studio 11.0\
and paste a new line beneath with the following changes
if "%4"=="VC12" set VS_PATH=C:\Program Files (x86)\Microsoft Visual Studio 12.0\6
Copy the line
#echo VC11 - Visual Studio 2012
And paste with changes
#echo VC12 - Visual Studio 2013
Open Rational Rhapsody8.1 and load a sample project. For example,
<RHAPSODY _ROOT>\Samples\CppSamples\Dishwasher
Select the Project’s Active Component/Configuration. For example, EXE and Host
Double-click the configuration in the browser and open the features window. Select the Properties tab and find the CPP_CG::MSVC::IDEVersion property. Switch the value to VC12
Run the Build Framework command in the Code menu. You will see a lot of deprecation warnings.
Once this is completed you can then build and run the sample project via the Code > Generate/Make/Run command
Visual Studio 2013 is not supported. VS2012 is the latest that it supports.
I'm assuming you know how to select your version of visual studio within Rhapsody.

cannot create c++ project in Visual Studio 2010

I suppose since I installed Visual Studio 2012, I cannot create C++ project in Visual Studio 2010. But, I am not sure new installation of VS 2012 is related to this problem.
The problem I am really struggling is that neither hint message nor notification are shown when I try to create a new C++ project.
I have tried several ways from google even include stackoverflow, but failed.
Is there anyone who knows any solutions or has any workarounds?
1) I wouldn't be at all surprised if installing MSVS 2012 is the culprit. VMs are Good :)
2) You should definitely look at the Windows event log (if you haven't already)
3) You can also run MSVS 2010 with logging as follows:
http://msdn.microsoft.com/en-us/library/ms241272%28VS.80%29.aspx
Devenv.exe /log "C:\My Files\MyLog.txt"
i faced the same problem in "microsoft visual studio express 2012 for window desktop" and now it's perfectly working after having gone through repair option.
If you have another version (or express edition) of visual studio installed on the same PC that is previously used to create console applications, that might be the issue. I had the same issue and I had Visual C++ 2008 on the same computer and I could either use the visual C++ for console applications or uninstall it completely. Hope this helps!