how to make standalone visual studio application which can run on any system without having visual studio - visual-studio-2010

I made an application using VS 2010 and want to run that application on other system which don't have VS 2010.
How can i make my app independent of dependency from VS 2010,so that it can run on any system without installing VS 2010.

If this is a managed application then you need only the appropriate .NET framework version on the target machine (and of course any other dependencies your app may have).
If this is a native application then you need the VC++ 2010 Redistributable package. You need however the redistributable that matches your VS 2010 version (RTM or with SP1) and the project target architecture (x86, x86, IA64). Here are the links for the VC++ 2010 redistributables:
x86
VS 2010 RTM
VS 2010 with SP1
x64
VS 2010 RTM
VS 2010 with SP1
IA64
VS 2010 RTM
VS 2010 with SP1

You need to create an installer for it. The installer will install the .NET framework and any other requirements you may have.
I googled 'creating installer in visual studio 2010' and got some encouraging results.
Examples from results:
https://www.youtube.com/watch?v=IEgE51Lcpg0
http://msdn.microsoft.com/en-us/library/t71a733d.aspx
http://msdn.microsoft.com/en-us/library/ee942965%28v=vs.100%29.aspx
Search for ClickOnce in case the application needs to run for noon Admin users (installs to local user folders).

Related

Installing Visual Studio 2005 on Windows 10

Is it possible to install Visual Studio 2005 on Windows 10?
I need to maintain a legacy application that targets .NET Framework 2.0, so I need to use this version of Visual Studio.
It is not supported, but it works as far as I have tried. Coincidentally, I came here after I searched about the same thing while I was installing Visual Studio 2005 Professional on Windows 10 64 bit. I have some old VS 2005 C++ source that someone has given me to modify.
After the installation of VS 2005 was complete, I installed the following two updates in this order:
VS80sp1-KB926601-X86-ENU.exe -> Visual Studio 2005 Team Suite Service Pack 1
VS80sp1-KB932232-X86-ENU.exe -> Visual Studio 2005 Service Pack 1 Update for Windows Vista
Look for these on Google to find download links from MSDN. After installing these updates, I just launched VS 2005, and so far, everything has worked fine. The app is running, there are no errors, builds are fine, and I can use VS 2005 as always.

Problems installing Visual Studio 2010 Professional on Windows 8.1

I have been trying to install Visual Studio 2010 Professional on my Windows 8.1 laptop and I am having problems. It seems to install and when I look at the applications list I see everything has installed except the Visual Studio 2010 (devenv.exe) application itself. Has anyone had this problem and found a solution for it? I have checked that .NET 2.0, 3.x and 4.x are all installed on the machine and active. The installer shows that it is installing the application but when it's completed the application is no where to be found.
I had the same thing happen to me, because I had SQL Server Data Tools installed, causing the shortcut to be named "sql server Data Tools". Try looking up the executable in C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe and manually creating the shortcut on the start screen:
Be sure to install the updates as well:
Visual Studio 2010 SP1
Visual Studio 2010 GDR for Team Foundation Server
Visual Studio 2010 Compatibility Update for Windows 8 and Visual Studio 2012
For an up to date list of patches and service packs see:
https://jessehouwing.net/vsts-tfs-connect-any-visual-studio-version/

How to allow Visual Studio to upgrade the project automatically?

I have some compatibility problems with vs 2010 file opened in vs 2013, i have read that maybe i can solve it activating the option "upgrade project automaticcaly" but i can't find it. Where i can find this option in Visual Studio 2013 Express?
EDIT
I can't launch the project ,i have tried in VS2010 Express , VS2012 Express , VS2013 Express... It seems so strange, it's an official demo of kinect sdk.
EDIT
Suddenly it starts work on visual studio 2010
It's not a project upgrade issue but the sounds of that error message - VS2013 Express doesn't support the project type you are trying to open.
The following page describes the s/w requirements for use that project
Kinect or Windows SDK
Specifically the s/w dev requirements are:
Visual Studio 2010, or Visual Studio 2012. The free Express editions can be downloaded from Microsoft Visual Studio 2010 Express or Microsoft Visual Studio 2012 Express.
.NET Framework 4 (installed with Visual Studio 2010), or .NET Framework 4.5 (installed with Visual Studio 2012).
There are a lot of other requirements also listed on that page.
I would suggest you download VS2012 Express (its free) and work from there.

c/cpp project build in MS VS 2012 to be compatible with msvs 2008

I have created a c/cpp project in microsoft visual studio 2012, but the test machine has microsoft visual studio 2008, is there a way to tell visual studio 2012 to be compatible with 2008
No. You need to maintain two different project and solution files, one for each version. The only compatibility is between Vs2010 and VS2012 (and promised for future versions too).

InstallShield 2008 Pro with Visual Studio 2012

I'm having an old version of InstallShield 2008 Pro which work perfect with my Visual Studio 2008 Pro 32bit application deployment.
I'm moving towards Visual Studio 2012 with porting application to x64.
I could not find much information on InstallShield 2008 from the flexira website. With next to 0 experience in InstallShield I have a couple of questions regarding the deployment -
Is InstallShield 2008 is sufficient to cater Visual Studio 2012 with x64 upgarde.
Do I need to upgrade to InstallShield 2012 or better off looking at open/free project like WiX.
Any other comments are welcome in this regard.
For supported InstallShield integration with Visual Studio 2012, you will need InstallShield 2012 Spring or later. Integration nets you the use of project output groups; if you are willing to do without those, you can use InstallShield outside of Visual Studio, and the primary concern is which versions of Windows you need to support and how cleanly.

Resources