{"action":"created","issue":{"url":"https://api.github.com/repos/fsprojects/Paket/issues/1423","labels_url":"https://api.github.com/repos/fsprojects/Paket/issues/1423/labels{/name}","comments_url":"https://api.github.com/repos/fsprojects/Paket/issues/1423/comments","events_url":"https://api.github.com/repos/fsprojects/Paket/issues/1423/events","html_url":"https://github.com/fsprojects/Paket/issues/1423","id":128128786,"number":1423,"title":"type initializer exception on .net4.0","user":{"login":"daredude","id":384085,"avatar_url":"https://avatars.githubusercontent.com/u/384085?v=3","gravatar_id":"","url":"https://api.github.com/users/daredude","html_url":"https://github.com/daredude","followers_url":"https://api.github.com/users/daredude/followers","following_url":"https://api.github.com/users/daredude/following{/other_user}","gists_url":"https://api.github.com/users/daredude/gists{/gist_id}","starred_url":"https://api.github.com/users/daredude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daredude/subscriptions","organizations_url":"https://api.github.com/users/daredude/orgs","repos_url":"https://api.github.com/users/daredude/repos","events_url":"https://api.github.com/users/daredude/events{/privacy}","received_events_url":"https://api.github.com/users/daredude/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-22T10:42:04Z","updated_at":"2016-01-22T11:44:28Z","closed_at":null,"body":"Hi,\r\nI added a project, that contains all needed projects and artefacts to reproduce the type initializer error:\r\nhttps://github.com/daredude/paket-issue\r\n\r\nI created a package of the 'HelloWorldLib' using the included nuget.exe.\r\nThe package is stored in the directory 'nugetfeed'\r\nThen I used the bootstrapper to install paket in project 'HelloWorldApp' (Btw. the bootstrapper is not installing the paket.targets?)\r\nI added a paket.dependency file to reference the relative nuget folder '../../nugetfeed' and add dependency 'nuget HelloWorldLib'.\r\nRunning 'paket install' leads to this output:\r\n\r\n```sh\r\nPaket version 2.47.1.0\r\nResolving packages for group Main:\r\nPaket failed with:\r\nDer Typeninitialisierer für \"<StartupCode$FSharp-Core>.$Control\" hat eine Ausnahme verursacht.\r\n```\r\n\r\nMy setup:\r\n* Windows 7 Professional SP1\r\n* Visual Studio 2010 SP1\r\n    * Microsoft Visual C# 2010\r\n    * Microsoft Visual F# 2010\r\n* .NET Framework versiones installed:\r\n    * v2.0.50727\r\n    * v3.0\r\n    * v3.5\r\n    * v4\r\n    * v4.0\r\n* Nuget v 2.9.0.729\r\n\r\nCan you check, if you can reproduce the issue on your machine?"},"comment":{"url":"https://api.github.com/repos/fsprojects/Paket/issues/comments/173894901","html_url":"https://github.com/fsprojects/Paket/issues/1423#issuecomment-173894901","issue_url":"https://api.github.com/repos/fsprojects/Paket/issues/1423","id":173894901,"user":{"login":"daredude","id":384085,"avatar_url":"https://avatars.githubusercontent.com/u/384085?v=3","gravatar_id":"","url":"https://api.github.com/users/daredude","html_url":"https://github.com/daredude","followers_url":"https://api.github.com/users/daredude/followers","following_url":"https://api.github.com/users/daredude/following{/other_user}","gists_url":"https://api.github.com/users/daredude/gists{/gist_id}","starred_url":"https://api.github.com/users/daredude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daredude/subscriptions","organizations_url":"https://api.github.com/users/daredude/orgs","repos_url":"https://api.github.com/users/daredude/repos","events_url":"https://api.github.com/users/daredude/events{/privacy}","received_events_url":"https://api.github.com/users/daredude/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T11:44:27Z","updated_at":"2016-01-22T11:44:27Z","body":"I installed the latest framework version 4.6. That solved the issue. Thanks for pointing me in the right direction. "}}