rc1-update2(CS0433)SecureString

时间:2016-05-25 06:56:15

标签: c# visual-studio-2015 dnx asp.net5

我在rc1-update2的最后一次视觉工作室更新后收到此错误,现在一切都搞砸了我

我得到的错误

  

错误CS0433两者都存在“SecureString”类型   'System.Security.SecureString,Version = 4.0.0.0,Culture = neutral,   PublicKeyToken = b03f5f7f11d50a3a'和'mscorlib,Version = 4.0.0.0,   Culture = neutral,PublicKeyToken = b77a5c561934e089'

dnvm列表

  

Active Version运行时体系结构OperatingSystem Alias   ------ ------- ------- ------------ --------------- --- -

   1.0.0-rc1-final   clr     x86          win   *    1.0.0-rc1-update1 clr     x64          win             default

显然我在使用

  

dnvm使用1.0.0-rc1-update1 -r clr -arch x64 -p

我没有使用global.json,我不打算参与我的项目json是这样的

  

{

     

“buildOptions”:{       “emitEntryPoint”:true},

     

“依赖项”:{       “Microsoft.AspNet.IISPlatformHandler”:“1.0.0-rc1-final”,       “Microsoft.AspNet.Server.Kestrel”:“1.0.0-rc1-final”,       “Microsoft.AspNet.Mvc”:“6.0.0-rc1-final”,       “Microsoft.AspNet.Mvc.TagHelpers”:“6.0.0-rc1-final”,       “Microsoft.AspNet.StaticFiles”:“1.0.0-rc1-final”,       “Microsoft.AspNet.Tooling.Razor”:“1.0.0-rc1-final”,       “Microsoft.Extensions.CodeGenerators.Mvc”:“1.0.0-rc1-final”,       “Microsoft.Extensions.Configuration.FileProviderExtensions”:“1.0.0-rc1-final”,       “Microsoft.Extensions.Configuration.Json”:“1.0.0-rc1-final”,       “Microsoft.Extensions.Configuration.UserSecrets”:“1.0.0-rc1-final”,       “Microsoft.Extensions.Logging”:“1.0.0-rc1-final”,       “Microsoft.Extensions.Logging.Console”:“1.0.0-rc1-final”,       “Microsoft.Extensions.Logging.Debug”:“1.0.0-rc1-final”,       “Microsoft.VisualStudio.Web.BrowserLink.Loader”:“14.0.0-rc1-final”,       “Microsoft.AspNet.Mvc.ViewFeatures”:“6.0.0-rc1-final”,       “Microsoft.AspNet.Diagnostics”:“1.0.0-rc1-final”,       “Microsoft.AspNet.Localization”:“1.0.0-rc1-final”,       “System.Security.SecureString”:“4.0.0-beta-23409”,       “System.Runtime”:“4.0.21-beta-23516”,       “System.Runtime.InteropServices”:“4.0.21-beta-23516”,       “Newtonsoft.Json”:“8.0.3”,       “Microsoft.AspNet.Http”:“1.0.0-rc1-final”,       “Microsoft.AspNet.Session”:“1.0.0-rc1-final”,       “Microsoft.Extensions.Caching.Memory”:“1.0.0-rc1-final”,       “System.Net.Primitives”:“4.0.11-beta-23516”},

     

“命令”:{       “web”:“Microsoft.AspNet.Server.Kestrel”,       “ef”:“EntityFramework.Commands”},

     

“frameworks”:{       “dnx451”:{         “依赖”:{.....         }       },

     

“排除”:[       “wwwroot的”       “node_modules”],“publishExclude”:[       “的。用户”,       “ .vspscc”]}

如果有人有类似的问题,那我的脑袋已经撞墙了很长一段时间才能分享

0 个答案:

没有答案