How do you pack a visual studio c++ project for release?
- Choose Project -> Properties
- Select Configuration -> General
- In the box for how you should link MFC, choose to statically link it.
- Choose Linker -> Input. Under Additional Dependencies, add any libraries you need your app to statically link in.
How to package and share a final version of a Visual Studio Project
I figured it out. In solution explorer I went to (Restock Alerter)>publish and published the project to a folder on my desktop that I can send
How do I turn my release project into an installer in Visual Studio 2019 Community Edition?
The best way is to create a setup package, it can be an MSI, EXE or MSIX. You can do this directly from Visual Studio, without using any third party software.
You can create an MSI or EXE using Microsoft's Installer Project template. This is recommended if you are targeting users running on olders OSes like Windows 7/8, etc... or if your application has deep system integrations, like services, shell menu extensions, etc... or it simply needs to be installed per machine (for all users)
If you are targeting only Windows 10 users (1709 or newer) and your application dos not require administrative APIs (resources like services, shell, etcc or sharing files with other applications) you could use Microsoft's support to build MSIX packages.
Deploying and updating and MSIX is much simpler both for you and for the end-users, but it comes with some limitations, as mentioned above, for security reasons.
Also, MSIX requires all setup packages to be digitally signed. You can use a code signing certificate purchased from a certified vendor or your can generate your own certificate (but this needs to be accepted by the end-user machines, so you need a way to deploy this certificate to their machines before giving them the MSIX. If you are inside an enterprise network, this can be easily done, for home users is not recommended).
If you are interested in MSIX, let me know and I can give you more details about digital signing or other questions you might have.
How to package dlls in the compiled executable of a C# project in Visual Studio 2010
Try ILMERGE it may use to merge native dll
ILMERGE
Related Topics
Lru Implementation in Production Code
Sort Based on Multiple Things in C++
"Right" Way to Deallocate an Std::Vector Object
Checking If Two Cubic BéZier Curves Intersect
Gcc Error: Explicit Specialization in Non-Namespace Scope
What Data Structure Is Inside Std::Map in C++
How Does C++ Exception Handling Translate to MAChine Code
C++ Handling of Excess Precision
Qt4: Transparent Window with Rounded Corners
Specification of Source Charset Encoding in Msvc++, Like Gcc "-Finput-Charset=Charset"
How Can It Be Useful to Overload the "Function Call" Operator
Default VS. Implicit Constructor in C++
Why "Universal References" Have the Same Syntax as Rvalue References
Use Getline and While Loop to Split a String
Why Does the Size of a Class Depends on the Order of the Member Declaration? and How
How to Have Polymorphic Containers with Value Semantics in C++