payload: {"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/AspNetCore/issues/17374","repository_url":"https://api.github.com/repos/aspnet/AspNetCore","labels_url":"https://api.github.com/repos/aspnet/AspNetCore/issues/17374/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/AspNetCore/issues/17374/comments","events_url":"https://api.github.com/repos/aspnet/AspNetCore/issues/17374/events","html_url":"https://github.com/aspnet/AspNetCore/issues/17374","id":528147254,"node_id":"MDU6SXNzdWU1MjgxNDcyNTQ=","number":17374,"title":"Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation refers to incompatible packages","user":{"login":"gthvidsten","id":8248605,"node_id":"MDQ6VXNlcjgyNDg2MDU=","avatar_url":"https://avatars0.githubusercontent.com/u/8248605?v=4","gravatar_id":"","url":"https://api.github.com/users/gthvidsten","html_url":"https://github.com/gthvidsten","followers_url":"https://api.github.com/users/gthvidsten/followers","following_url":"https://api.github.com/users/gthvidsten/following{/other_user}","gists_url":"https://api.github.com/users/gthvidsten/gists{/gist_id}","starred_url":"https://api.github.com/users/gthvidsten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gthvidsten/subscriptions","organizations_url":"https://api.github.com/users/gthvidsten/orgs","repos_url":"https://api.github.com/users/gthvidsten/repos","events_url":"https://api.github.com/users/gthvidsten/events{/privacy}","received_events_url":"https://api.github.com/users/gthvidsten/received_events","type":"User","site_admin":false},"labels":[{"id":1118585221,"node_id":"MDU6TGFiZWwxMTE4NTg1MjIx","url":"https://api.github.com/repos/aspnet/AspNetCore/labels/area-mvc","name":"area-mvc","color":"5319e7","default":false,"description":"Includes: MVC, Razor, Localization, CORS, most templates"},{"id":792032401,"node_id":"MDU6TGFiZWw3OTIwMzI0MDE=","url":"https://api.github.com/repos/aspnet/AspNetCore/labels/investigate","name":"investigate","color":"bfe5bf","default":false,"description":null}],"state":"open","locked":false,"assignee":{"login":"pranavkm","id":174281,"node_id":"MDQ6VXNlcjE3NDI4MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/174281?v=4","gravatar_id":"","url":"https://api.github.com/users/pranavkm","html_url":"https://github.com/pranavkm","followers_url":"https://api.github.com/users/pranavkm/followers","following_url":"https://api.github.com/users/pranavkm/following{/other_user}","gists_url":"https://api.github.com/users/pranavkm/gists{/gist_id}","starred_url":"https://api.github.com/users/pranavkm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pranavkm/subscriptions","organizations_url":"https://api.github.com/users/pranavkm/orgs","repos_url":"https://api.github.com/users/pranavkm/repos","events_url":"https://api.github.com/users/pranavkm/events{/privacy}","received_events_url":"https://api.github.com/users/pranavkm/received_events","type":"User","site_admin":false},"assignees":[{"login":"pranavkm","id":174281,"node_id":"MDQ6VXNlcjE3NDI4MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/174281?v=4","gravatar_id":"","url":"https://api.github.com/users/pranavkm","html_url":"https://github.com/pranavkm","followers_url":"https://api.github.com/users/pranavkm/followers","following_url":"https://api.github.com/users/pranavkm/following{/other_user}","gists_url":"https://api.github.com/users/pranavkm/gists{/gist_id}","starred_url":"https://api.github.com/users/pranavkm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pranavkm/subscriptions","organizations_url":"https://api.github.com/users/pranavkm/orgs","repos_url":"https://api.github.com/users/pranavkm/repos","events_url":"https://api.github.com/users/pranavkm/events{/privacy}","received_events_url":"https://api.github.com/users/pranavkm/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/aspnet/AspNetCore/milestones/61","html_url":"https://github.com/aspnet/AspNetCore/milestone/61","labels_url":"https://api.github.com/repos/aspnet/AspNetCore/milestones/61/labels","id":4586144,"node_id":"MDk6TWlsZXN0b25lNDU4NjE0NA==","number":61,"title":"5.0.0-preview1","description":"","creator":{"login":"mkArtakMSFT","id":34246760,"node_id":"MDQ6VXNlcjM0MjQ2NzYw","avatar_url":"https://avatars3.githubusercontent.com/u/34246760?v=4","gravatar_id":"","url":"https://api.github.com/users/mkArtakMSFT","html_url":"https://github.com/mkArtakMSFT","followers_url":"https://api.github.com/users/mkArtakMSFT/followers","following_url":"https://api.github.com/users/mkArtakMSFT/following{/other_user}","gists_url":"https://api.github.com/users/mkArtakMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/mkArtakMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkArtakMSFT/subscriptions","organizations_url":"https://api.github.com/users/mkArtakMSFT/orgs","repos_url":"https://api.github.com/users/mkArtakMSFT/repos","events_url":"https://api.github.com/users/mkArtakMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/mkArtakMSFT/received_events","type":"User","site_admin":false},"open_issues":384,"closed_issues":216,"state":"open","created_at":"2019-08-19T16:38:05Z","updated_at":"2019-12-02T19:39:52Z","due_on":"2020-02-12T08:00:00Z","closed_at":null},"comments":3,"created_at":"2019-11-25T15:07:32Z","updated_at":"2019-12-02T20:36:11Z","closed_at":null,"author_association":"NONE","body":"### Description\r\nThe `Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation` NuGet package references other packages which will cause errors and warnings from the compiler (on new ASP.NET Core 3.0 projects).\r\n\r\n### Reproduce\r\nWhen trying to add the `Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation` NuGet package to a new ASP.NET Core 3.0 project an error occurs complaining about version mismatch.\r\n> Version conflict detected for Microsoft.CodeAnalysis.Common. Install/reference Microsoft.CodeAnalysis.Common 3.3.0 directly to project MyProject to resolve this issue.\r\n> MyProject -> Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation 3.0.0 -> Microsoft.CodeAnalysis.Razor 3.0.0 -> Microsoft.CodeAnalysis.Common (>= 3.3.0)\r\n\r\nThe next natural step would be to install `Microsoft.CodeAnalysis.Common 3.3.1` (3.3.0 doesn't exist). Now you can install `Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation`, but then other warnings show up about version mismatches:\r\n\r\n> Detected package version outside of dependency constraint: Microsoft.CodeAnalysis.CSharp 3.3.0 requires Microsoft.CodeAnalysis.Common (= 3.3.0) but version Microsoft.CodeAnalysis.Common 3.3.1 was resolved`\r\n> Detected package version outside of dependency constraint: Microsoft.CodeAnalysis.CSharp.Workspaces 2.8.0 requires Microsoft.CodeAnalysis.CSharp (= 2.8.0) but version Microsoft.CodeAnalysis.CSharp 3.3.0 was resolved\r\n> Detected package version outside of dependency constraint: Microsoft.CodeAnalysis.Workspaces.Common 2.8.0 requires Microsoft.CodeAnalysis.Common (= 2.8.0) but version Microsoft.CodeAnalysis.Common 3.3.1 was resolved\r\n\r\nNow, these are strictly speaking only warnings and everything should continue to work, but they do point at some major inconsistencies when it comes to NuGet packages and their references.\r\n\r\n### Expected\r\n\r\n`Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation` should be installed in new ASP.NET Core 3.0 projects without any package version conflicts.\r\n\r\n### Technical details\r\n- ASP.NET Core 3.0\r\n- Visual Studio 2019 16.3.9 (16.3.10 does not list this as fixed)\r\n```\r\nC:\\>dotnet --info\r\n.NET Core SDK (reflecting any global.json):\r\n Version:   3.0.100\r\n Commit:    04339c3a26\r\n\r\nRuntime Environment:\r\n OS Name:     Windows\r\n OS Version:  10.0.18362\r\n OS Platform: Windows\r\n RID:         win10-x64\r\n Base Path:   C:\\Program Files\\dotnet\\sdk\\3.0.100\\\r\n\r\nHost (useful for support):\r\n  Version: 3.0.0\r\n  Commit:  7d57652f33\r\n\r\n.NET Core SDKs installed:\r\n  2.1.4 [C:\\Program Files\\dotnet\\sdk]\r\n  2.1.100 [C:\\Program Files\\dotnet\\sdk]\r\n  2.1.201 [C:\\Program Files\\dotnet\\sdk]\r\n  2.1.202 [C:\\Program Files\\dotnet\\sdk]\r\n  2.1.401 [C:\\Program Files\\dotnet\\sdk]\r\n  2.1.402 [C:\\Program Files\\dotnet\\sdk]\r\n  2.1.403 [C:\\Program Files\\dotnet\\sdk]\r\n  2.1.503 [C:\\Program Files\\dotnet\\sdk]\r\n  2.1.504 [C:\\Program Files\\dotnet\\sdk]\r\n  2.1.505 [C:\\Program Files\\dotnet\\sdk]\r\n  2.1.507 [C:\\Program Files\\dotnet\\sdk]\r\n  2.1.602 [C:\\Program Files\\dotnet\\sdk]\r\n  2.1.801 [C:\\Program Files\\dotnet\\sdk]\r\n  2.1.802 [C:\\Program Files\\dotnet\\sdk]\r\n  2.2.101 [C:\\Program Files\\dotnet\\sdk]\r\n  2.2.202 [C:\\Program Files\\dotnet\\sdk]\r\n  3.0.100 [C:\\Program Files\\dotnet\\sdk]\r\n\r\n.NET Core runtimes installed:\r\n  Microsoft.AspNetCore.All 2.1.3 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.All]\r\n  Microsoft.AspNetCore.All 2.1.4 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.All]\r\n  Microsoft.AspNetCore.All 2.1.5 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.All]\r\n  Microsoft.AspNetCore.All 2.1.7 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.All]\r\n  Microsoft.AspNetCore.All 2.1.8 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.All]\r\n  Microsoft.AspNetCore.All 2.1.9 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.All]\r\n  Microsoft.AspNetCore.All 2.1.11 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.All]\r\n  Microsoft.AspNetCore.All 2.1.12 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.All]\r\n  Microsoft.AspNetCore.All 2.1.13 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.All]\r\n  Microsoft.AspNetCore.All 2.2.0 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.All]\r\n  Microsoft.AspNetCore.All 2.2.3 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.All]\r\n  Microsoft.AspNetCore.All 2.2.5 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.All]\r\n  Microsoft.AspNetCore.All 2.2.7 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.All]\r\n  Microsoft.AspNetCore.App 2.1.3 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.App]\r\n  Microsoft.AspNetCore.App 2.1.4 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.App]\r\n  Microsoft.AspNetCore.App 2.1.5 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.App]\r\n  Microsoft.AspNetCore.App 2.1.7 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.App]\r\n  Microsoft.AspNetCore.App 2.1.8 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.App]\r\n  Microsoft.AspNetCore.App 2.1.9 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.App]\r\n  Microsoft.AspNetCore.App 2.1.11 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.App]\r\n  Microsoft.AspNetCore.App 2.1.12 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.App]\r\n  Microsoft.AspNetCore.App 2.1.13 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.App]\r\n  Microsoft.AspNetCore.App 2.2.0 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.App]\r\n  Microsoft.AspNetCore.App 2.2.3 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.App]\r\n  Microsoft.AspNetCore.App 2.2.5 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.App]\r\n  Microsoft.AspNetCore.App 2.2.7 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.App]\r\n  Microsoft.AspNetCore.App 3.0.0 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.App]\r\n  Microsoft.NETCore.App 2.0.5 [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n  Microsoft.NETCore.App 2.0.7 [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n  Microsoft.NETCore.App 2.0.9 [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n  Microsoft.NETCore.App 2.1.3 [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n  Microsoft.NETCore.App 2.1.4 [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n  Microsoft.NETCore.App 2.1.5 [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n  Microsoft.NETCore.App 2.1.7 [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n  Microsoft.NETCore.App 2.1.8 [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n  Microsoft.NETCore.App 2.1.9 [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n  Microsoft.NETCore.App 2.1.11 [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n  Microsoft.NETCore.App 2.1.12 [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n  Microsoft.NETCore.App 2.1.13 [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n  Microsoft.NETCore.App 2.2.0 [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n  Microsoft.NETCore.App 2.2.3 [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n  Microsoft.NETCore.App 2.2.5 [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n  Microsoft.NETCore.App 2.2.7 [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n  Microsoft.NETCore.App 3.0.0 [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n  Microsoft.WindowsDesktop.App 3.0.0 [C:\\Program Files\\dotnet\\shared\\Microsoft.WindowsDesktop.App]\r\n```"},"comment":{"url":"https://api.github.com/repos/aspnet/AspNetCore/issues/comments/560569768","html_url":"https://github.com/aspnet/AspNetCore/issues/17374#issuecomment-560569768","issue_url":"https://api.github.com/repos/aspnet/AspNetCore/issues/17374","id":560569768,"node_id":"MDEyOklzc3VlQ29tbWVudDU2MDU2OTc2OA==","user":{"login":"pranavkm","id":174281,"node_id":"MDQ6VXNlcjE3NDI4MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/174281?v=4","gravatar_id":"","url":"https://api.github.com/users/pranavkm","html_url":"https://github.com/pranavkm","followers_url":"https://api.github.com/users/pranavkm/followers","following_url":"https://api.github.com/users/pranavkm/following{/other_user}","gists_url":"https://api.github.com/users/pranavkm/gists{/gist_id}","starred_url":"https://api.github.com/users/pranavkm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pranavkm/subscriptions","organizations_url":"https://api.github.com/users/pranavkm/orgs","repos_url":"https://api.github.com/users/pranavkm/repos","events_url":"https://api.github.com/users/pranavkm/events{/privacy}","received_events_url":"https://api.github.com/users/pranavkm/received_events","type":"User","site_admin":false},"created_at":"2019-12-02T20:36:11Z","updated_at":"2019-12-02T20:36:11Z","author_association":"MEMBER","body":"@gthvidsten can you include the entire message when you see a conflict? I trimmed down the project to:\r\n\r\n```xml\r\n  <ItemGroup>\r\n    <PackageReference Include=\"Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation\" Version=\"3.0.0\" />\r\n    <PackageReference Include=\"Microsoft.Azure.Services.AppAuthentication\" Version=\"1.3.1\" />\r\n    <PackageReference Include=\"Microsoft.EntityFrameworkCore.Design\" Version=\"3.0.1\">\r\n      <PrivateAssets>all</PrivateAssets>\r\n      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>\r\n    </PackageReference>\r\n    <PackageReference Include=\"Microsoft.VisualStudio.Web.CodeGeneration.Design\" Version=\"3.0.0\" />\r\n  </ItemGroup>\r\n```\r\n\r\nNote that the `Microsoft.CodeAnalysis.Common` is removed and it restores fine without an error. What would help is a minimal project that reproduces the build warning. \r\n\r\n> The next natural step would be to install Microsoft.CodeAnalysis.Common 3.3.1 (3.3.0 doesn't exist)\r\n\r\nYou generally shouldn't need to reference it manually, but the 3.3.0 version exists on nuget.org: https://www.nuget.org/packages/Microsoft.CodeAnalysis.Common/3.3.0"}}
other: {"actor":{"display_login":"pranavkm"}}