Is the .NET framework required for even a single line of VB.NET?

前端 未结 2 616
有刺的猬
有刺的猬 2021-01-25 08:45

I wrote very simple code to send emails. I wish that end users who do not have .NET Framework installed, could also install this application without installing .NET Framework. I

2条回答
  •  Happy的楠姐
    2021-01-25 09:15

    The .NET Framework is required on your client machines, even for a single line of .NET code.

    This applies only to client code; ASP.NET, which runs on a separate machine and serves up HTML, does not require the .NET Framework on the consuming PC.

    You might be interested in the .NET client profile. Applications written against this .NET framework subset require a much smaller install (approximately 28 MB) than that required by standard .NET applications.

提交回复
热议问题