I am using Visual Studio Community 2019 C# (my interface) and Visual Studio 2017 Community C++ (.exe who is called during interface process)
I need to export my project to others PC and if they do not have Visual Studio installed they are missing some dll. I know there is an option to select to free from this kind of things : "C++ 2015 Redistributable Package". Does anyone knows how I can solve this on VS 2019 and VS 2017, otherwise I will be forced to add an installer with my files.
Thanks
Ok i found the solution to whom it may concern, in visual studio 2017 (my C++ code) i did this :
Right-click your project in “Solution Explorer”, select “Properties” from the popped menu. Then the “Property Pages” dialog opens.
In the opened “Property Pages” dialog, select “Configuration Properties->C/C++->Code Generation->Runtime Library” , set its value to “Multi-threaded (/MT)” or “Multi-threaded Debug(/MTd)”.
Related
I've installed Visual Studio 2017 Enterprise on my computer with the Installer and there are some optional options like the "Class-Diagram".
I've checked it but it won't show up in my project templates.
Programm language: C#
Version VS 2017: 15.0.26228.9
Version VS Installer: 1.5.30308.1
VS Installer - Class Diagram is checked and already installed (Screenshot)
On the left hand side, we can't find the category "Model Project" like in VS 2015
Regards
It seems the 'modelling project' feature is removed from Visual Studio 2017. Reasons are given here https://blogs.msdn.microsoft.com/devops/2016/10/14/uml-designers-have-been-removed-layer-designer-now-supports-live-architectural-analysis/
Have you added the Visual Studio extension development?
Along with Class Designer, you have to include Visual Studio extension development also from the VS2017 installer.
If you have installed all the required things mentioned above and if you are still not seeing the Class Diagram from Solution Explorer , switch to Class View and then you will see the "View Class Diagram" option
I have developed Outlook 2010 addIn project and I have to setup this to users computers. When there is Visual Studio installed in user's computer it is ok. But when there is not installed Visual Studio , then my AddIn doesn't work. I don't want to install FULL Visual Studio. I thought to install "Visual Studio 2010 Tools for Office Runtime" would help, but it didn't. What have I to do for this?.
The problem was that I had added Visual Basic component (LineShape) to my FormRegion. And my project is written in C#. So this was making some conflict. I removed that VB component , and it is solved.
Thanks you all for your help.
What you could do is create an InstallShield project for your Outlook Addin (from within Visual Studio) and accept its default options to include the necessary dependencies. The end result is an .msi file with everything the users would need to run your Addin.
Creating a InstallShield project from VS2013
As the other comments have mentioned, some dependency is missing from your user's PCs.
You just need to work out what is missing (and no, it's not a full installation of Visual Studio !)
After finishing my C# application I had to make an installer. After seeing that the default installer projects are gone, i searched for a replacement.
I found the Visual Studio Installer Projects. I downloaded the file from here: https://visualstudiogallery.msdn.microsoft.com/9abe329c-9bba-44a1-be59-0fbf6151054d.
When i restarted Visual Studio, opened my project, clicked "add new project" and here is what I got:
Problem is that I cant find the setup project. I have tried repairing the install. I restarted Visual Studio several times.
My Question:
How can I find the installer project and why it's not working for me.
If I cant make it work, are there any alternatives ? (except InstallShield)
Additional info:
Visual Studio 2013 Community with update 4
Windows 8.1 64-bit
You could try Tools > Extensions and Updates and search for it:
Visual Studio setup projects no longer ship with Visual Studio
However, you can download them here.
Or use a third party library like WiX.
I had the same problem and it turns out that visual studio removed the support for installer projects in 2010.
but still you can download and install it in your version
VS2013
VS2015
VS2017
I have been going through the process of converting a VSPackage to Visual Studio 2010 that was originally written in Visual Studio 2005 and upgraded to Visual Studio 2008. See my other recent question: Is it possible to use .ctc files in Visual Studio 2010 packages?
After realising that my CTC files could no longer be used, I converted it to the VSCT format and I can run it successfully under the debugger in the experimental version of Visual Studio. However, when I try to register the package in the Registry for the actual version of Visual Studio, none of my menus show up (everything else works, so the plugin is registered).
This is the command that I used for regpkg to generate the .reg file which I then add to the Registry:
regpkg /codebase /regfile:Package.reg Package.dll
Is there anything else that I need to do when registering the package?
Update: It seems that running with the /register flag works. What is it doing differently from the registry file?
Thanks,
Alan
I am now working with a big project which is developed in visual studio 2008, SCSF and LINQ query. Now i want to upgrade my project to 2010. Is there any tool so that i can convert all of these to new technology?
It automatically upgrades your solution when you open it in Visual Studio 2010.
How to: Upgrade Projects Created in Earlier Versions of Visual Studio
1.In Visual Studio, on the File menu, click Open and then click Project/Solution, Web Site, or File, depending on the kind of project
you are upgrading.
2.In the Open Project dialog box, select a project file, and then click Open.
If Visual Studio detects that the project or file was created in an
earlier version of Visual Studio, the Visual Studio Conversion Wizard
opens.
3.Complete the Visual Studio Conversion Wizard.
This will work.