468,121 Members | 1,457 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,121 developers. It's quick & easy.

using applications built with dotnet

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
Nov 17 '05 #1
5 1604
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

"Jozsef Bekes" wrote:
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

Nov 17 '05 #2
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
"Salvador" <Sa******@discussions.microsoft.com> wrote in message
news:CC**********************************@microsof t.com...
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

"Jozsef Bekes" wrote:
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

Nov 17 '05 #3
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


"Jozsef Bekes" wrote:
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
"Salvador" <Sa******@discussions.microsoft.com> wrote in message
news:CC**********************************@microsof t.com...
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

"Jozsef Bekes" wrote:
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


Nov 17 '05 #4

"Jozsef Bekes" <bj****@hotmail.com> wrote in message
news:ed**************@TK2MSFTNGP14.phx.gbl...
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.

Nov 17 '05 #5
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

"Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in message
news:uI**************@TK2MSFTNGP14.phx.gbl...

"Jozsef Bekes" <bj****@hotmail.com> wrote in message
news:ed**************@TK2MSFTNGP14.phx.gbl...
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.

Nov 17 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

121 posts views Thread by typingcat | last post: by
19 posts views Thread by Mark Miller | last post: by
8 posts views Thread by Dennis C. Drumm | last post: by
5 posts views Thread by David Lozzi | last post: by
9 posts views Thread by Jim | last post: by
18 posts views Thread by didacticone | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.