christian.wolf2 Posted June 13, 2024 Posted June 13, 2024 Hi, we are currently trying to build an final WPF application, supported by UNIGINE. Are there any information about the workflow? Publishing via Visual Studio will create the necessary files, but the .exe won't start when clicked. And building via Editor is not the correct way for WPF applications, correct? Hope someone can help me with that task and thanks in advance. Best Christian
bmyagkov Posted June 14, 2024 Posted June 14, 2024 Hello! 22 hours ago, christian.wolf2 said: we are currently trying to build an final WPF application, supported by UNIGINE. Are there any information about the workflow? Publishing via Visual Studio will create the necessary files, but the .exe won't start when clicked. And building via Editor is not the correct way for WPF applications, correct? Indeed, this way application should build in kind of old-fashioned way. Moreover, Visual Studio doesn't support referencing an unmanaged C++ project from a managed C# one. To ensure your application runs correctly you need to include the Wrapper and the engine library in your build. These dependencies should be added to your project as shown on the attached video. Additionally, ensure that your data is properly packaged. Thanks! Desktop 2024.06.14 - 17.15.52.07.mp4
christian.wolf2 Posted June 24, 2024 Author Posted June 24, 2024 Sorry for the late reply and many thanks for the input. We will evaluate the video and may come back, when we have any issues. Best Christian 1
Recommended Posts