[英]How do I get Visual Studio Intellisense tooltips to show descriptions for .NET Framework 3.5?
I need to use .NET framework 3.5 for my project because it uses some older functionality. 我需要为我的项目使用.NET framework 3.5,因为它使用了一些较旧的功能。
The tooltips in Visual Studio aren't showing descriptions like they do when targeting a later framework. Visual Studio中的工具提示未显示与定位后续框架时相同的描述。 I just see basic information like method signatures and data types. 我只看到方法签名和数据类型等基本信息。 Is there a way to fix this? 有没有办法来解决这个问题?
I looked for the xml files in C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v3.5
and it looks like it just has the files for the 3.5 Client Profile. 我在C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v3.5
查找了xml文件,看起来它只有3.5 Client Client的文件。
I tried reinstalling the 3.5 framework from this link: https://www.microsoft.com/en-us/download/details.aspx?id=21 我尝试从此链接重新安装3.5框架: https : //www.microsoft.com/en-us/download/details.aspx?id = 21
I have no idea if it's working or not. 我不知道它是否有效。 When I run the executable nothing happens. 当我运行可执行文件时没有任何反应 I tried running as administrator. 我试过以管理员身份运行。 When I run it from command prompt there is no output. 当我从命令提示符运行它时没有输出。
I noticed the file is a hundred times smaller that the download for the latest .NET framework. 我注意到该文件比最新.NET框架的下载量小了一百倍。 Does that mean it doesn't include the files it's supposed to? 这是否意味着它不包括它应该包含的文件?
I'm guessing if there's a fix, it's either getting the correct xml files for .NET 3.5 or getting Visual Studio to use the xml files for .NET 4.6 even though my project is targeting 3.5. 我猜测是否有修复,它要么为.NET 3.5获取正确的xml文件,要么让Visual Studio使用.NET 4.6的xml文件,即使我的项目是针对3.5。
Thanks in advance! 提前致谢!
You could try downloading the whole installer not just the bootloader installer. 您可以尝试下载整个安装程序而不仅仅是引导加载程序安装程序。
.net 3.5 sp1 .net 3.5 sp1
http://download.microsoft.com/download/2/0/e/20e90413-712f-438c-988e-fdaa79a8ac3d/dotnetfx35.exe http://download.microsoft.com/download/2/0/e/20e90413-712f-438c-988e-fdaa79a8ac3d/dotnetfx35.exe
or if you dont want sp1 或者如果你不想要sp1
.net 3.5 .net 3.5
http://download.microsoft.com/download/6/0/f/60fc5854-3cb8-4892-b6db-bd4f42510f28/dotnetfx35.exe http://download.microsoft.com/download/6/0/f/60fc5854-3cb8-4892-b6db-bd4f42510f28/dotnetfx35.exe
Edit 编辑
If you are unable to run the installer at all it sounds to me like it is already installed. 如果你根本无法运行安装程序,它听起来就像它已经安装好了。 You could try to verify the installation using this tool . 您可以尝试使用此工具验证安装。 This page also explains how to find the setup logs. 此页面还说明了如何查找设置日志。 It should shed some light on what is happening. 它应该揭示正在发生的事情。
I don't think the earlier versions of .net provide the level of tooltips that your after unfortunately. 我不认为.net的早期版本提供了不幸之后的工具提示级别。 One last thing you could try is to ensure you have all of the elements in the "Add windows programs and features" enabled. 您可以尝试的最后一件事是确保您启用了“添加Windows程序和功能”中的所有元素。 Not sure what version of windows your running on but this should explain what I mean: 不确定你正在运行什么版本的Windows,但这应该解释我的意思:
https://docs.microsoft.com/en-us/dotnet/framework/install/dotnet-35-windows-10 https://docs.microsoft.com/en-us/dotnet/framework/install/dotnet-35-windows-10
You can enable the .NET Framework 3.5 through the Windows Control Panel. 您可以通过Windows控制面板启用.NET Framework 3.5。 This option requires an Internet connection. 此选项需要Internet连接。
- Press the Windows key Windows Windows logo on your keyboard, type "Windows Features", and press Enter. 按键盘上的Windows键Windows Windows徽标,键入“Windows功能”,然后按Enter键。 The Turn Windows features on or off dialog box appears. 将出现“打开或关闭Windows功能”对话框。
- Select the .NET Framework 3.5 (includes .NET 2.0 and 3.0) check box, select OK, and reboot your computer if prompted. 选中.NET Framework 3.5(包括.NET 2.0和3.0)复选框,选择确定,然后在出现提示时重新启动计算机。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.