简体   繁体   English

哪些文件存储在 Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0 中?

[英]Which files are stored in Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0?

I'd like to know which kind of files are stored in我想知道存储了哪些类型的文件

C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\ C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\

Are those files meant for WPF/Silverlight?这些文件是否适用于 WPF/Silverlight?

And which installer install the files in that folder?哪个安装程序将文件安装在该文件夹中?

I'd like to know this because we have developed a winforms application with custom WPF controls.我想知道这一点,因为我们已经开发了一个带有自定义 WPF 控件的 winforms 应用程序。 When we deploy the application on a bare system, the application crashes when these controls are used...当我们在裸系统上部署应用程序时,使用这些控件时应用程序崩溃......

  1. WPF is part of the .NET Framework since version 3.0 WPF自 3.0 版起成为 .NET Framework 的一部分
  2. Silverlight is different from WPF and has a separate SDK download Silverlight与 WPF 不同,有 单独的 SDK 下载
  3. Files located under Reference Assemblies folder, are usually installed by Visual studio when installing SDK and (in your case), are part of the Windows 7 and .NET 4 Framework SDK .位于Reference Assemblies文件夹下的文件通常在安装 SDK 时由 Visual Studio 安装,并且 (在您的情况下)是Windows 7 和 .NET 4 Framework SDK的一部分
  4. Winforms and WPF are quite different technologies. Winforms 和 WPF 是完全不同的技术。 In short, Winforms are wrappers above Windows C++ MFC library and WPF are wrappers above DirectX library.简而言之,Winforms 是 Windows C++ MFC 库之上的包装器,而 WPF 是 DirectX 库之上的包装器。
  5. You should check the difference between Client profile and Full Framework because most of the time, your application should target the Client profile and in only few scenario, it should target the Full Framework.您应该检查客户端配置文件和完整框架之间的区别,因为大多数情况下,您的应用程序应该针对客户端配置文件,而在少数情况下,它应该针对完整框架。 By the way, if you're using the .NET Framework 4.5 or above , Client profile has been discontinued .顺便说一句,如果您使用的是.NET Framework 4.5 或更高版本客户端配置文件已停用 It simplifies the deployment process.它简化了部署过程。
  6. Check in the references properties in your C# project that the Copy Local is set to True .在 C# 项目中检查Copy Local设置为True的引用属性。 It will copy the referenced library in the output directory of the project.它将在项目的输出目录中复制引用的库。

暂无
暂无

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

相关问题 已安装Microsoft XNA Framework可再发行的v4.0,但找不到参考程序集 - Microsoft XNA framework redistributable v4.0 Installed but cannot find reference assemblies 在位置安装文件的内容 - Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework \\ .NETFramework \\ v4.5 - What install files in location - Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5 发出调试代码当前目标框架.NETFRAMEWORK,版本= v4.0 - Got issue debugging code The currently targeted framework .NETFRAMEWORK, Version =v4.0 找不到框架“.NETFramework,Version=v4.7.1”的参考程序集 - Reference assemblies for framework ".NETFramework,Version=v4.7.1" were not found Visual Studio 2010:无法解析目标框架“.NETFramework,Version=v4.0”的 mscorlib - Visual Studio 2010: Could not resolve mscorlib for target framework '.NETFramework,Version=v4.0' Ranorex 构建失败 9.4.1 找不到框架“.NETFramework,Version=v4.7.2”的参考程序集 - Ranorex build fails 9.4.1 The reference assemblies for framework “.NETFramework,Version=v4.7.2” were not found Centos .netcore找不到框架“ .NETFramework,Version = v4.6.1”的参考程序集 - Centos .netcore The reference assemblies for framework “.NETFramework, Version=v4.6.1” were not found “ .NETFramework,Version = v4.0,Profile = Mono”问题vb.net,c# - “.NETFramework,Version=v4.0,Profile=Mono” issue vb.net, c# 错误:未找到 .NETFramework,Version=v5.0 的参考程序集 - Error: The reference assemblies for .NETFramework,Version=v5.0 were not found .NET Framework从v3.5迁移到v4.0 - NET Framework migration from v3.5 to v4.0
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM