I've written a small Windows app in C# using
Visual Studio .NET
and it runs fine on my machine. But if I put the EXE file on another computer, it won't run - it complains about missing DLL files. Do I have to install the
on every machine I want to run my program on? How come I can download small Windows applications from the internet and they run on any Windows machine? What language were these programs written in?
The .NET runtime is required to run any .NET application. You don't expect a Java app to run without installing the JRE, do you? .NET runtime works the same way.
Dig Deeper on C# programming language
Here Daniel Cazzulino explains how to load a DSL (domain specific language) domain model instance file programmatically. This requires the .NET type ...
Here we offer a glimpse at 12 of .NET development expert Danny Cazzulino's top ASP.NET questions and answers.
C# developers should NOT be modifying InitializeComponent method in the code-behind (or any of the variable definitions) by hand.