How to figure out which library is missing during application startup

Robert Liebermann 0 Reputation points
2024-08-10T12:26:25.94+00:00

Hi!

I created a desktop application using Visual Studio (Version17.10.5). The application is running fine as long as Visual Studio is installed. Installing the application on a computer without Visual Studio installed, the apps startup fails with message of library or it's dependent has not been found.

Probably, it's helpful to know that the application is written C# but makes use of a library written in C++.

Installing Visual Studio on that computer cures the problem - however, installing visual studio on every computer is not a proper solution.

Hence, my questions are:

(1) How can I find the missing library? Since the app terminates during startup, tools "ProcessExplorer" do not help...

(2) Are there special project properties to be set helping in identifying the problem?

Thanks

Windows development | Windows App SDK
Developer technologies | C#
{count} votes

1 answer

Sort by: Most helpful
  1. Robert Liebermann 0 Reputation points
    2024-08-11T12:35:43.8166667+00:00

    Hi all!

    thanks for the quick replies.
    All of your comments were helpful to learn about the pitfalls and to solve the issue. Thanks!

    Best regards,

    Robert


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.