
{"id":4594,"date":"2019-11-19T18:01:28","date_gmt":"2019-11-19T23:01:28","guid":{"rendered":"https:\/\/ikriv.com\/blog\/?p=4594"},"modified":"2019-12-06T23:30:34","modified_gmt":"2019-12-07T04:30:34","slug":"vs-2019-and-aspnet-core-the-world-of-weird-errors","status":"publish","type":"post","link":"https:\/\/ikriv.com\/blog\/?p=4594","title":{"rendered":"VS 2019 and AspNet.Core: the world of weird errors"},"content":{"rendered":"<p>I was experimenting with creating new projects out of templates in VS 2019, and to my surprise ran into a lot of trouble and error messages. <\/p>\n<p>One time it told me Docker Desktop is not installed (it was) and insisted on installing it. The other time it told me it cannot debug the Linux containers, I forget why. Then after a restart this problem went away. Another time it told me it cannot debug, because &#8220;Shared Drive&#8221; settings were wrong. I am not sure what really happened there, but it looks like Linux-to-Windows switch timed out and Docker Desktop was stuck in some weird state, half-Windows, half-Linux, but no error was reported on that. <\/p>\n<p>On some previous project I was not able to make HTTPS to work and gave up on it, since it was a throw-away test. Overall feeling is that there are too many moving parts, and as with any new development error handling is not the best, even though the authors definitely make an effort. E.g. it did not simply say &#8220;remote_debugger directory not found&#8221;, it said &#8220;the container does not contain \/remote_debugger directory, and this is probably because your Shared Drive settings went bonkers, go to the Docker&#8217;s Shared Drives settings page and fix them&#8221;. <\/p>\n<p>But still, I expect things just to work out of the box, and they more often don&#8217;t than do. Yes, restart-reboot-reinstall usually helps, but it is still a pain. Probably this is because I was moving quickly from project type to project type, and this is not a typical use case, but this is not an excuse either. The bottom line is, more stability would not hurt.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was experimenting with creating new projects out of templates in VS 2019, and to my surprise ran into a lot of trouble and error messages. One time it told <a href=\"https:\/\/ikriv.com\/blog\/?p=4594\" class=\"more-link\">[&hellip;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"Layout":"","footnotes":""},"categories":[3,4],"tags":[],"class_list":["entry","author-ikriv","post-4594","post","type-post","status-publish","format-standard","category-dotnet","category-hack"],"_links":{"self":[{"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4594","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4594"}],"version-history":[{"count":2,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4594\/revisions"}],"predecessor-version":[{"id":4601,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4594\/revisions\/4601"}],"wp:attachment":[{"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}