![]() |
|
ViewCubeCameraController Exception - Printable Version +- AB4D Forum (https://forum.ab4d.com) +-- Forum: Products Forums (https://forum.ab4d.com/forumdisplay.php?fid=4) +--- Forum: Ab3d.PowerToys (https://forum.ab4d.com/forumdisplay.php?fid=9) +--- Thread: ViewCubeCameraController Exception (/showthread.php?tid=4216) |
ViewCubeCameraController Exception - mattia.riviera - 09-18-2020 I trying to create a scene using VB.NET code (no XAML), when i put a Ab3d.Controls.ViewCubeCameraController in a System.Windows.Controls.Canvas a System.IO.FileNotFoundExeption is thrown with this message "Ab3d.PowerToys.resources is not found". The exception is also generated using Ab3d.Controls.CameraAxisPanel. The rest of Ab3d code runs correctly. Some tips to resolve this problem? Thanks. RE: ViewCubeCameraController Exception - abenedik - 09-21-2020 I do not know what could cause that error. I have tried again with using the following VB code and it worked well: Code: Private Sub Window_Loaded(sender As Object, e As RoutedEventArgs)Could you share a small code snipper that could reproduce that error. Also please tell which version of Ab3d.PowerToys do you use - the one from the installer or from NuGet and which version of .Net Framework / .Net Core are you using. RE: ViewCubeCameraController Exception - mattia.riviera - 09-21-2020 Hi, the version of Ab3d.PowerToys.dll is 9.2.7447.1045 from Installer and used with .NET Framework 4.6.1. Put here a "small" part of code is a problem, I use a lot of inherited class and wrapped class called by theirself, but, in summary, the implementation of TargetPositionCamera and ViewCubeCameraController is like your code. Thank's for your help! RE: ViewCubeCameraController Exception - abenedik - 09-22-2020 I have send you a simple application in VB.net that uses that version. This application works well for me. Please check it by yourself and check what is the difference with your application. You can also check the samples project that come with Ab3d.PowerToys - this project should work well. RE: ViewCubeCameraController Exception - mattia.riviera - 09-22-2020 Thank you abenedik, I will try it. RE: ViewCubeCameraController Exception - mattia.riviera - 10-01-2020 Because my Ab3d DLL's are located in an application subfolder, I've resolved the problem as follow Code: Private Function OnAppDomainAssemblyResolve(Thank you. Bye. |