ClickOnce Prerequisites: where is SQL Server Express 2014 LocalDB?

后端 未结 4 2110
-上瘾入骨i
-上瘾入骨i 2021-02-04 06:01

I am creating a clickonce installer for my wpf application from within Visual Studio 2013 Community edition. This application uses a localdb. It works fine on the target machine

4条回答
  •  清歌不尽
    2021-02-04 06:40

    I'm having exactly the same problem as well. I found one potential answer at the MSDN forum and it seems to work for me.

    To summarize the answer from the link: You have to create a "bootstrapper" for LocalDB 2014. This is just a folder in your "Microsoft SDKs directory" containing some specific xml files with keys/meta-data and an eula text file. The answer in the link provides the content for these xml files. After restarting visual studio, "Sql Express 2014 LocalDB" will appear along with all the other prerequisites and can be added to ClickOnce dependencies.

提交回复
热议问题