{"action":"closed","issue":{"url":"https://api.github.com/repos/NuGet/Home/issues/2740","repository_url":"https://api.github.com/repos/NuGet/Home","labels_url":"https://api.github.com/repos/NuGet/Home/issues/2740/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/Home/issues/2740/comments","events_url":"https://api.github.com/repos/NuGet/Home/issues/2740/events","html_url":"https://github.com/NuGet/Home/issues/2740","id":153560831,"number":2740,"title":"ResolveNuGetPackageAssets msbuild task fails processing analyzers","user":{"login":"alpaix","id":8239356,"avatar_url":"https://avatars3.githubusercontent.com/u/8239356?v=4","gravatar_id":"","url":"https://api.github.com/users/alpaix","html_url":"https://github.com/alpaix","followers_url":"https://api.github.com/users/alpaix/followers","following_url":"https://api.github.com/users/alpaix/following{/other_user}","gists_url":"https://api.github.com/users/alpaix/gists{/gist_id}","starred_url":"https://api.github.com/users/alpaix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alpaix/subscriptions","organizations_url":"https://api.github.com/users/alpaix/orgs","repos_url":"https://api.github.com/users/alpaix/repos","events_url":"https://api.github.com/users/alpaix/events{/privacy}","received_events_url":"https://api.github.com/users/alpaix/received_events","type":"User","site_admin":false},"labels":[{"id":321241945,"url":"https://api.github.com/repos/NuGet/Home/labels/Area:Build%20Task","name":"Area:Build Task","color":"009800","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-05-07T00:08:53Z","updated_at":"2018-02-02T04:51:12Z","closed_at":"2018-02-02T04:51:12Z","author_association":"NONE","body":"Build of NuProj fails when project depends on a package with analyzers.\n\n> Severity  Code    Description Project File    Line\n> Error     Object reference not set to an instance of an object.\n>    at Microsoft.NuGet.Build.Tasks.ResolveNuGetPackageAssets.IsFileValid(String file, String expectedLanguage, String unExpectedLanguage)\n>    at Microsoft.NuGet.Build.Tasks.ResolveNuGetPackageAssets.TryGetFile(String packageName, String packageVersion, String file, String& path)\n>    at Microsoft.NuGet.Build.Tasks.ResolveNuGetPackageAssets.GetAnalyzers(JObject lockFile)\n>    at Microsoft.NuGet.Build.Tasks.ResolveNuGetPackageAssets.ExecuteCore()\n>    at Microsoft.NuGet.Build.Tasks.ResolveNuGetPackageAssets.Execute() NuGetPackage1   C:\\Program Files (x86)\\MSBuild\\Microsoft\\NuGet\\Microsoft.NuGet.targets  140\n\n**Repro steps**\n1. Create solution with .NET Core class library project\n2. Install StyleCop.Analyzers 1.0.0 package\n3. Add NuProj project\n4. Add class library as a dependency to the latter\n5. nuget restore\n6. msbuild\n"}}
{"actor":{"display_login":"jainaashish"}}