{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/service-fabric-issues/issues/627","repository_url":"https://api.github.com/repos/Azure/service-fabric-issues","labels_url":"https://api.github.com/repos/Azure/service-fabric-issues/issues/627/labels{/name}","comments_url":"https://api.github.com/repos/Azure/service-fabric-issues/issues/627/comments","events_url":"https://api.github.com/repos/Azure/service-fabric-issues/issues/627/events","html_url":"https://github.com/Azure/service-fabric-issues/issues/627","id":273183045,"number":627,"title":"Unable to deploy stateful service","user":{"login":"mgrishkov","id":3851145,"avatar_url":"https://avatars1.githubusercontent.com/u/3851145?v=4","gravatar_id":"","url":"https://api.github.com/users/mgrishkov","html_url":"https://github.com/mgrishkov","followers_url":"https://api.github.com/users/mgrishkov/followers","following_url":"https://api.github.com/users/mgrishkov/following{/other_user}","gists_url":"https://api.github.com/users/mgrishkov/gists{/gist_id}","starred_url":"https://api.github.com/users/mgrishkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgrishkov/subscriptions","organizations_url":"https://api.github.com/users/mgrishkov/orgs","repos_url":"https://api.github.com/users/mgrishkov/repos","events_url":"https://api.github.com/users/mgrishkov/events{/privacy}","received_events_url":"https://api.github.com/users/mgrishkov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-11-11T23:02:41Z","updated_at":"2017-11-12T14:57:08Z","closed_at":null,"author_association":"NONE","body":"I create a [sample application](https://github.com/mgrishkov/sf-statefull-sample) with stateful service. It use net462 as a target framework. After publishing it comes unhealthy. \r\nThe most interesting thing I found in debug log:\r\n`\r\nAn unhandled exception of type 'System.IO.FileLoadException' occurred in Unknown Module.\r\nCould not load file or assembly \"System.Fabric, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null\"  or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)\r\n`\r\nApplication package contains System.Fabric.dll but it version 6.0.219.9494.\r\n\r\nCan you please help me to determine what is wrong with my sample application.\r\n\r\nP.S. Here you can see full text of [build log](https://github.com/mgrishkov/sf-statefull-sample/blob/master/logs/build.log), [debug log](https://github.com/mgrishkov/sf-statefull-sample/blob/master/logs/debug.log) and [service fabric tools log](https://github.com/mgrishkov/sf-statefull-sample/blob/master/logs/service-fabric-tools.log).\r\n"},"comment":{"url":"https://api.github.com/repos/Azure/service-fabric-issues/issues/comments/343743013","html_url":"https://github.com/Azure/service-fabric-issues/issues/627#issuecomment-343743013","issue_url":"https://api.github.com/repos/Azure/service-fabric-issues/issues/627","id":343743013,"user":{"login":"mgrishkov","id":3851145,"avatar_url":"https://avatars1.githubusercontent.com/u/3851145?v=4","gravatar_id":"","url":"https://api.github.com/users/mgrishkov","html_url":"https://github.com/mgrishkov","followers_url":"https://api.github.com/users/mgrishkov/followers","following_url":"https://api.github.com/users/mgrishkov/following{/other_user}","gists_url":"https://api.github.com/users/mgrishkov/gists{/gist_id}","starred_url":"https://api.github.com/users/mgrishkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgrishkov/subscriptions","organizations_url":"https://api.github.com/users/mgrishkov/orgs","repos_url":"https://api.github.com/users/mgrishkov/repos","events_url":"https://api.github.com/users/mgrishkov/events{/privacy}","received_events_url":"https://api.github.com/users/mgrishkov/received_events","type":"User","site_admin":false},"created_at":"2017-11-12T14:57:08Z","updated_at":"2017-11-12T14:57:08Z","author_association":"NONE","body":"According to the `Get-ServiceFabricRuntimeSupportedVersion -Latest`  it is the last available runtime version.\r\n\r\n```\r\nVersion      SupportExpiryDate TargetPackageLocation\r\n-------      ----------------- ---------------------\r\n6.0.219.9494                   https://download.microsoft.com/download/B/0/B/B0BCCAC5-65AA-4BE3-AB13-D5FF5890F4B5/6.0.219.9494/MicrosoftAzureServiceFabric.6.0.219.9494.cab\r\n```"}}
{"actor":{"display_login":"mgrishkov"}}