Ho una soluzione in edizione 2013 VS Community, un progetto di installazione recentemente aggiunto con Installshield in edizione limitata.Installati in edizione limitata per i file .Net framework e il programma non in esecuzione senza Visual Studio
Quando ho ri-creare la soluzione (On modalità di rilascio x64) il progetto installshield mi mette in guardia circa i seguenti file:
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
Sulla configurazione wizzard InstallShield ho selezionato che il setup cerca .Net 4.5. quindi non capisco quegli avvertimenti.
Quando installo il software con l'installazione in un computer in cui non è installato Visual Studio (ma ha l'ultimo framework Net (4.5.2)), il programma si apre (lo vedo nel task manager) e si chiude senza mostrare la GUI. Inoltre, quando copio la cartella \bin\release
su un computer senza Visual Studio, il programma non verrà eseguito.
La mia ipotesi è che in qualche modo il programma richieda i file che installshield mi avvisa, ma questi file non dovrebbero essere già installati da .Net 4.5?
Ho visto altri thread in cui il problema viene risolto compilando in modalità di rilascio, ma lo sto già facendo, quindi non ho idea di cosa potrebbe essere sbagliato.
Qualsiasi aiuto è apprezzato.
Il progetto principale è un oggetto WebForms roject; MVC; eccetera...? – johnjps111
PS, se hai già utilizzato il programma di installazione di Visual Studio, è ancora disponibile ma deve essere installato separatamente: https://visualstudiogallery.msdn.microsoft.com/9abe329c-9bba-44a1-be59-0fbf6151054d; chissà, forse questo risolverebbe il problema in un modo completamente diverso. – johnjps111
Ciao ho cambiato il programma di installazione al programma di installazione di Visual Studio e il problema persiste. solo che ora, lancia un file non trovato eccezione. –