{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-functions-durable-extension/issues/36","repository_url":"https://api.github.com/repos/Azure/azure-functions-durable-extension","labels_url":"https://api.github.com/repos/Azure/azure-functions-durable-extension/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-functions-durable-extension/issues/36/comments","events_url":"https://api.github.com/repos/Azure/azure-functions-durable-extension/issues/36/events","html_url":"https://github.com/Azure/azure-functions-durable-extension/issues/36","id":254086964,"number":36,"title":"Unable to install the Durable Extension NuGet package","user":{"login":"cmatskas","id":4126750,"avatar_url":"https://avatars3.githubusercontent.com/u/4126750?v=4","gravatar_id":"","url":"https://api.github.com/users/cmatskas","html_url":"https://github.com/cmatskas","followers_url":"https://api.github.com/users/cmatskas/followers","following_url":"https://api.github.com/users/cmatskas/following{/other_user}","gists_url":"https://api.github.com/users/cmatskas/gists{/gist_id}","starred_url":"https://api.github.com/users/cmatskas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmatskas/subscriptions","organizations_url":"https://api.github.com/users/cmatskas/orgs","repos_url":"https://api.github.com/users/cmatskas/repos","events_url":"https://api.github.com/users/cmatskas/events{/privacy}","received_events_url":"https://api.github.com/users/cmatskas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-30T18:03:48Z","updated_at":"2017-08-30T18:13:29Z","closed_at":null,"author_association":"NONE","body":"I'm trying to create a demo using the Durable Functions binding extension but I'm having issues with NuGet. My current set up is:\r\n\r\n- Latest version of VS2017 (15.3.3) \r\n- Latest version of Azure Functions Extension (15.0.30812)\r\n- Latest version of NuGet\r\n\r\n## Steps to recreate:\r\n\r\n1. File -> New -> Project -> Cloud -> Azure Functions\r\n2. Update Microsoft.Net.Sdk.Functions to latest 1.0.2\r\n3. Follow the instructions to use Durable Functions here: https://azure.github.io/azure-functions-durable-extension/articles/installation.html \r\n4. Try to install NuGet package **Microsoft.Azure.WebJobs.Extensions.DurableTask**\r\n\r\n## Installation error\r\n\r\n```\r\nRestoring packages for C:\\Users\\chmatsk\\Source\\Repos\\FunctionApp1\\FunctionApp1\\FunctionApp1.csproj...\r\nVersion conflict detected for Microsoft.Azure.WebJobs. Reference the package directly from the project to resolve this issue. \r\n FunctionApp1 (>= 1.0.0) -> Microsoft.Azure.WebJobs.Extensions.DurableTask (>= 0.2.2-alpha) -> Microsoft.Azure.WebJobs (>= 2.1.0-beta1-10950) \r\n FunctionApp1 (>= 1.0.0) -> Microsoft.NET.Sdk.Functions (>= 1.0.2) -> Microsoft.Azure.WebJobs (>= 2.1.0-beta1).\r\nPackage restore failed. Rolling back package changes for 'FunctionApp1'.\r\n```"},"comment":{"url":"https://api.github.com/repos/Azure/azure-functions-durable-extension/issues/comments/326074474","html_url":"https://github.com/Azure/azure-functions-durable-extension/issues/36#issuecomment-326074474","issue_url":"https://api.github.com/repos/Azure/azure-functions-durable-extension/issues/36","id":326074474,"user":{"login":"cgillum","id":2704139,"avatar_url":"https://avatars2.githubusercontent.com/u/2704139?v=4","gravatar_id":"","url":"https://api.github.com/users/cgillum","html_url":"https://github.com/cgillum","followers_url":"https://api.github.com/users/cgillum/followers","following_url":"https://api.github.com/users/cgillum/following{/other_user}","gists_url":"https://api.github.com/users/cgillum/gists{/gist_id}","starred_url":"https://api.github.com/users/cgillum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgillum/subscriptions","organizations_url":"https://api.github.com/users/cgillum/orgs","repos_url":"https://api.github.com/users/cgillum/repos","events_url":"https://api.github.com/users/cgillum/events{/privacy}","received_events_url":"https://api.github.com/users/cgillum/received_events","type":"User","site_admin":false},"created_at":"2017-08-30T18:13:29Z","updated_at":"2017-08-30T18:13:29Z","author_association":"COLLABORATOR","body":"What does your .csproj file look like? I've seen similar issues before and the resolution was to add the WebJobs package explicitly.\r\n\r\n```\r\n<PackageReference Include=\"Microsoft.Azure.WebJobs\" Version=\"2.1.0-beta1-10950\" />\r\n```\r\n\r\nHere is what we use in the [sample project](https://github.com/Azure/azure-functions-durable-extension/blob/master/samples/precompiled/VSSample.csproj):\r\n\r\n```\r\n<Project Sdk=\"Microsoft.NET.Sdk\">\r\n  <PropertyGroup>\r\n    <TargetFramework>net46</TargetFramework>\r\n  </PropertyGroup>\r\n  <ItemGroup>\r\n    <PackageReference Include=\"Microsoft.Azure.WebJobs\" Version=\"2.1.0-beta1-10950\" />\r\n    <PackageReference Include=\"Microsoft.Azure.WebJobs.Extensions\" Version=\"2.1.0-beta1\" />\r\n    <PackageReference Include=\"Microsoft.Azure.WebJobs.Extensions.Http\" Version=\"1.0.0-beta1\" />\r\n    <PackageReference Include=\"Microsoft.Azure.WebJobs.Extensions.DurableTask\" Version=\"0.2.2-alpha\" />\r\n    <PackageReference Include=\"Microsoft.Azure.WebJobs.Extensions.Twilio\" Version=\"1.0.0\" />\r\n    <PackageReference Include=\"Newtonsoft.Json\" Version=\"10.0.2\" />\r\n    <PackageReference Include=\"Microsoft.NET.Sdk.Functions\" Version=\"1.0.0\" />\r\n  </ItemGroup>\r\n  <ItemGroup>\r\n    <Reference Include=\"Microsoft.CSharp\" />\r\n  </ItemGroup>\r\n  <ItemGroup>\r\n    <None Update=\"host.json\">\r\n      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>\r\n    </None>\r\n    <None Update=\"local.settings.json\">\r\n      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>\r\n    </None>\r\n  </ItemGroup>\r\n</Project>\r\n```"}}
{"actor":{"display_login":"cgillum"}}