SQL Server Express 2016 LocalDB的ClickOnce自定义前提条件? [英] ClickOnce Custom Prerequisite for SQL Server Express 2016 LocalDB?
问题描述
发布WPF应用程序时,我想将LocalDB 2016设置为先决条件.但是,当我在项目属性"中检查默认的先决条件时,只有一种可用用于SQL Server 2012 Express LocalDB.
I'd like to set LocalDB 2016 as pre-requisite when publishing my WPF application. But when I check default pre-requisites in Project Properties, only one available is for SQL Server 2012 Express LocalDB.
有人知道为什么没有最新的版本,因为我正在使用最新的Visual Studio 2017?谢谢!
Any idea why there is no newer one, since I'm using newest possible Visual Studio 2017? Thank you!
推荐答案
From the few resources available i've found this post by @PaulBrewer, which saved the day. Since it's easier to just download a working solution, i've uploaded my own custom MSSSQL Express LocalDB (2016) Bootstrapper/Manifest for anyone to use. Just follow instructions in readme.md:
https://github.com/igormf/SqlLocalDB2016-Bootstrapper
这篇关于SQL Server Express 2016 LocalDB的ClickOnce自定义前提条件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!