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 ) 
Developer technologies .NET .NET Runtime
Developer technologies C++
Developer technologies .NET Other
Developer technologies Visual Studio Other
Developer technologies C#
{count} votes

Accepted answer
  1. Wami007 296 Reputation points
    2021-02-27T11:29:59.36+00:00

    72584-basl%C4%B1qs%C4%B1z2346.png72585-basl%C4%B1qs%C4%B1z12.png72586-123.png

    If AnyOne Get "UcrtBased.dll" or "140D.dll" Just Do it and Click to " Built Solution" . It Will Fix Problem

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Dylan Zhu-MSFT 6,426 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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.