C++/CLI Export .exe Project with Correct Setting

Wami007 296 Reputation points
2021-02-24T12:01:20.203+00:00
 Hello All...

I created some simple C++/CLI project in Visual Studio 2019 and i wanna export it as portable .exe like "Rufus". Previously i tried copy program from debug folder to run .exe on another pc. Which it has VC redisturable package and .Net 4.6.1. But it gave me error like "ucrtbased.dll" and after supply this dll then "0x000007b". I thought it need SDK package and some .dll files to debug program :(

 So, how can i export my Visual Studio project with all necessary files to run any Windows machine ( Redisturable and .Net supplied ) 
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,369 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,604 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,237 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,527 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,119 questions
{count} votes

2 additional answers

Sort by: Most helpful
  1. Dylan Zhu-MSFT 6,406 Reputation points
    2021-02-25T06:28:58.153+00:00

    Hi there,
    You can try to to use this tool to build all dlls into one executable file: ILMerge

    Best Regards, Dylan

    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our * *documentation* to enable e-mail notifications if you want to receive the related email notification for this thread.**


  2. Wami007 296 Reputation points
    2021-02-25T19:37:07.857+00:00

    Need Help.. Please help me :(

    0 comments No comments