Create a standalone exe without the need to install .NET framework

前端 未结 7 1486
没有蜡笔的小新
没有蜡笔的小新 2020-12-31 00:41

I\'m a student and at the moment i\'m doing an internship at a company. This internship is about analysing a project. For this project I have made a demo to show to the Mark

7条回答
  •  伪装坚强ぢ
    2020-12-31 01:01

    YES, THIS IS POSSIBLE!

    At least 3 ways exist:

    1.you can check all OSes that you planning to run your app and build with such version of .NET. As Windows have a built-in framework libs.

    Vista -.NET v3.0 -- All service packs

    Windows 7 - .NET v3.5 -- All versions and service packs

    Windows 8 - .NET v4.0 [Best choice if you are not sure]

    Windows 8.1 - .Net v4.5

    Windows 10 - .Net v4.6

    as they are already pre-installed by default -- no extra install will be needed.


    2.You can compile it into native code (but not into CIL) with ".NET Native". This is means that there are no .Net Framework will be needed for apps.

    But looks like it works only with Windows 10.


    3.There is Turbo Studio (earlier Spoon and earlier XenoCode) that can wrap everything that your app needs and runs it in as a standalone.

    From their site:

    Turbo Studio

    Run .NET Without .NET. Easily embed runtime dependencies such as .NET, Java, and SQL directly into virtual applications. Launch reliably on any desktop, regardless of underlying component installs.

提交回复
热议问题