{"action":"closed","issue":{"url":"https://api.github.com/repos/nuproj/nuproj/issues/142","labels_url":"https://api.github.com/repos/nuproj/nuproj/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/nuproj/nuproj/issues/142/comments","events_url":"https://api.github.com/repos/nuproj/nuproj/issues/142/events","html_url":"https://github.com/nuproj/nuproj/issues/142","id":99258333,"number":142,"title":"Strange msbuild failure, CI,  error MSB4057: The target \"_NuProjGetProjectClosure\" does not exist in the project.","user":{"login":"techzilla","id":1080899,"avatar_url":"https://avatars.githubusercontent.com/u/1080899?v=3","gravatar_id":"","url":"https://api.github.com/users/techzilla","html_url":"https://github.com/techzilla","followers_url":"https://api.github.com/users/techzilla/followers","following_url":"https://api.github.com/users/techzilla/following{/other_user}","gists_url":"https://api.github.com/users/techzilla/gists{/gist_id}","starred_url":"https://api.github.com/users/techzilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techzilla/subscriptions","organizations_url":"https://api.github.com/users/techzilla/orgs","repos_url":"https://api.github.com/users/techzilla/repos","events_url":"https://api.github.com/users/techzilla/events{/privacy}","received_events_url":"https://api.github.com/users/techzilla/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-05T17:32:44Z","updated_at":"2015-08-29T14:59:44Z","closed_at":"2015-08-29T14:59:44Z","body":"We've created an example csproj, and a nuproj that references the csproj.  Visual studio builds the correctly without error, a nuget package is generated.   However when I attempt to do this with msbuild, it  Errors on the nuproj.\r\n\r\nI've done this many different ways, using msbuild on the sln, the nuproj directly... etc.  This is also all from the same box as the VS, so I'm completely unsure if this is even supposed to be working.\r\n\r\n\r\n```\r\n...\r\nDone Building Project \"C:\\CI\\example-msbuild-asp45\\example-msbuild-asp45\\example-msbuild-asp45.csproj\" (Build target(s)).\r\n\r\n\r\nProject \"C:\\CI\\example-msbuild-asp45\\example-msbuild-nuget\\example-nugetmsbuild.nuproj\" (1) is building \"C:\\CI\\example-msbuild-asp45\\example-msbuild-asp45\\example-msbuild-asp45.csproj\" (2:3) on node\r\n1 (_NuProjGetProjectClosure target(s)).\r\nC:\\CI\\example-msbuild-asp45\\example-msbuild-asp45\\example-msbuild-asp45.csproj : error MSB4057: The target \"_NuProjGetProjectClosure\" does not exist in the project.\r\nDone Building Project \"C:\\CI\\example-msbuild-asp45\\example-msbuild-asp45\\example-msbuild-asp45.csproj\" (_NuProjGetProjectClosure target(s)) -- FAILED.\r\n \r\n_NuProjGetProjectClosure:\r\n  Build continuing because \"ContinueOnError\" on the task \"MSBuild\" is set to \"WarnAndContinue\".\r\nGetNuProjPackageDependencies:\r\nSkipping target \"GetNuProjPackageDependencies\" because it has no inputs.\r\nDone Building Project \"C:\\CI\\example-msbuild-asp45\\example-msbuild-nuget\\example-nugetmsbuild.nuproj\" (rebuild target(s)) -- FAILED.\r\n \r\n \r\nBuild FAILED.\r\n \r\n\"C:\\CI\\example-msbuild-asp45\\example-msbuild-nuget\\example-nugetmsbuild.nuproj\" (rebuild target) (1) ->\r\n\"C:\\CI\\example-msbuild-asp45\\example-msbuild-asp45\\example-msbuild-asp45.csproj\" (_NuProjGetProjectClosure target) (2:3) ->\r\n  C:\\CI\\example-msbuild-asp45\\example-msbuild-asp45\\example-msbuild-asp45.csproj : error MSB4057: The target \"_NuProjGetProjectClosure\" does not exist in the project.\r\n```"}}