How to add reference to System.IdentityModel in Visual Studio 2015 RC -
in vs 2015 rc start new project using asp.net 5 preview template named "web site" , "no authentication".
i need incorporate existing helper class have references microsoft.identitymodel.
i run install-package microsoft.identitymodel
error follows.
install-package microsoft.identitymodel -verbose install failed. rolling back... uninstalling nuget package microsoft.identitymodel.6.1.7600.16394. install-package : error occurred while sending request.at line:1 char:1 + install-package microsoft.identitymodel -verbose + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + categoryinfo : notspecified: (:) [install-package], exception + fullyqualifiederrorid : nugetcmdletunhandledexception,nuget.packagemanagement.powershellcmdlets.installpackagecommand
something similar happens if use package manager ui.
i tried instead adding reference directly in frameworks > dnx451 in project.json yields yellow triangle in references section of solution explorer.
anything obvious i'm doing wrong? there other way try adding reference?
this addressed referencing in dependencies section of project.json.
{ ... "dependencies": { "microsoft.aspnet.diagnostics": "1.0.0-beta4", ... "microsoft.visualstudio.web.browserlink.loader": "14.0.0-beta4", "microsoft.identitymodel": "6.1.7600.16394" },
Comments
Post a Comment