{"action":"opened","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/9519","repository_url":"https://api.github.com/repos/dotnet/cli","labels_url":"https://api.github.com/repos/dotnet/cli/issues/9519/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/9519/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/9519/events","html_url":"https://github.com/dotnet/cli/issues/9519","id":333995454,"node_id":"MDU6SXNzdWUzMzM5OTU0NTQ=","number":9519,"title":"The specified framework 'Microsoft.NETCore.App', version '2.1.1' was not found after the SDK is uninstalled","user":{"login":"Jaffe88","id":1024180,"node_id":"MDQ6VXNlcjEwMjQxODA=","avatar_url":"https://avatars2.githubusercontent.com/u/1024180?v=4","gravatar_id":"","url":"https://api.github.com/users/Jaffe88","html_url":"https://github.com/Jaffe88","followers_url":"https://api.github.com/users/Jaffe88/followers","following_url":"https://api.github.com/users/Jaffe88/following{/other_user}","gists_url":"https://api.github.com/users/Jaffe88/gists{/gist_id}","starred_url":"https://api.github.com/users/Jaffe88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jaffe88/subscriptions","organizations_url":"https://api.github.com/users/Jaffe88/orgs","repos_url":"https://api.github.com/users/Jaffe88/repos","events_url":"https://api.github.com/users/Jaffe88/events{/privacy}","received_events_url":"https://api.github.com/users/Jaffe88/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-20T09:28:47Z","updated_at":"2018-06-20T09:28:47Z","closed_at":null,"author_association":"NONE","body":"## Steps to reproduce\r\nYou need to already have the Microsoft.NETCore.App 2.1.0 SDK installed with a web project with the versionless Microsoft.AspNetCore.App in the .csproj.\r\n<PackageReference Include=\"Microsoft.AspNetCore.App\" />\r\n\r\nInstall the Microsoft.NETCore.App 2.1.1 SDK and debug your project.\r\nI got it from here:\r\nhttps://github.com/dotnet/versions/tree/7a833dddfddc27f2074b755b94234a25b9757637/build-info/dotnet/product/cli/release\r\n\r\nUninstall the Microsoft.NETCore.App 2.1.1 SDK.\r\n\r\nDebug the web project again.\r\n\r\n## Expected  behavior\r\nShould run with version 2.1.0.\r\n\r\n## Actual behavior\r\nGetting the following error message when debugging:\r\nIt was not possible to find any compatible framework version\r\nThe specified framework 'Microsoft.NETCore.App', version '2.1.1' was not found.\r\nThe following versions are installed:\r\n    2.1.0 at [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n\r\nI tried with a repair on the 2.1.0 SDK, reboot, all changes are rolled back from the source control. I cannot see a reference to the 2.1.1 version anywhere.\r\nWhere does it think that I should target 2.1.1 after I have uninstalled it?\r\n\r\n## Environment data\r\n`dotnet --info` output:\r\n.NET Core SDK (reflecting any global.json):\r\n Version:   2.1.300\r\n Commit:    adab45bf0c\r\n\r\nRuntime Environment:\r\n OS Name:     Windows\r\n OS Version:  6.1.7601\r\n OS Platform: Windows\r\n RID:         win7-x64\r\n Base Path:   C:\\Program Files\\dotnet\\sdk\\2.1.300\\\r\n\r\nHost (useful for support):\r\n  Version: 2.1.0\r\n  Commit:  caa7b7e2ba\r\n\r\n.NET Core SDKs installed:\r\n  1.0.0-preview1-002702 [C:\\Program Files\\dotnet\\sdk]\r\n  1.0.0-preview2-003121 [C:\\Program Files\\dotnet\\sdk]\r\n  1.0.0-preview2-003131 [C:\\Program Files\\dotnet\\sdk]\r\n  1.0.0 [C:\\Program Files\\dotnet\\sdk]\r\n  1.0.2 [C:\\Program Files\\dotnet\\sdk]\r\n  1.0.3 [C:\\Program Files\\dotnet\\sdk]\r\n  1.0.4 [C:\\Program Files\\dotnet\\sdk]\r\n  1.1.0 [C:\\Program Files\\dotnet\\sdk]\r\n  2.0.0 [C:\\Program Files\\dotnet\\sdk]\r\n  2.0.2 [C:\\Program Files\\dotnet\\sdk]\r\n  2.0.3 [C:\\Program Files\\dotnet\\sdk]\r\n  2.1.2 [C:\\Program Files\\dotnet\\sdk]\r\n  2.1.4 [C:\\Program Files\\dotnet\\sdk]\r\n  2.1.100 [C:\\Program Files\\dotnet\\sdk]\r\n  2.1.101 [C:\\Program Files\\dotnet\\sdk]\r\n  2.1.102 [C:\\Program Files\\dotnet\\sdk]\r\n  2.1.103 [C:\\Program Files\\dotnet\\sdk]\r\n  2.1.104 [C:\\Program Files\\dotnet\\sdk]\r\n  2.1.200 [C:\\Program Files\\dotnet\\sdk]\r\n  2.1.201 [C:\\Program Files\\dotnet\\sdk]\r\n  2.1.300 [C:\\Program Files\\dotnet\\sdk]\r\n\r\n.NET Core runtimes installed:\r\n  Microsoft.AspNetCore.All 2.1.0 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.All]\r\n  Microsoft.AspNetCore.All 2.1.1 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.All]\r\n  Microsoft.AspNetCore.App 2.1.0 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.App]\r\n  Microsoft.AspNetCore.App 2.1.1 [C:\\Program Files\\dotnet\\shared\\Microsoft.AspNetCore.App]\r\n  Microsoft.NETCore.App 1.0.0-rc2-3002702 [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n  Microsoft.NETCore.App 1.0.0 [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n  Microsoft.NETCore.App 1.0.1 [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n  Microsoft.NETCore.App 1.0.4 [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n  Microsoft.NETCore.App 1.0.5 [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n  Microsoft.NETCore.App 1.1.1 [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n  Microsoft.NETCore.App 1.1.2 [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n  Microsoft.NETCore.App 2.0.0 [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n  Microsoft.NETCore.App 2.0.3 [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n  Microsoft.NETCore.App 2.0.5 [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n  Microsoft.NETCore.App 2.0.6 [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.1.0 [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n\r\nTo install additional .NET Core runtimes or SDKs:\r\n  https://aka.ms/dotnet-download"}}
{"actor":{"display_login":"Jaffe88"}}