Solved

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

Posted on 2007-03-27
4
198 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
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 142

Expert Comment

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

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

0
 
LVL 62

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

911 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now