Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2007-03-27
4
Medium Priority
?
208 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 64

Assisted Solution

by:Fernando Soto
Fernando Soto earned 160 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 86

Accepted Solution

by:
Mike Tomlinson earned 340 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

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
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 course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

604 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