简体   繁体   English

.NET 3.5 dll not found on .NET 2.0 Windows Server 2003. Should I manually add this dll to GAC or need to install .NET Framework 3.5?

[英].NET 3.5 dll not found on .NET 2.0 Windows Server 2003. Should I manually add this dll to GAC or need to install .NET Framework 3.5?

I have .NET framework 2.0 installed on my Windows Server 2003 machine.我的 Windows Server 2003 机器上安装了 .NET 框架 2.0。 I have a source code which was targeting .NET framework 3.5.我有一个针对 .NET 框架 3.5 的源代码。

My project is throwing error on the reference file System.Data.DataSetExtensions.dll on Windows server 2003. It says System.Data.DataSetExtensions.dll not found on Windows Server 2003 machine. My project is throwing error on the reference file System.Data.DataSetExtensions.dll on Windows server 2003. It says System.Data.DataSetExtensions.dll not found on Windows Server 2003 machine.

Should I just copy and paste the System.Data.DataSetExtensions.dll from other machine and deploy this into the GAC to resolve this issue?我是否应该从其他机器复制并粘贴 System.Data.DataSetExtensions.dll 并将其部署到 GAC 以解决此问题? or need to install .NET framework 3.5 in Windows Server 2003 machine.或者需要在Windows Server 2003机器上安装.NET framework 3.5。

Please let me know which approach should work fine?请让我知道哪种方法应该可以正常工作?

You should install .NET Framework 3.5 SP1, instead of copy and pasting the DLL directly, as it will risk having runtime error because .NET Framework 3.5 actually has .NET Framework 2.0 Service Pack 1. You should install .NET Framework 3.5 SP1, instead of copy and pasting the DLL directly, as it will risk having runtime error because .NET Framework 3.5 actually has .NET Framework 2.0 Service Pack 1.

Latest .NET Framework 3.5 update/patch is .NET Framework 3.5 Service Pack 1 (SP1), and this contains .NET Framework 2.0 Service Pack 2 (SP2).最新的 .NET Framework 3.5 更新/补丁是 .NET Framework 3.5 Service Pack 1 (SP1),其中包含 .NET Framework 2.0 Service Pack 2 (SP2)。

.NET Framework 3.5 SP1 installer download link is available at: https://www.microsoft.com/en-us/download/details.aspx?id=25150 .NET Framework 3.5 SP1 安装程序下载链接位于: https://www.microsoft.com/en-us/download/details.aspx?id=25150

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM