在哪里可以找到Visual Studio中尚未提供的Microsoft程序集? [英] Where can I find Microsoft assemblies that are not already in Visual Studio?

查看:139
本文介绍了在哪里可以找到Visual Studio中尚未提供的Microsoft程序集?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我认为有人可以普遍回答这个问题,但是如果有人想具体说明,我将尝试使用:

I figured someone can answer the question generally but if anyone wants to get specific I am trying to use:

使用System.Web.Security.SingleSignOn;
使用System.Web.Security.SingleSignOn.Authorization;

using System.Web.Security.SingleSignOn; using System.Web.Security.SingleSignOn.Authorization;

我已经绞尽脑汁,这是我找到的最接近的答案:

I've googled my brains out and this is the closest answer I found:

我们离线讨论了此问题,但看起来ADFS程序集是GACed,但是
未安装在文件系统上或未在VS.NET中注册,因此显示
在.NET选项卡中。我猜想MS在这种情况下可能需要以
来增强安装程序。与此同时,您可能需要自己完成此操作。

"We discussed this offline, but it looks like the ADFS assembly is GACed, but not installed on the file system or registered with VS.NET so that it shows up in the .NET tab. I'm guessing MS may need to beef up the installer for this scenario. In the meantime, you probably need to do this yourself."

到底是什么,我该怎么办?

What on earth, do WHAT myself?

推荐答案

我发现了安装日志显示它应该在其中

I found an install log showing that it was expected to be in


C:\WINDOWS\ADFS\System.Web.Security.SingleSignon.dll

C:\WINDOWS\ADFS\System.Web.Security.SingleSignon.dll



Windows Server 2003上的

。您可能需要安装活动目录才能显示在其中,因为我检查了我的一台2003服务器

on Windows Server 2003. You probably need to have active directory installed for it to appear there because I checked one of my 2003 servers without AD and it wasn't there.

通常我想该DLL将被注册在系统范围的Global Assembly Cache(GAC)中,所以您不会必须知道它的实际路径。如果程序集已在GAC中注册,则可以通过打开添加引用对话框并单击 .NET选项卡来添加对该程序集的引用。

Normally I would guess the DLL would be registered in the system-wide Global Assembly Cache (GAC), so you wouldn't have to know the actual path for it. If an assembly is registered in the GAC, then you can add a reference to it by bringing up the "Add Reference" dialog and clicking on the ".NET" Tab.

这篇关于在哪里可以找到Visual Studio中尚未提供的Microsoft程序集?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆