Do I need .NET to run C# applications.

  • Thread starter Thread starter Nick
  • Start date Start date
N

Nick

A friend of mine is trying to open my program on his computer and he gets unable to initialize applicaiton.
Anybody know a reason this might be happening?
I tried the application on another computer it works.
 
Yes, you need the .NET framework to run any .NET application.

Nick said:
A friend of mine is trying to open my program on his computer and he gets
unable to initialize applicaiton.
 
Marina said:
Yes, you need the .NET framework to run any .NET application.



unable to initialize applicaiton.
Just as I pressed post he finished installing .net and the application worked.

On a side note, I wonder if microsoft decided to make it mandatory to install .NET because there is a technical need. Meaning they could've done it to
spread .NET popularity. Just a thought.

Thanks.
Nick Z.
 
Nick said:
A friend of mine is trying to open my program on his computer and he gets
unable to initialize applicaiton. Anybody know a reason this might be
happening? I tried the application on another computer it works.

Depending on the features of the application, you might have make sure that
the latest .NET Framework ( 1.1 ) is installed.
 
Nick wrote:

On a side note, I wonder if microsoft decided to make it mandatory to
install .NET because there is a technical need. Meaning they could've done
it to spread .NET popularity. Just a thought.

I hope it /does/ become part of the operating system.
 
Nick said:
A friend of mine is trying to open my program on his computer and he gets
unable to initialize applicaiton. Anybody know a reason this might be
happening? I tried the application on another computer it works.

PS> You could also install mono ( although you'd have to recompile the app
in mono, I imagine -- unless the mono and .net frameworks support some kind
of binary compatibility )

http://www.mono-project.com/about/index.html
 
Just as I pressed post he finished installing .net and the application worked.

On a side note, I wonder if microsoft decided to make it mandatory to install .NET because there is a technical need. Meaning they could've done it to
spread .NET popularity. Just a thought.

yes, it is a technical need. just like if you don't have a java virtual machine, you won't be able to run java byte code.
 
PS> You could also install mono ( although you'd have to recompile the app
in mono, I imagine -- unless the mono and .net frameworks support some kind
of binary compatibility )

the binary formats are the same.
 
On a side note, I wonder if microsoft decided to make it mandatory to
install .NET because there is a technical need. Meaning they could've
done it to spread .NET popularity. Just a thought.

You developed an application that uses the .Net framework, and now you
require the .Net framwork to execute it... Must be an evil marketing
scheme ;-)

Jamie
 
jamie said:
You developed an application that uses the .Net framework, and now you
require the .Net framwork to execute it... Must be an evil marketing
scheme ;-)

Jamie

Yeap. Its a conspiracy!! lol
 
Nick said:
Just as I pressed post he finished installing .net and the application worked.

On a side note, I wonder if microsoft decided to make it mandatory to install .NET because there is a technical need. Meaning they could've done it to
spread .NET popularity. Just a thought.

Thanks.
Nick Z.

Your application needs the .NET framework installed because C#
applications use the .NET framework. That's the only reason. As far
as I know there is no way to compile a native C# application, meaning
one that isn't running as MSIL code through .NET's runtime engine.

Longhorn will ship with the .NET framework as a replacement for Win32
and will even have command-line versions of the compilers (right now
you have to download them yourself from Microsoft's website), so you
know you can always code no matter what system you sit down in front
of.
 
Back
Top