Welcome Guest ( Log In | Register )

[ Standard ] · Linear+

> Dotnet framework application

post Jun 29 2020, 08:12 PM, updated 6d ago

Look at all my stars!!
Senior Member
4,009 posts

Joined: Dec 2004
From: Metro Prima, Kuala Lumpur, Malaysia, Earth, Sol

I wonder if there is a way to make a visual studio desktop application totally independent from dotnet framework ?

ie when you create a dotnet application, you will need to specify which dotnet framework to use, and when you deploy that application to client pc, the client pc will need to have that dotnet framework. I wonder if is possible to tell visual studio to include all the dependencies into the exe and not require any dotnet framework installed in client pc ?

I know the exe will be alot bigger, but thats not an issue.
post Jun 29 2020, 08:22 PM

Getting Started
Junior Member
60 posts

Joined: May 2006
normally the installer can take care all the dependencies of dot net framework for you.
post Jun 29 2020, 09:23 PM

Senior Member
1,007 posts

Joined: Dec 2007
From: Kuala Lumpur
MFC? smile.gif
Tullamarine P
post Jun 29 2020, 09:37 PM

New Member
46 posts

Joined: Apr 2020

There is .NET Native in Visual Studio 2015 and later where your C# /VB.net code is compiled to native code instead of IL language to be interpreted by JIT compiler during runtime.


But so far, I see it ain't standalone EXE.... you still need several .DLLs included as part of your installation, such as MRT.dll.

If your app is console app, you can try to rewrite it in Free Pascal and compile with FPC which generates unmanaged code (vs .NET managed code). If you know C++, then your EXE will only be dependent on MS Visual C++ redistributable (correct me if I am wrong :-).

post Jun 30 2020, 09:28 AM

Ethical Hacker
Senior Member
5,129 posts

Joined: May 2006
From: Planet called "EARTH"

use VB dont use VB.net
post Jun 30 2020, 03:50 PM

Getting Started
Junior Member
90 posts

Joined: Jan 2003
Not cheap


Change to:
| Lo-Fi Version
0.0181sec    0.07    5 queries    GZIP Disabled
Time is now: 5th July 2020 - 06:00 AM