Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual C#: Compile with Runtime DLLs

Tags:

c#

runtime

I'm trying to compile my program in Visual C#. However, the machine I need it to run on (well, I need it to be able to run on any Windows Machine, at least Windows XP) does not have the .NET DLLs installed. I'm new to this, so how can I compile my Visual C# program with the runtime DLLs so that it will run on other machines?

like image 376
muttley91 Avatar asked Jan 22 '26 00:01

muttley91


1 Answers

If you use Click-Once deployment, you can set a setting in the installer that the installer should install the .NET framework before running. If that's not an option (such as target machine has slow/no internet connection) you can install the redistributable version of .NET

like image 158
FrustratedWithFormsDesigner Avatar answered Jan 24 '26 21:01

FrustratedWithFormsDesigner