Solved

Can you make a Visual Studio 2005 app that does not require .NET to be installed?

Posted on 2007-03-27
4
202 Views
Last Modified: 2013-11-26
Is it possible to compile and link an app in Visual Studio 2005 that DOES NOT require .NET to be installed on the machine that will run the app?  In other words, can you link in the .NET stuff so the program is truly "stand alone" and users would not need .NET framework installed at all?  In other IDEs in the past you usually could create "slim" EXEs which used calls in common DLLs that were needed for the program to run OR you could link everything into a single, larger EXE that could run on its own.

Thanks
0
Comment
Question by:dlwynne
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 67

Expert Comment

by:sirbounty
ID: 18802971
I think the framework is a core dependency, so would suspect this is not possible...
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 18803046
hi,

  I agree with sirbounty.
  AFAIK, there is no way around that requirement.

0
 
LVL 63

Assisted Solution

by:Fernando Soto
Fernando Soto earned 40 total points
ID: 18803146
All .Net languages except for C++, and only when compiled in native code, need the .Net Framework. This is because when you compile a program in .Net you create a MSIL, Microsoft Intermediate Language, file with a exe extension. When the system runs the file it then compiles it into native code using the .Net Framework and all its files.

So yes you do need it installed.
0
 
LVL 85

Accepted Solution

by:
Mike Tomlinson earned 85 total points
ID: 18804231
It is ~technically~ possible to NOT have the ENTIRE framework installed for your app to run.

There are third party tools that basically take all the .Net runtime dependencies for your app and compile them all into a STANDALONE executable.

I've never used on myself but have seen posts here on EE of others who claim to have successfully used them.

See:
http://thinstall.com/solutions/net_virtual.php
http://www.xenocode.com/Products/Postbuild/Features.aspx

There may be more tools out there...I'm not sure!
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question