Desktop Applicaton Not Opening After Installation in Client System

Application is not getting opened after installing it with the installer created by Visual studio installer

I resolved issue by looking the error log in Event viewer log file with the extension .Net Runtime. issue was some of the dev express supporitng file were missing. Need to deploy all Dls using devexpress deploy tool.

Exe application won't execute on VM

Runtime Missing: This indicates relatively strongly that you have a missing runtime of some sort. Ensure your runtime is installed, and in the required version too:

  • Common: VCRedist, .NET, .NET Core, Java, Direct X, etc...
  • Specific: Python, DBMS systems (PostgreSQL, MSSQL, etc...)
  • Windows Components: IIS, MSMQ - Message Queue, Powershell, etc...

Missing Files: There could also be missing files of other kinds - settings and various special cases. Here are some long debugging ideas lists:

  • Launch crashes
  • Launch fails
  • Scan for dependencies

C# with Visual Studio: Published App Cannot Run After Installation

you can check if the file exist it will return the file contents and if not it will return an empty array like this :

    public IEnumerable<string> GetData()
{
// if file not exist return empty list
return !File.Exists(FILE_NAME) ? Enumerable.Empty<string>() : File.ReadAllLines(FILE_NAME);
}

and now you can call your method like this

    dataStreamer.GetData().ToArray();

.NET WPF runtime error after installing with Visual Studio Installer

The problem was indeed a missing dll - app resources.dll. Apparently WPF app is always shipped with culture folder (en-US by default). It's copied to output directory on build (.\bin\Debug\en-US) but Visual Studio Installer doesn't pick it up and it has to be added manually.

It's done in VS Installer project's File System -> new Project Output...

Sample Image



Related Topics



Leave a reply



Submit