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?

[Webinar] Streamline your web hosting managementRegister Today

x
 
melmersConnect With a Mentor Commented:
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
 
nkrulezAuthor Commented:
by the way my VB version is 2008
0
 
Wayne Taylor (webtubbs)AstronautCommented:
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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
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
 
melmersCommented:
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
 
melmersCommented:
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
All Courses

From novice to tech pro — start learning today.