Solved

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

Posted on 2007-03-27
4
197 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
Comment Utility
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]
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

743 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

18 Experts available now in Live!

Get 1:1 Help Now