Articles → .NET → Unable To Load DLL 'Sqlite.Interop.Dll'_ The Specified Module Could Not Be Found

Unable To Load DLL 'Sqlite.Interop.Dll'_ The Specified Module Could Not Be Found





Unable to load DLL 'SQLite.Interop.dll': The specified module could not be found.



Resolution




  1. Right-click on the project and click on ‘Unload Project’.
  2. Picture showing 'Unload Project' option in project context-menu

    Click to Enlarge

  3. Right-click on project file and click on edit
  4. Picture showing edit project file option

    Click to Enlarge

  5. Add the following code
  6. <PropertyGroup>
    	<ContentSQLiteInteropFiles>true</ContentSQLiteInteropFiles>
    	<CopySQLiteInteropFiles>false</CopySQLiteInteropFiles>
    	<CleanSQLiteInteropFiles>false</CleanSQLiteInteropFiles>
    	<CollectSQLiteInteropFiles>false</CollectSQLiteInteropFiles>
    </PropertyGroup>





Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, April 21, 2020

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250