Packaging a .NET Application So It Will Run On A Computer Without .NET

后端 未结 3 766
一生所求
一生所求 2020-12-17 00:19

I have been recently trying to deploy a C# application on a computer that does not have .NET installed.

I know that there have been many questions around th

3条回答
  •  甜味超标
    2020-12-17 00:27

    For .NET, you really must just install the appropriate .NET framework. The .NET framework installation does include command line options to allow for silent installs, such as:

    dotnetfx35.exe /q /norestart
    

    For details on the command line options, see the options for 3.5 and for .NET 4.0.

    That being said, most installation packages will handle these details for you as part of the installation. Using a decent installer will take care of this dependency automatically.

提交回复
热议问题