My application uses some dll which have been developed using MFC VS 2005. My current application is built using VS 2008 VC++dot net. How can i get the installer to include the Visual c++ runtime libraries???
In a Visual Studio setup project you can add the Visual C++ Redistributables as prerequisites:
right-click your setup project in Solution Explorer
click Prerequisites button
select the prerequisites you want to include
Related
I've installed Visual Studio 2008 SP1 C++ Express Edition, 2010 Ultimate and 2013 Premium.
I've opened my old Visual Studio 2008 project with VS 2013 and upgraded the Project Files.
Afterwards I've changed the Platform Toolset to v90.
The project is compiling fine but is there a way to access the project properties? I can't even find a way to switch back to the v120 toolset (I don't want it tho).
Project -> Properties will only show the following properties:
Is there a way to access the full project properties?
It seems that choosing v100 will cause the same issue.
I want to create a C++ Win32 Application project in Visual Studio 2008, but I don't have that option (as in comparison to Visual Studio 6.0). How can I get that option back or create an equivalent project?
The Option in VS 6.0 looks like this:
Whereas it's missing in VS 2008:
In VS 2008, choose the "Win32 Project" wizard to generate the equivalent of a VS 6 "Win32 Application".
Is it possible to create a VB6 application in Visual Studio 2010 for creating COM applications?
No, this is not possible. VB6 application cannot be created in any version of Visual Studio beyond Visual Studio 6.0 SP6.
You can, however, write assemblies in .Net (any version) that are "Com visible."
You can set an assembly as "Com Visible" by checking the "Make COM Visible" checkbox on the project settings dialog in whichever version of Visual Studio (that supports .Net) you choose.
I was hoping there would an option somewhere that would just let me open my VS 2008 projects and continue working in .Net 3.5 - while using some of the neat new VS UI enhancements.
Yes, Visual Studio 2010 allows you to target previous versions of the CLR/.NET framework at the project level.
When you open the Visual Studio 2008 project file in Visual Studio 2010 it will convert the project file for you. Once this is done, it will be smart enough to target the proper framework and runtime version for you (.NET 3.5 and CLR 2). If it doesn't, you can change this yourself on the property sheet for the project.
I am using Visual Studio 2005 to make an install. The application has a dependency on a DLL that was built with MFC 7.1 (from Visual Studio 2003).
Are there merge modules for MFC 7.1 or other redistributables like there are for MFC 8? Where could they be found?
These merge modules are usually located in %ProgramFiles%\Common Files\Merge Modules.
Look for these files:
vc_user_crt71_rtl_x86_---.msm (has msvcr71.dll)
vc_user_mfc71_rtl_x86_---.msm (has mfc71.dll)
vc_user_stl71_rtl_x86_---.msm (has msvcp71.dll)
vc_user_mfc71_loc_rtl_x86_---.msm (has mfc71*.dll localized versions)
I would expect the merge modules for MFC 7.1 to be in %ProgramFiles%\Microsoft Visual Studio .NET 2003\redist, assuming that you have Visual Studio 2003 installed. (However, I can't verify that because I don't have Visual Studio on this PC.)