setup file failing debugging enabled

后端 未结 2 1471
野的像风
野的像风 2021-01-28 05:08

I have used Setup Project before with no issue the project did not have SQLite DB as a dependency
I am now trying to make a EXE or msi file for a project that has SQLite in

相关标签:
2条回答
  • 2021-01-28 05:48

    Partial answer I say Partial because I do not know how to implement all the steps
    So If someone would be kind enough to explain how to apply this fix that would be nice
    As well if this is not the ideal way to correct the issue please comment

    The ERROR as I see it is that SQLite.Interop.dll v 1.0.109.0 under
    C:\Program.Files(x86)\MicrosoftVisualStudio\2019\Community\Common7\IDE\PrivateAssemblies\x86
    as well as x64 and System,Data.SQLite.Core is v 1.0.113.0 Do NOT match

    So applying the steps as described in this SO Post should solve the problem? LINK to SO Post

    0 讨论(0)
  • 2021-01-28 05:51

    After continuing to try and use the Setup Project in Visual Studio 2019 to create both EXE & MSI installers I have found a FIX to the issue Exception Text ERROR as explained in my question above
    Create your Setup Project with the Normal Steps
    After you navigate to the Setup folder and open the Debug folder and click the setup.exe file the next Step is as follows YES it is Odd and not ideal compared to using Inno Setup but if you do not want to learn how to use Inno Setup this works. Why it is necessary is beyond me

    OK now navigate to the folder where your application EXE file is located
    Add the following two folders from your project X64 & x86 folders they are in the source folder for VS 2019 for your project

    One more detail DO NOT use the desktop icon created by setup.exe
    Click the AppName.exe in the Application Folder to run the application
    Yes It is a different app than the app in the question
    Here are two screen shots that add more clarity to the issue

    0 讨论(0)
提交回复
热议问题