using applications built with dotnet

J

Jozsef Bekes

Hi All,

I have a question about how to use the final product I build with dotnet. I
used to work with VC++ 6, and there was an option in the project settings to
either use the MFC dlls or build the exe in a way that the MFC dlls are not
needed (if I am not mistaken, the term was statically linked and dynamically
linked). I wonder how it works with dotnet. If I build an exe and take it to
a machine without dotnet installed (98, 2000 or XP), is there a chance that
it will work? If not, what is the simplest solution?

Thank you for your answers.

Jozsi
 
G

Guest

Hi,

Well, if you use Visual Studio 2003 C++ you can set the compiler to avoid
using the .NET core libraries, your app will run on any machine without .NET
framework,

Now, C# either VB.NET will work without it, those lengagues are pre-compiled
(like java) and need to make the final compilation (the image with ngen)
based on the machine that you execute the app. All the functions that you use
are based at least on the System namespace which is included on the .NET
framework.

So the final answer is no. :)

hope this helps to understand the arch.
reagrds
Salva
 
J

Jozsef Bekes

Hi,

thank you for your answer, this is what I was afraid of :-(. It means that
on the target machine I need this: .NET Framework 1.1 Redistributable ?

This is not too nice:
110 MB of hard disk space required, 40 MB additional hard disk space
required for installation (150 MB total)

Ok, I'll have to live with that

Thanks,
Jozsi
 
G

Guest

Hi,

All the new versions of windows (like win2k3) have the .NET on the
installation Cds (by default is installed) so in the near future it won't be
a problem. Sorry for the bad news :)

Salva
 
W

Willy Denoyette [MVP]

Jozsef Bekes said:
Hi,

thank you for your answer, this is what I was afraid of :-(. It means that
on the target machine I need this: .NET Framework 1.1 Redistributable ?

This is not too nice:
110 MB of hard disk space required, 40 MB additional hard disk space
required for installation (150 MB total)


This is the .NET SDK you are talking about, the runtime redistributable only
takes 22 MB, not sure where these extra 40MB comes from.

Willy.
 
J

Jozsef Bekes

Hi

Thank you, that sounds better. 40 MB is only temporary during install, I
guess the compressed files are not removed while extracting them or
something like that.

Jozsi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top