开发者

Visual C#: Compile with Runtime DLLs

I'm tryin开发者_C百科g 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?


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


There is no way. You need .NET runtime installed prior running any .NET application.


You can't. .Net programs can only run if the .Net framework / CLR is installed on the target machine. There is no pure XCOPY deployment story for this scenario.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜