{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Home/issues/1077","labels_url":"https://api.github.com/repos/aspnet/Home/issues/1077/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Home/issues/1077/comments","events_url":"https://api.github.com/repos/aspnet/Home/issues/1077/events","html_url":"https://github.com/aspnet/Home/issues/1077","id":116952513,"number":1077,"title":" FileLoadException: A strongly-named assembly is required. Error","user":{"login":"kspearrin","id":1190944,"avatar_url":"https://avatars.githubusercontent.com/u/1190944?v=3","gravatar_id":"","url":"https://api.github.com/users/kspearrin","html_url":"https://github.com/kspearrin","followers_url":"https://api.github.com/users/kspearrin/followers","following_url":"https://api.github.com/users/kspearrin/following{/other_user}","gists_url":"https://api.github.com/users/kspearrin/gists{/gist_id}","starred_url":"https://api.github.com/users/kspearrin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kspearrin/subscriptions","organizations_url":"https://api.github.com/users/kspearrin/orgs","repos_url":"https://api.github.com/users/kspearrin/repos","events_url":"https://api.github.com/users/kspearrin/events{/privacy}","received_events_url":"https://api.github.com/users/kspearrin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-14T21:17:33Z","updated_at":"2015-11-16T02:50:35Z","closed_at":"2015-11-15T04:16:43Z","body":"Please see the following repository to reproduce the issue: https://github.com/kspearrin/StrongNameErrorBase32Package\r\n\r\nref: https://github.com/kspearrin/StrongNameErrorBase32Package/blob/master/src/StrongNameErrorBase32Package/Controllers/ValuesController.cs\r\n\r\n```csharp\r\nusing System;\r\nusing System.Collections.Generic;\r\nusing Base32;\r\nusing Microsoft.AspNet.Mvc;\r\nusing OtpSharp;\r\n\r\nnamespace StrongNameErrorBase32Package.Controllers\r\n{\r\n    [Route(\"api/[controller]\")]\r\n    public class ValuesController : Controller\r\n    {\r\n        // GET: api/values/fails\r\n        [HttpGet(\"fails\")]\r\n        public IEnumerable<string> GetFails()\r\n        {\r\n            var key = KeyGeneration.GenerateRandomKey(20);\r\n            var qrData = KeyUrl.GetTotpUrl(key, \"me\");\r\n            return new string[] { \"value1\", \"value2\", qrData };\r\n        }\r\n\r\n        // GET: api/values/works\r\n        [HttpGet(\"works\")]\r\n        public IEnumerable<string> GetWorks()\r\n        {\r\n            var key = KeyGeneration.GenerateRandomKey(20);\r\n            var b32String = Base32Encoder.Encode(key);\r\n            return new string[] { \"value1\", \"value2\", b32String };\r\n        }\r\n    }\r\n}\r\n```\r\n\r\nI am trying to use a package, [OtpSharp](https://bitbucket.org/devinmartin/otp-sharp/wiki/Home) in a WebAPI project and am getting the following exception:\r\n\r\n> An exception of type 'System.IO.FileLoadException' occurred in OtpSharp.dll but was not handled in user code\r\n> \r\n> Additional information: Could not load file or assembly 'Base32, Version=1.0.0.26, Culture=neutral, PublicKeyToken=3427d4dc8cee30c6' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)\r\n\r\nInterestingly enough, if I use the [Base32](https://bitbucket.org/devinmartin/base32) dependency directly, it works fine.\r\n\r\nAny idea whats going on here? I've tried deleting `project.lock.json` and all packages from `.dnx/packages` with a restore but that did not help."},"comment":{"url":"https://api.github.com/repos/aspnet/Home/issues/comments/156895845","html_url":"https://github.com/aspnet/Home/issues/1077#issuecomment-156895845","issue_url":"https://api.github.com/repos/aspnet/Home/issues/1077","id":156895845,"user":{"login":"kspearrin","id":1190944,"avatar_url":"https://avatars.githubusercontent.com/u/1190944?v=3","gravatar_id":"","url":"https://api.github.com/users/kspearrin","html_url":"https://github.com/kspearrin","followers_url":"https://api.github.com/users/kspearrin/followers","following_url":"https://api.github.com/users/kspearrin/following{/other_user}","gists_url":"https://api.github.com/users/kspearrin/gists{/gist_id}","starred_url":"https://api.github.com/users/kspearrin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kspearrin/subscriptions","organizations_url":"https://api.github.com/users/kspearrin/orgs","repos_url":"https://api.github.com/users/kspearrin/repos","events_url":"https://api.github.com/users/kspearrin/events{/privacy}","received_events_url":"https://api.github.com/users/kspearrin/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T02:50:35Z","updated_at":"2015-11-16T02:50:35Z","body":"Just to follow up, this issue was resolved by the OtpSharp author: https://bitbucket.org/devinmartin/otp-sharp/issues/14/aspnet-5-fileloadexception-a-strongly"}}