{"id":36,"date":"2013-09-20T19:29:25","date_gmt":"2013-09-20T17:29:25","guid":{"rendered":"http:\/\/www.kopf.com.br\/kaplof\/?p=36"},"modified":"2015-03-22T13:58:01","modified_gmt":"2015-03-22T11:58:01","slug":"custom-tool-error-failed-to-generate-code-for-the-service-reference","status":"publish","type":"post","link":"https:\/\/www.kopf.com.br\/kaplof\/custom-tool-error-failed-to-generate-code-for-the-service-reference\/","title":{"rendered":"Custom tool error: Failed to generate code for the service reference"},"content":{"rendered":"<h3>Quick Tip<\/h3>\n<p>On Visual Studio if you suddenly get an error when pressing &#8220;Update Service References&#8221; :<\/p>\n<p>&nbsp;<\/p>\n<p style=\"padding-left: 30px;\"><strong>Custom tool error: Failed to generate code for the service reference &#8216;<em>your service<\/em>&#8216;<\/strong><\/p>\n<p style=\"padding-left: 30px;\"><strong>Please check other error and warning messages for details<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>Do the following:<\/p>\n<ol>\n<li>Close all instances of Visual Studio<\/li>\n<li>Open the command window and type:&lt;visual studio ide path&gt;\\devenv.exe <strong>\/resetskippkgs\n<p><\/strong><em>Example<\/em>:<\/p>\n<pre>\"C:\\Program Files\\Microsoft Visual Studio 9.0\\Common7\\IDE\\devenv.exe\" \/resetskippkgs<\/pre>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>Voil\u00e0! Your update references should work now!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Quick Tip On Visual Studio if you suddenly get an error when pressing &#8220;Update Service References&#8221; : &nbsp; Custom tool error: Failed to generate code for the service reference &#8216;your service&#8216; Please check other error and warning messages for details &nbsp; Do the following: Close all instances of Visual Studio Open the command window and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,17],"tags":[13,29,12],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Custom tool error: Failed to generate code for the service reference - Kaplof<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.kopf.com.br\/kaplof\/custom-tool-error-failed-to-generate-code-for-the-service-reference\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Custom tool error: Failed to generate code for the service reference - Kaplof\" \/>\n<meta property=\"og:description\" content=\"Quick Tip On Visual Studio if you suddenly get an error when pressing &#8220;Update Service References&#8221; : &nbsp; Custom tool error: Failed to generate code for the service reference &#8216;your service&#8216; Please check other error and warning messages for details &nbsp; Do the following: Close all instances of Visual Studio Open the command window and [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.kopf.com.br\/kaplof\/custom-tool-error-failed-to-generate-code-for-the-service-reference\/\" \/>\n<meta property=\"og:site_name\" content=\"Kaplof\" \/>\n<meta property=\"article:published_time\" content=\"2013-09-20T17:29:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-03-22T11:58:01+00:00\" \/>\n<meta name=\"author\" content=\"Bruno Marotta\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Bruno Marotta\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.kopf.com.br\/kaplof\/custom-tool-error-failed-to-generate-code-for-the-service-reference\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.kopf.com.br\/kaplof\/custom-tool-error-failed-to-generate-code-for-the-service-reference\/\"},\"author\":{\"name\":\"Bruno Marotta\",\"@id\":\"https:\/\/www.kopf.com.br\/kaplof\/#\/schema\/person\/a096a6de30951e12938c6a800eeaa891\"},\"headline\":\"Custom tool error: Failed to generate code for the service reference\",\"datePublished\":\"2013-09-20T17:29:25+00:00\",\"dateModified\":\"2015-03-22T11:58:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.kopf.com.br\/kaplof\/custom-tool-error-failed-to-generate-code-for-the-service-reference\/\"},\"wordCount\":84,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/www.kopf.com.br\/kaplof\/#organization\"},\"keywords\":[\"Service References\",\"Tips\",\"Visual Studio\"],\"articleSection\":[\"Tips\",\"WCF\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.kopf.com.br\/kaplof\/custom-tool-error-failed-to-generate-code-for-the-service-reference\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.kopf.com.br\/kaplof\/custom-tool-error-failed-to-generate-code-for-the-service-reference\/\",\"url\":\"https:\/\/www.kopf.com.br\/kaplof\/custom-tool-error-failed-to-generate-code-for-the-service-reference\/\",\"name\":\"Custom tool error: Failed to generate code for the service reference - Kaplof\",\"isPartOf\":{\"@id\":\"https:\/\/www.kopf.com.br\/kaplof\/#website\"},\"datePublished\":\"2013-09-20T17:29:25+00:00\",\"dateModified\":\"2015-03-22T11:58:01+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.kopf.com.br\/kaplof\/custom-tool-error-failed-to-generate-code-for-the-service-reference\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.kopf.com.br\/kaplof\/custom-tool-error-failed-to-generate-code-for-the-service-reference\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.kopf.com.br\/kaplof\/custom-tool-error-failed-to-generate-code-for-the-service-reference\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.kopf.com.br\/kaplof\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Custom tool error: Failed to generate code for the service reference\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.kopf.com.br\/kaplof\/#website\",\"url\":\"https:\/\/www.kopf.com.br\/kaplof\/\",\"name\":\"Kaplof\",\"description\":\"Sharing problems and solutions for software development\",\"publisher\":{\"@id\":\"https:\/\/www.kopf.com.br\/kaplof\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.kopf.com.br\/kaplof\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.kopf.com.br\/kaplof\/#organization\",\"name\":\"Kopf\",\"url\":\"https:\/\/www.kopf.com.br\/kaplof\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.kopf.com.br\/kaplof\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.kopf.com.br\/kaplof\/wp-content\/uploads\/2015\/04\/Logo-grande.png?fit=78%2C76&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.kopf.com.br\/kaplof\/wp-content\/uploads\/2015\/04\/Logo-grande.png?fit=78%2C76&ssl=1\",\"width\":78,\"height\":76,\"caption\":\"Kopf\"},\"image\":{\"@id\":\"https:\/\/www.kopf.com.br\/kaplof\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.kopf.com.br\/kaplof\/#\/schema\/person\/a096a6de30951e12938c6a800eeaa891\",\"name\":\"Bruno Marotta\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.kopf.com.br\/kaplof\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8e15f82b4b9672c32c601286a40eb46f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8e15f82b4b9672c32c601286a40eb46f?s=96&d=mm&r=g\",\"caption\":\"Bruno Marotta\"},\"url\":\"https:\/\/www.kopf.com.br\/kaplof\/author\/bmarotta\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Custom tool error: Failed to generate code for the service reference - Kaplof","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.kopf.com.br\/kaplof\/custom-tool-error-failed-to-generate-code-for-the-service-reference\/","og_locale":"en_US","og_type":"article","og_title":"Custom tool error: Failed to generate code for the service reference - Kaplof","og_description":"Quick Tip On Visual Studio if you suddenly get an error when pressing &#8220;Update Service References&#8221; : &nbsp; Custom tool error: Failed to generate code for the service reference &#8216;your service&#8216; Please check other error and warning messages for details &nbsp; Do the following: Close all instances of Visual Studio Open the command window and [&hellip;]","og_url":"https:\/\/www.kopf.com.br\/kaplof\/custom-tool-error-failed-to-generate-code-for-the-service-reference\/","og_site_name":"Kaplof","article_published_time":"2013-09-20T17:29:25+00:00","article_modified_time":"2015-03-22T11:58:01+00:00","author":"Bruno Marotta","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Bruno Marotta"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.kopf.com.br\/kaplof\/custom-tool-error-failed-to-generate-code-for-the-service-reference\/#article","isPartOf":{"@id":"https:\/\/www.kopf.com.br\/kaplof\/custom-tool-error-failed-to-generate-code-for-the-service-reference\/"},"author":{"name":"Bruno Marotta","@id":"https:\/\/www.kopf.com.br\/kaplof\/#\/schema\/person\/a096a6de30951e12938c6a800eeaa891"},"headline":"Custom tool error: Failed to generate code for the service reference","datePublished":"2013-09-20T17:29:25+00:00","dateModified":"2015-03-22T11:58:01+00:00","mainEntityOfPage":{"@id":"https:\/\/www.kopf.com.br\/kaplof\/custom-tool-error-failed-to-generate-code-for-the-service-reference\/"},"wordCount":84,"commentCount":2,"publisher":{"@id":"https:\/\/www.kopf.com.br\/kaplof\/#organization"},"keywords":["Service References","Tips","Visual Studio"],"articleSection":["Tips","WCF"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.kopf.com.br\/kaplof\/custom-tool-error-failed-to-generate-code-for-the-service-reference\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.kopf.com.br\/kaplof\/custom-tool-error-failed-to-generate-code-for-the-service-reference\/","url":"https:\/\/www.kopf.com.br\/kaplof\/custom-tool-error-failed-to-generate-code-for-the-service-reference\/","name":"Custom tool error: Failed to generate code for the service reference - Kaplof","isPartOf":{"@id":"https:\/\/www.kopf.com.br\/kaplof\/#website"},"datePublished":"2013-09-20T17:29:25+00:00","dateModified":"2015-03-22T11:58:01+00:00","breadcrumb":{"@id":"https:\/\/www.kopf.com.br\/kaplof\/custom-tool-error-failed-to-generate-code-for-the-service-reference\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.kopf.com.br\/kaplof\/custom-tool-error-failed-to-generate-code-for-the-service-reference\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.kopf.com.br\/kaplof\/custom-tool-error-failed-to-generate-code-for-the-service-reference\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.kopf.com.br\/kaplof\/"},{"@type":"ListItem","position":2,"name":"Custom tool error: Failed to generate code for the service reference"}]},{"@type":"WebSite","@id":"https:\/\/www.kopf.com.br\/kaplof\/#website","url":"https:\/\/www.kopf.com.br\/kaplof\/","name":"Kaplof","description":"Sharing problems and solutions for software development","publisher":{"@id":"https:\/\/www.kopf.com.br\/kaplof\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.kopf.com.br\/kaplof\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.kopf.com.br\/kaplof\/#organization","name":"Kopf","url":"https:\/\/www.kopf.com.br\/kaplof\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.kopf.com.br\/kaplof\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.kopf.com.br\/kaplof\/wp-content\/uploads\/2015\/04\/Logo-grande.png?fit=78%2C76&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.kopf.com.br\/kaplof\/wp-content\/uploads\/2015\/04\/Logo-grande.png?fit=78%2C76&ssl=1","width":78,"height":76,"caption":"Kopf"},"image":{"@id":"https:\/\/www.kopf.com.br\/kaplof\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.kopf.com.br\/kaplof\/#\/schema\/person\/a096a6de30951e12938c6a800eeaa891","name":"Bruno Marotta","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.kopf.com.br\/kaplof\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/8e15f82b4b9672c32c601286a40eb46f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8e15f82b4b9672c32c601286a40eb46f?s=96&d=mm&r=g","caption":"Bruno Marotta"},"url":"https:\/\/www.kopf.com.br\/kaplof\/author\/bmarotta\/"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.kopf.com.br\/kaplof\/wp-json\/wp\/v2\/posts\/36"}],"collection":[{"href":"https:\/\/www.kopf.com.br\/kaplof\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kopf.com.br\/kaplof\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kopf.com.br\/kaplof\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kopf.com.br\/kaplof\/wp-json\/wp\/v2\/comments?post=36"}],"version-history":[{"count":9,"href":"https:\/\/www.kopf.com.br\/kaplof\/wp-json\/wp\/v2\/posts\/36\/revisions"}],"predecessor-version":[{"id":91,"href":"https:\/\/www.kopf.com.br\/kaplof\/wp-json\/wp\/v2\/posts\/36\/revisions\/91"}],"wp:attachment":[{"href":"https:\/\/www.kopf.com.br\/kaplof\/wp-json\/wp\/v2\/media?parent=36"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kopf.com.br\/kaplof\/wp-json\/wp\/v2\/categories?post=36"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kopf.com.br\/kaplof\/wp-json\/wp\/v2\/tags?post=36"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}