У меня есть решение в выпуске сообщества VS 2013, и я недавно добавил проект установки с ограниченным выпуском Installshield.
Когда я пересобираю решение (в режиме выпуска x64), проект installshield предупреждает меня о следующих файлах:
Warning -6245: One or more of the project's components contain .NET properties that require the .NET Framework. It is recommended that the release include the .NET Framework. 16 ISEXP : warning : -6245: One or more of the project's components contain .NET properties that require the .NET Framework. It is recommended that the release include the .NET Framework.
Warning -6248: Could not find dependent file Microsoft.ServiceBus, or one of its dependencies of component PLATOS.Primary_output 18 ISEXP : warning : -6248: Could not find dependent file Microsoft.ServiceBus, or one of its dependencies of component PLATOS.Primary_output
Warning -6248: Could not find dependent file Microsoft.VisualStudio.CodeMarkers.dll, or one of its dependencies of component PLATOS.Primary_output 19 ISEXP : warning : -6248: Could not find dependent file Microsoft.VisualStudio.CodeMarkers.dll, or one of its dependencies of component PLATOS.Primary_output
Warning -6248: Could not find dependent file Newtonsoft.Json, or one of its dependencies of component PLATOS.Primary_output 20 ISEXP : warning : -6248: Could not find dependent file Newtonsoft.Json, or one of its dependencies of component PLATOS.Primary_output
Warning -6248: Could not find dependent file System.Data.SQLite, or one of its dependencies of component PLATOS.Primary_output 21 ISEXP : warning : -6248: Could not find dependent file System.Data.SQLite, or one of its dependencies of component PLATOS.Primary_output
Warning -6248: Could not find dependent file System.Net.Http.Formatting, or one of its dependencies of component PLATOS.Primary_output 22 ISEXP : warning : -6248: Could not find dependent file System.Net.Http.Formatting, or one of its dependencies of component PLATOS.Primary_output
Warning -6248: Could not find dependent file System.Web.Http, or one of its dependencies of component PLATOS.Primary_output 23 ISEXP : warning : -6248: Could not find dependent file System.Web.Http, or one of its dependencies of component PLATOS.Primary_output
В мастере установки Installshield я выбрал, что программа установки ищет .Net 4.5. поэтому я не понимаю этих предупреждений.
Когда я устанавливаю программное обеспечение с настройкой на компьютер, на котором не установлена Visual Studio (но установлена последняя версия Net framework (4.5.2)), программа открывается (я вижу это в диспетчере задач) и закрывается без показа графического интерфейса. Более того, когда я просто копирую папку \bin\release
на компьютер без Visual Studio, программа все равно не запускается.
Я предполагаю, что программе каким-то образом требуются файлы, о которых меня предупреждает installshield, но разве эти файлы не должны быть уже установлены .Net 4.5?
Я видел другие потоки, где проблема решается путем компиляции в режиме выпуска, но я уже делаю это, поэтому понятия не имею, что может быть не так.
Любая помощь приветствуется.