-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
SDK FY21-Q3, SDK FY21-Q3.
-
1877
Goals
Trying to run a WPF/Windows10 App - which works fine when run in debug mode under VS but fails when deployed with ClickOnce.
Expected Results
Expect it to run like it does when running in debug mode under VS.
Actual Results
App throws an exception "Unable to load DLL 'realm-wrappers'".
Steps to Reproduce
Create a simple WPF/Windows 10 app and include the NUGET Realm 4.0.1 package.
As a workaround it seems that if you do a build for release the Release build folder does include all the required files, including the realm-wrappers.dll. Perhaps something about the DLL placement that does not work with ClickOnce.
Code Sample
I will have to create a sample application for you to test but it seems there are others who have reported the same issue. It seems the realm-wrappers.dll files are in the .nuget folder and the debug app works fine. Some problem that the dll is not being included in the deployed app.
Version of Realm and Tooling
- Realm Object Server Version: None
- Client SDK Version: Realm NUGET Package 4.0.1
- Client OS & Version: Windows 10