2017-04-27 13 views
0

在我的應用程序中,我想從我的服務器位置下載先決條件。我使用Visual Studio 2015年Visual Studio從以下位置下載必備組件會導致編譯時出錯

enter image description here

正如上面的圖片看到我使用「從以下位置下載prerequisistes」選項。但是,當我嘗試編譯該項目時,會出現以下錯誤。

ERROR: To enable 'Download prerequisites from the same location as my application' in the Prerequisites dialog box, you must download file 'SqlLocalDB2014SP1\sqllocaldb_x86.msi' for item 'SQL Server 2014 SP1 Express LocalDB' to your local machine. For more information, see http://go.microsoft.com/fwlink/?LinkId=616018. 

但我沒有使用該選項(選項2),但使用選項3.這可能是什麼問題?

回答

2

不知道,但我的猜測是,你需要確保MSI指示必須放在先決條件文件夾。你嘗試過嗎?

+0

那麼指定安裝項目從指定的位置下載它的意義是什麼? – janitha000

+0

是的,把指定的msi文件確實解決了這個問題。在使用.msi軟件包進行安裝之後,我檢查了install.log,並記錄了先決條件已從提供的URL下載。似乎VS需要它像識別先決條件msi。謝謝你。 – janitha000

相關問題