{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/20874","repository_url":"https://api.github.com/repos/dotnet/corefx","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/20874/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/20874/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/20874/events","html_url":"https://github.com/dotnet/corefx/issues/20874","id":234889126,"number":20874,"title":"ProjectReference Version number issue (Visual Studio 2017 Community)","user":{"login":"avikenjale","id":6217482,"avatar_url":"https://avatars2.githubusercontent.com/u/6217482?v=3","gravatar_id":"","url":"https://api.github.com/users/avikenjale","html_url":"https://github.com/avikenjale","followers_url":"https://api.github.com/users/avikenjale/followers","following_url":"https://api.github.com/users/avikenjale/following{/other_user}","gists_url":"https://api.github.com/users/avikenjale/gists{/gist_id}","starred_url":"https://api.github.com/users/avikenjale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avikenjale/subscriptions","organizations_url":"https://api.github.com/users/avikenjale/orgs","repos_url":"https://api.github.com/users/avikenjale/repos","events_url":"https://api.github.com/users/avikenjale/events{/privacy}","received_events_url":"https://api.github.com/users/avikenjale/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-09T17:17:18Z","updated_at":"2017-06-09T23:42:53Z","closed_at":null,"body":"**Domain.csproj** _(potable)_ [Targetting shown below] \r\n\r\n![image](https://user-images.githubusercontent.com/6217482/26986023-dd8ddd9a-4d13-11e7-9743-1ac1c8dec513.png)\r\n\r\n**Business.csproj** _(.net core class library)_\r\n```\r\n<Project Sdk=\"Microsoft.NET.Sdk\">\r\n  <PropertyGroup>\r\n    <VersionPrefix>1.0.0.0</VersionPrefix>\r\n    <TargetFrameworks>netstandard1.1;net45</TargetFrameworks>\r\n    <PackageTargetFallback>portable-net45+win8</PackageTargetFallback>\r\n  </PropertyGroup>\r\n  <ItemGroup>   \r\n    <ProjectReference Include=\"..\\Domain\\Domain.csproj\" />\r\n  </ItemGroup>  \r\n</Project>\r\n```\r\n**Business.Tests.csproj** _(.net core class library)_\r\n```\r\n<Project Sdk=\"Microsoft.NET.Sdk\">\r\n  <PropertyGroup>\r\n    <TargetFrameworks>netcoreapp1.1;net45</TargetFrameworks>\r\n    <PackageTargetFallback>portable-net45+win8</PackageTargetFallback>\r\n  </PropertyGroup>\r\n  <ItemGroup>\r\n    <PackageReference Include=\"Microsoft.NET.Test.Sdk\" Version=\"15.0.0\" />\r\n    <PackageReference Include=\"NUnit\" Version=\"3.6.1\" />\r\n    <PackageReference Include=\"NUnit3TestAdapter\" Version=\"3.8.0-alpha1\" />\r\n    <PackageReference Include=\"Shouldly\" Version=\"2.8.2\" />\r\n    <PackageReference Include=\"Moq\" Version=\"4.7.10\" />\r\n  </ItemGroup>\r\n  <ItemGroup>\r\n    <Service Include=\"{82a7f48d-3b50-4b1e-b82e-3ada8210c358}\" />\r\n  </ItemGroup>\r\n  <ItemGroup>\r\n    <ProjectReference Include=\"..\\Business\\Business.csproj\"/>\r\n    <ProjectReference Include=\"..\\Domain\\Domain.csproj\"/>\r\n  </ItemGroup>\r\n</Project>\r\n```\r\n\r\n**WebApi.csproj**  _(asp.net core web api)_\r\n```\r\n<Project Sdk=\"Microsoft.NET.Sdk.Web\">\r\n  <PropertyGroup>\r\n    <TargetFrameworks>netcoreapp1.1;net45</TargetFrameworks>\r\n    <PackageTargetFallback>portable-net45+win8</PackageTargetFallback>\r\n  </PropertyGroup>\r\n  <ItemGroup>\r\n    <Folder Include=\"Controllers\\\" />\r\n    <Folder Include=\"wwwroot\\\" />\r\n  </ItemGroup>\r\n  <ItemGroup>\r\n    <PackageReference Include=\"Microsoft.ApplicationInsights.AspNetCore\" Version=\"2.0.0\" />\r\n    <PackageReference Include=\"Microsoft.AspNetCore\" Version=\"1.1.2\" />\r\n    <PackageReference Include=\"Microsoft.AspNetCore.Mvc\" Version=\"1.1.2\" />\r\n    <PackageReference Include=\"Microsoft.AspNetCore.StaticFiles\" Version=\"1.1.2\" />\r\n    <PackageReference Include=\"Microsoft.AspNetCore.Mvc.Formatters.Xml\" Version=\"1.1.2\" />\r\n    <PackageReference Include=\"Microsoft.Extensions.Logging.Debug\" Version=\"1.1.2\" />\r\n    <PackageReference Include=\"Newtonsoft.Json\" Version=\"10.0.2\" />\r\n    <PackageReference Include=\"System.Linq\" Version=\"4.3.0\" />\r\n    <PackageReference Include=\"System.Threading\" Version=\"4.3.0\" />\r\n  </ItemGroup>\r\n  <ItemGroup>\r\n    <ProjectReference Include=\"..\\Business\\Business.csproj\" />\r\n    <ProjectReference Include=\"..\\Domain\\Domain.csproj\" />\r\n  </ItemGroup>\r\n</Project>\r\n```\r\n\r\nGetting following errors (both Business & webapi and respective test projects) when opening solution in **Visual studio 2017 community**:\r\n\r\n>Unable to resolve 'C:\\Projects\\Dmian\\Domain.csproj' for '.NETStandard,Version=v1.1'.\t\r\n\r\n>Unable to resolve 'C:\\Projects\\Dmian\\Domain.csproj' for '.NETFramework,Version=v4.5'.\t\t\t\t\r\n\r\n\r\n>Unexpected dependency 'C:\\Projects\\Domain\\Domain.csproj' with no version number.\t\r\nProject: Business.Tests\t\r\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\Sdks\\Microsoft.NET.Sdk\\build\\Microsoft.PackageDependencyResolution.targets\t154\t\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/307525276","html_url":"https://github.com/dotnet/corefx/issues/20874#issuecomment-307525276","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/20874","id":307525276,"user":{"login":"ericstj","id":8918108,"avatar_url":"https://avatars0.githubusercontent.com/u/8918108?v=3","gravatar_id":"","url":"https://api.github.com/users/ericstj","html_url":"https://github.com/ericstj","followers_url":"https://api.github.com/users/ericstj/followers","following_url":"https://api.github.com/users/ericstj/following{/other_user}","gists_url":"https://api.github.com/users/ericstj/gists{/gist_id}","starred_url":"https://api.github.com/users/ericstj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericstj/subscriptions","organizations_url":"https://api.github.com/users/ericstj/orgs","repos_url":"https://api.github.com/users/ericstj/repos","events_url":"https://api.github.com/users/ericstj/events{/privacy}","received_events_url":"https://api.github.com/users/ericstj/received_events","type":"User","site_admin":false},"created_at":"2017-06-09T23:42:53Z","updated_at":"2017-06-09T23:42:53Z","body":"I believe this belongs in http://github.com/dotnet/project-system.  "}}
{"actor":{"display_login":"ericstj"}}