本文介绍了添加未在 VS2010 Express 中显示的 STS 引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经完成了以下操作.我的 Windows 7 机器上安装了 VS Express 2010(试用版).

I have already done the following. I have VS Express 2010 (trial) installed on my windows 7 machine.

  1. http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=4451

安装 VS C++ express 以获得 Visual Studio 命令提示符

Installed VS C++ express to get Visual Studio command prompt

尝试执行 C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv/ResetAddin Microsoft.IdentityModel.Tools.VS.VSAddin.FederationAddin.这不起作用,因为我的设置中不存在 devenv

Tried to execute C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv /ResetAddin Microsoft.IdentityModel.Tools.VS.VSAddin.FederationAddin. This does not work as devenv does not exist on my setup

将Microsoft.IdentityModel.Tools.VS.VSAddin.Addin"添加到我的用户配置文件中@ http://www.fascinatedwithsoftware.com/blog/post/2011/06/14/Add-STS-Reference-is-Missing-in-Visual-Studio-2010.aspx

Added "Microsoft.IdentityModel.Tools.VS.VSAddin.Addin" to my user profile as described @ http://www.fascinatedwithsoftware.com/blog/post/2011/06/14/Add-STS-Reference-is-Missing-in-Visual-Studio-2010.aspx

仍然在 webrole 上右击添加 STS 引用不显示"

Still on right click of webrole "Add STS reference does not display"

问题:VS 2010 Express(试用版)是否会出现此选项?

Question:Does this option appear for VS 2010 Express (trial edition)?

推荐答案

在 VS 2010 Express 中,该选项不存在.然而,一切都没有丢失,因为这只是 FedUtil.exe 的快捷方式.

With VS 2010 Express, that option does not exist. All is not lost however as that is simply a shortcut to FedUtil.exe.

这是您已经安装的 WIF SDK 的一部分.

This is part of the WIF SDK which you have already installed.

在我的 PC 上,它安装在 C:\Program Files\Windows Identity Foundation SDK\v4.0.

On my PC, it installs at C:\Program Files\Windows Identity Foundation SDK\v4.0.

运行它,指向 web.config 的位置并按照步骤操作.

Run that, point to the location of your web.config and follow the steps.

这篇关于添加未在 VS2010 Express 中显示的 STS 引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-18 16:09