{"action":"created","issue":{"url":"https://api.github.com/repos/Taritsyn/JavaScriptEngineSwitcher/issues/46","repository_url":"https://api.github.com/repos/Taritsyn/JavaScriptEngineSwitcher","labels_url":"https://api.github.com/repos/Taritsyn/JavaScriptEngineSwitcher/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/Taritsyn/JavaScriptEngineSwitcher/issues/46/comments","events_url":"https://api.github.com/repos/Taritsyn/JavaScriptEngineSwitcher/issues/46/events","html_url":"https://github.com/Taritsyn/JavaScriptEngineSwitcher/issues/46","id":299494049,"number":46,"title":"Removing package JavaScriptEngineSwitcher.ChakraCore.Native.win-x64 v2.4.6 doesn't remove Error task in csproj file for checking existence of package props","user":{"login":"bbsdddougla","id":14062499,"avatar_url":"https://avatars0.githubusercontent.com/u/14062499?v=4","gravatar_id":"","url":"https://api.github.com/users/bbsdddougla","html_url":"https://github.com/bbsdddougla","followers_url":"https://api.github.com/users/bbsdddougla/followers","following_url":"https://api.github.com/users/bbsdddougla/following{/other_user}","gists_url":"https://api.github.com/users/bbsdddougla/gists{/gist_id}","starred_url":"https://api.github.com/users/bbsdddougla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbsdddougla/subscriptions","organizations_url":"https://api.github.com/users/bbsdddougla/orgs","repos_url":"https://api.github.com/users/bbsdddougla/repos","events_url":"https://api.github.com/users/bbsdddougla/events{/privacy}","received_events_url":"https://api.github.com/users/bbsdddougla/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-22T20:18:50Z","updated_at":"2018-02-23T07:56:04Z","closed_at":null,"author_association":"NONE","body":"After removing the previous package, installing the new one, and building, I get the following error in projects where the package was removed:\r\n```\r\nC:\\path\\to\\project\\project.csproj(2001,5): error : This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\\packages\\JavaScriptEngineSwitcher.ChakraCore.Native.win-x64.2.4.6\\build\\JavaScriptEngineSwitcher.ChakraCore.Native.win-x64.props.\r\n```\r\n\r\nRemoving the following task from the .csproj fixed the problem:\r\n```xml\r\n<Error Condition=\"!Exists('..\\packages\\JavaScriptEngineSwitcher.ChakraCore.Native.win-x64.2.4.6\\build\\JavaScriptEngineSwitcher.ChakraCore.Native.win-x64.props')\" Text=\"$([System.String]::Format('$(ErrorText)', '..\\packages\\JavaScriptEngineSwitcher.ChakraCore.Native.win-x64.2.4.6\\build\\JavaScriptEngineSwitcher.ChakraCore.Native.win-x64.props'))\" />\r\n```"},"comment":{"url":"https://api.github.com/repos/Taritsyn/JavaScriptEngineSwitcher/issues/comments/367936288","html_url":"https://github.com/Taritsyn/JavaScriptEngineSwitcher/issues/46#issuecomment-367936288","issue_url":"https://api.github.com/repos/Taritsyn/JavaScriptEngineSwitcher/issues/46","id":367936288,"user":{"login":"Taritsyn","id":251859,"avatar_url":"https://avatars2.githubusercontent.com/u/251859?v=4","gravatar_id":"","url":"https://api.github.com/users/Taritsyn","html_url":"https://github.com/Taritsyn","followers_url":"https://api.github.com/users/Taritsyn/followers","following_url":"https://api.github.com/users/Taritsyn/following{/other_user}","gists_url":"https://api.github.com/users/Taritsyn/gists{/gist_id}","starred_url":"https://api.github.com/users/Taritsyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Taritsyn/subscriptions","organizations_url":"https://api.github.com/users/Taritsyn/orgs","repos_url":"https://api.github.com/users/Taritsyn/repos","events_url":"https://api.github.com/users/Taritsyn/events{/privacy}","received_events_url":"https://api.github.com/users/Taritsyn/received_events","type":"User","site_admin":false},"created_at":"2018-02-23T07:56:04Z","updated_at":"2018-02-23T07:56:04Z","author_association":"OWNER","body":"Hello!\r\n\r\nBefore publishing of NuGet packages, I always test them on different types of .NET and ASP.NET applications. When testing, I did not find any problems.\r\n\r\nThis problem can have two causes:\r\n\r\n1.  After updating of package, you have overwritten the `.csproj` file by earlier version.\r\n2. During updating of package a failure occurred, that caused by locking the `ChakraCore.dll` assemby by the IIS Worker Process (`w3wp.exe`) . Since a days of Classic ASP there is a simple rule: “Do not update the native assemblies, when web application is running.”.\r\n\r\nIf you don't believe me, then you can check on another project."}}
{"actor":{"display_login":"Taritsyn"}}