VS2010 - Local project deployment? - c++

So, I have a project I've created in Microsoft Visual Studio 2010. Basically, I'm wanting to deploy the project to a folder other than the one containing the project so that I may run it as a standalone application. Does Visual Studio have a way do do this? If not, how exactly would I do so?

Related

Using UE4 with Visual Studio 2017

I recently did some cleaning of my drives. I decided to install visual studio 2017 after cleaning the drives up. I have been trying to continue work on my old UE4 project using the engine pulled from GitHub. I tried rebuilding the project with VS2017 which I know is not fully supported yet. I did run into quite a few problems, including the missing corecrt.h files. I reinstalled the Windows SDK to fix this.
The current problem is a new missing file called windows.h, and I believe it is missing due to the build tools looking for the wrong version of the SDK. I was wondering, has anyone else successfully integrated Visual Studio 2017 with their UE4 project after running into similar problems?
-- Edited due to poor grammar.
As I know Version 4.15 supports both Visual Studio 2015 (default) and Visual Studio 2017. If you are building the Engine from source code, you would want to open a command prompt after running Setup.bat and run the command GenerateProjectFiles.bat -2017. This will give you a Visual Studio 2017 solution for the Engine.
To use Visual Studio 2017 for projects, you can set your preference for which version projects use by going to Edit -> Editor Preferences -> General -> Source Code and choosing Visual Studio 2017 in the Source Code Editor setting.
If regenerating the Engine's VS project files doesn't help. Try regenerating your own UE4 project's VS project files.
With Visual Studio and UE4 closed, find the .uproject file, right click and select Generate Visual Studio project files.
Open the solution, make sure your UE4 game (e.g. MyProject) under the Games folder is set as the StartUp project (right click, Set as StartUp project), then try a compile.

How to i open this applications is visual studio so i can run the code?

I have this application code on the following remote server
https://svn.reactos.org/reactos/trunk/reactos/base/applications/rapps_new/
I have tried making a windows application in visual studio and adding the files to it, but it doesn't compile.
Whats the correct way to run the code?
You need to use CMake to generate a Visual Studio solution for the project. Then you will be able to import your solution into Visual Studio and build it.

Adding dependencies to a setup project Win32 application Visual Studio

Hi I am looking to create a setup project for my Win32 application developed using Visual Studio 2013. I have created the setup.exe using InstallShield However now i also need to add dependencies which should be installed along with the required application when setup.exe is run.
The dependencies are simply Visual C++ Redistributable for Visual Studio 2015.
I went through this article for creating the setup.exe for my application. But I did not find any documentation which directs me how to add dependencies to this installer.
I found this document which describes a walkthrough for adding dependencies but that is no more possible in Visual Studio 2013 as much as I am aware. Now we 'NEED' to use Install Shield. Correct me if I am wrong.
Please direct me to some documentation which will guide me to add dependencies to my setup project.
UPDATE
I found in the InstallShield Project Assistant an option to check for installation requirements. But it requires you to specify the directory to search the particular file. As far as I know the Visual C++ Redistributable package is not installed in any particular location but the only way to detect its presence is to check if the registry key is set to 1.
So instead of checking I'd rather always have the setup file to install the Visual C++ Redistributable package no matter it is present or no.
But even for that how do I go about it?
There might be other reasons you need to use InstallShield that I'm not aware of, but in the simple case of a C++ app that needs the runtime as a prerequisite, I'd use Visual Studio 2015 (Community Edition will do) and add the Installer project extension. The project properties lets you build a prerequisite installer (a setup.exe) and among the choices are the VC++ runtimes. That's just an exe that does its checks and installs if required.
I'm not sure how you got a VC 2015 C++ requirement while developing with VS 2013. Again, VS 2013 also has a community edition and an installer project extension that will install the VS 2013 C++ prerequisites.
The redistributable installers have their own checks to see if they need installing. I wouldn't expect InstallShield to require you to know the detection rules of a C++ runtime. that's a bit odd. There may be another setting where you just say C++ runtime required.

Add an existing (GitHub) C++ project in Visual Studio 2013 (without solution file)

I would like to add an existing C++ GitHub project to Visual Studio. I already know how to how do I add an existing Solution to GitHub from Visual Studio 2013. Here is my procedure
In Visual Studio 2013
I go to Team explorer tab / Connect to team project / Clone
In the clone dialog I enter my https GitHub link and my local repository path
I click on Clone button
After that I don't know what to do. The problem is I don't have a solution file. I have my idea: I need to to create a new solution file, then project, then add manually each cpp file in my new solution and project. This sound so heavy I'm asking if there is a better and faster procedure. Perhaps I don't need a solution file.
Note: I already did C++ coding but I never used Visual Studio as my main C++ editor. The project I try to integrate to my Visual Studio 2013 is https://github.com/Ryochan7/antimicro
I recommend using CMake to create the solution file. A lot of C++ projects on the web will mention this in their Readme files. Alternatively, you can create a new project (which will create a solution) and copy the code into it.

i have an application in which The manifest file contains references to Visual Studio 2008 run time,but i want to compile it in VS2010 express

i have an application(VC++) in which The manifest file contains references to Visual Studio 2008 run time,but i want to compile it in VS2010 express.what changes should be done in manifest file,although i have all libraries compiled for VS2010.
If you have the project file you should be able to open it in VS2010 and the project will offer to upgrade itself for you.
If not, you can probably 'Make a New Project from Existing Code' in VS2010 and wind up with the right manifest. I don't think VS2010 Express Edition has support for this, though.
I'd be wary about manual manifest edits, as it's not clear to me what else might be needed in VS2010 vs VS2008.