Is it in any way possible to eliminate .NET framework from my application ?

my clients are complaining from getting this error message:

To run this application, you first must install one of the following versions of the .Net Framework: v2.0.50727

so i was wondering if its possible not to use .NET framework in my applications at all ?
nkrulezAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

nkrulezAuthor Commented:
by the way my VB version is 2008
0
melmersSenior Software Deveolper/ArchitectCommented:
You have 2 solutions.
1.) deliver the install package with the .net framework 2.0
2.) Use tools like Xenocode Postbuil to integrate the .NET Framework and your Software into one native executable. http://www.xenocode.com/Products/Postbuild/
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Wayne Taylor (webtubbs)Commented:
Hi nkrulez,

You absolutely need to .Net Framework installed on the client computer to run application written in VB.Net.

You can make it simpler by distributing the framework with your application by using the Bootstrapper plug-in -> http://msdn.microsoft.com/en-us/vs2005/aa718344.aspx

Regards,

Wayne
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

BTosonCommented:
If you have to target a specific version of the frame work, go to Project Properties -> Compile -> Advanced Compiler Settings and set Target framework to 2.0 etc.
This will highlight any use outside of the framework in order for you to re-write any relevant sections of code.
0
BTosonCommented:
Apologies!  I misread part of your question.  Please disregard my above.
0
DhaestCommented:
Redistributing the .NET Framework
http://msdn.microsoft.com/en-us/library/xak0tsbd.aspx

Deploying .NET Framework Applications
http://msdn.microsoft.com/en-us/library/6hbb4k3e.aspx

0
nkrulezAuthor Commented:
as for the distribution, my app is a only file app .. no setup or anything
and integrating the whole framework package with it will make it alot bigger

I downloaded xenocode, but it doesn't seem to be working!
i tried it myself.. the only thing about my app after applying xenocode is the xtra kilobytes!
am i missing anything? or should be doing any changes using xenocode ?

thank you.
0
Mike TomlinsonMiddle School Assistant TeacherCommented:
Another option like melmers #2 is ThinApp (formerly ThinStall):
http://www.vmware.com/products/thinapp/overview.html
0
melmersSenior Software Deveolper/ArchitectCommented:
include config files´,3rd party assemblies into the exec.
0
nkrulezAuthor Commented:
how do i do that  melmers?
0
nkrulezAuthor Commented:
what about the used References ?
can't I just copy those ?
0
melmersSenior Software Deveolper/ArchitectCommented:
the used references are included automatically, but if you need license files or something else to use the 3rd party modules then you must include them.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.