{"id":515,"date":"2013-12-23T15:50:14","date_gmt":"2013-12-23T20:50:14","guid":{"rendered":"http:\/\/binaryworld.net\/blogs\/?p=515"},"modified":"2014-02-15T16:51:04","modified_gmt":"2014-02-15T21:51:04","slug":"visual-studio-error-link-already-exists-unload-realod-tric","status":"publish","type":"post","link":"https:\/\/binaryworld.net\/blogs\/visual-studio-error-link-already-exists-unload-realod-tric\/","title":{"rendered":"Visual Studio Error: Cannot add link to the file XXX. There is already file of the same name in this folder"},"content":{"rendered":"<p>Recently I tried to exclude some project items and adding back from other location as &#8220;<a title=\"Add item as link\" href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/vstudio\/9f4t9t92(v=vs.100).aspx\" target=\"_blank\">Add as Link<\/a>&#8221; option. But I was keep getting below error.<\/p>\n<blockquote><p><span style=\"color: #ff0000;\">Visual Studio Error: Cannot add link to the file XXX. There is already file of the same name<\/span><\/p><\/blockquote>\n<p>I had no clue why it was telling me that. When you get this error make sure you re-load project .. (My quick technique in VS2012 is Right Click -&gt; &#8220;Unload Project&#8221; and then Right Click -&gt; &#8220;Reload Project&#8221;<\/p>\n<p>This will refresh solution and wont complain about file already there.<br \/>\n<a href=\"http:\/\/binaryworld.net\/blogs\/wp-content\/uploads\/2013\/12\/ScreenHunter_51-Dec.-23-15.38.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-516\" title=\"ScreenHunter_51 Dec. 23 15.38\" src=\"http:\/\/binaryworld.net\/blogs\/wp-content\/uploads\/2013\/12\/ScreenHunter_51-Dec.-23-15.38.jpg\" alt=\"\" width=\"482\" height=\"288\" srcset=\"https:\/\/binaryworld.net\/blogs\/wp-content\/uploads\/2013\/12\/ScreenHunter_51-Dec.-23-15.38.jpg 482w, https:\/\/binaryworld.net\/blogs\/wp-content\/uploads\/2013\/12\/ScreenHunter_51-Dec.-23-15.38-300x179.jpg 300w\" sizes=\"(max-width: 482px) 100vw, 482px\" \/><\/a><\/p>\n<p>Above error can be solved by doing following steps<br \/>\n<a href=\"http:\/\/binaryworld.net\/blogs\/wp-content\/uploads\/2013\/12\/ScreenHunter_52-Dec.-23-15.44.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-518\" title=\"ScreenHunter_52 Dec. 23 15.44\" src=\"http:\/\/binaryworld.net\/blogs\/wp-content\/uploads\/2013\/12\/ScreenHunter_52-Dec.-23-15.44.jpg\" alt=\"\" width=\"379\" height=\"82\" srcset=\"https:\/\/binaryworld.net\/blogs\/wp-content\/uploads\/2013\/12\/ScreenHunter_52-Dec.-23-15.44.jpg 379w, https:\/\/binaryworld.net\/blogs\/wp-content\/uploads\/2013\/12\/ScreenHunter_52-Dec.-23-15.44-300x64.jpg 300w\" sizes=\"(max-width: 379px) 100vw, 379px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/binaryworld.net\/blogs\/wp-content\/uploads\/2013\/12\/ScreenHunter_53-Dec.-23-15.44.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-517\" title=\"ScreenHunter_53 Dec. 23 15.44\" src=\"http:\/\/binaryworld.net\/blogs\/wp-content\/uploads\/2013\/12\/ScreenHunter_53-Dec.-23-15.44.jpg\" alt=\"\" width=\"274\" height=\"53\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently I tried to exclude some project items and adding back from other location as &#8220;Add as Link&#8221; option. But I was keep getting below error. Visual Studio Error: Cannot add link to the file XXX. There is already file &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/binaryworld.net\/blogs\/visual-studio-error-link-already-exists-unload-realod-tric\/\"> <span class=\"screen-reader-text\">Visual Studio Error: Cannot add link to the file XXX. There is already file of the same name in this folder<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":516,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,80],"tags":[81],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\r\n<title>Visual Studio Error: Cannot add link to the file XXX. There is already file of the same name in this folder - BinaryWorld Blog<\/title>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/binaryworld.net\/blogs\/visual-studio-error-link-already-exists-unload-realod-tric\/\" \/>\r\n<meta property=\"og:locale\" content=\"en_US\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"Visual Studio Error: Cannot add link to the file XXX. There is already file of the same name in this folder - BinaryWorld Blog\" \/>\r\n<meta property=\"og:description\" content=\"Recently I tried to exclude some project items and adding back from other location as &#8220;Add as Link&#8221; option. But I was keep getting below error. Visual Studio Error: Cannot add link to the file XXX. There is already file &hellip; Visual Studio Error: Cannot add link to the file XXX. There is already file of the same name in this folder Read More &raquo;\" \/>\r\n<meta property=\"og:url\" content=\"https:\/\/binaryworld.net\/blogs\/visual-studio-error-link-already-exists-unload-realod-tric\/\" \/>\r\n<meta property=\"og:site_name\" content=\"BinaryWorld Blog\" \/>\r\n<meta property=\"article:published_time\" content=\"2013-12-23T20:50:14+00:00\" \/>\r\n<meta property=\"article:modified_time\" content=\"2014-02-15T21:51:04+00:00\" \/>\r\n<meta property=\"og:image\" content=\"https:\/\/binaryworld.net\/blogs\/wp-content\/uploads\/2013\/12\/ScreenHunter_51-Dec.-23-15.38.jpg\" \/>\r\n\t<meta property=\"og:image:width\" content=\"482\" \/>\r\n\t<meta property=\"og:image:height\" content=\"288\" \/>\r\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\r\n<meta name=\"author\" content=\"Binary World\" \/>\r\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\r\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Binary World\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/binaryworld.net\/blogs\/visual-studio-error-link-already-exists-unload-realod-tric\/\",\"url\":\"https:\/\/binaryworld.net\/blogs\/visual-studio-error-link-already-exists-unload-realod-tric\/\",\"name\":\"Visual Studio Error: Cannot add link to the file XXX. There is already file of the same name in this folder - BinaryWorld Blog\",\"isPartOf\":{\"@id\":\"https:\/\/binaryworld.net\/blogs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/binaryworld.net\/blogs\/visual-studio-error-link-already-exists-unload-realod-tric\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/binaryworld.net\/blogs\/visual-studio-error-link-already-exists-unload-realod-tric\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/binaryworld.net\/blogs\/wp-content\/uploads\/2013\/12\/ScreenHunter_51-Dec.-23-15.38.jpg\",\"datePublished\":\"2013-12-23T20:50:14+00:00\",\"dateModified\":\"2014-02-15T21:51:04+00:00\",\"author\":{\"@id\":\"https:\/\/binaryworld.net\/blogs\/#\/schema\/person\/77cf0a9a512dd22bff93c6a1b6374fe0\"},\"breadcrumb\":{\"@id\":\"https:\/\/binaryworld.net\/blogs\/visual-studio-error-link-already-exists-unload-realod-tric\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/binaryworld.net\/blogs\/visual-studio-error-link-already-exists-unload-realod-tric\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/binaryworld.net\/blogs\/visual-studio-error-link-already-exists-unload-realod-tric\/#primaryimage\",\"url\":\"https:\/\/binaryworld.net\/blogs\/wp-content\/uploads\/2013\/12\/ScreenHunter_51-Dec.-23-15.38.jpg\",\"contentUrl\":\"https:\/\/binaryworld.net\/blogs\/wp-content\/uploads\/2013\/12\/ScreenHunter_51-Dec.-23-15.38.jpg\",\"width\":\"482\",\"height\":\"288\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/binaryworld.net\/blogs\/visual-studio-error-link-already-exists-unload-realod-tric\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/binaryworld.net\/blogs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Visual Studio Error: Cannot add link to the file XXX. There is already file of the same name in this folder\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/binaryworld.net\/blogs\/#website\",\"url\":\"https:\/\/binaryworld.net\/blogs\/\",\"name\":\"BinaryWorld Blog\",\"description\":\"Tips and Tutorials for Microsoft SQL Server, SSIS, SSAS, Business Intelligence, C#, .net\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/binaryworld.net\/blogs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/binaryworld.net\/blogs\/#\/schema\/person\/77cf0a9a512dd22bff93c6a1b6374fe0\",\"name\":\"Binary World\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/binaryworld.net\/blogs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/eaea47799daa577835eb53e64dfd3e13?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/eaea47799daa577835eb53e64dfd3e13?s=96&d=mm&r=g\",\"caption\":\"Binary World\"},\"description\":\"Binary World is a Software Development company located in Atlanta, USA (since 2007). Binary World specialized in Business Intelligence, mobile, cloud computing and .Net Application Development.\",\"url\":\"https:\/\/binaryworld.net\/blogs\/author\/admin\/\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Visual Studio Error: Cannot add link to the file XXX. There is already file of the same name in this folder - BinaryWorld Blog","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:\/\/binaryworld.net\/blogs\/visual-studio-error-link-already-exists-unload-realod-tric\/","og_locale":"en_US","og_type":"article","og_title":"Visual Studio Error: Cannot add link to the file XXX. There is already file of the same name in this folder - BinaryWorld Blog","og_description":"Recently I tried to exclude some project items and adding back from other location as &#8220;Add as Link&#8221; option. But I was keep getting below error. Visual Studio Error: Cannot add link to the file XXX. There is already file &hellip; Visual Studio Error: Cannot add link to the file XXX. There is already file of the same name in this folder Read More &raquo;","og_url":"https:\/\/binaryworld.net\/blogs\/visual-studio-error-link-already-exists-unload-realod-tric\/","og_site_name":"BinaryWorld Blog","article_published_time":"2013-12-23T20:50:14+00:00","article_modified_time":"2014-02-15T21:51:04+00:00","og_image":[{"width":"482","height":"288","url":"https:\/\/binaryworld.net\/blogs\/wp-content\/uploads\/2013\/12\/ScreenHunter_51-Dec.-23-15.38.jpg","type":"image\/jpeg"}],"author":"Binary World","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Binary World","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/binaryworld.net\/blogs\/visual-studio-error-link-already-exists-unload-realod-tric\/","url":"https:\/\/binaryworld.net\/blogs\/visual-studio-error-link-already-exists-unload-realod-tric\/","name":"Visual Studio Error: Cannot add link to the file XXX. There is already file of the same name in this folder - BinaryWorld Blog","isPartOf":{"@id":"https:\/\/binaryworld.net\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/binaryworld.net\/blogs\/visual-studio-error-link-already-exists-unload-realod-tric\/#primaryimage"},"image":{"@id":"https:\/\/binaryworld.net\/blogs\/visual-studio-error-link-already-exists-unload-realod-tric\/#primaryimage"},"thumbnailUrl":"https:\/\/binaryworld.net\/blogs\/wp-content\/uploads\/2013\/12\/ScreenHunter_51-Dec.-23-15.38.jpg","datePublished":"2013-12-23T20:50:14+00:00","dateModified":"2014-02-15T21:51:04+00:00","author":{"@id":"https:\/\/binaryworld.net\/blogs\/#\/schema\/person\/77cf0a9a512dd22bff93c6a1b6374fe0"},"breadcrumb":{"@id":"https:\/\/binaryworld.net\/blogs\/visual-studio-error-link-already-exists-unload-realod-tric\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/binaryworld.net\/blogs\/visual-studio-error-link-already-exists-unload-realod-tric\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/binaryworld.net\/blogs\/visual-studio-error-link-already-exists-unload-realod-tric\/#primaryimage","url":"https:\/\/binaryworld.net\/blogs\/wp-content\/uploads\/2013\/12\/ScreenHunter_51-Dec.-23-15.38.jpg","contentUrl":"https:\/\/binaryworld.net\/blogs\/wp-content\/uploads\/2013\/12\/ScreenHunter_51-Dec.-23-15.38.jpg","width":"482","height":"288"},{"@type":"BreadcrumbList","@id":"https:\/\/binaryworld.net\/blogs\/visual-studio-error-link-already-exists-unload-realod-tric\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/binaryworld.net\/blogs\/"},{"@type":"ListItem","position":2,"name":"Visual Studio Error: Cannot add link to the file XXX. There is already file of the same name in this folder"}]},{"@type":"WebSite","@id":"https:\/\/binaryworld.net\/blogs\/#website","url":"https:\/\/binaryworld.net\/blogs\/","name":"BinaryWorld Blog","description":"Tips and Tutorials for Microsoft SQL Server, SSIS, SSAS, Business Intelligence, C#, .net","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/binaryworld.net\/blogs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/binaryworld.net\/blogs\/#\/schema\/person\/77cf0a9a512dd22bff93c6a1b6374fe0","name":"Binary World","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/binaryworld.net\/blogs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/eaea47799daa577835eb53e64dfd3e13?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/eaea47799daa577835eb53e64dfd3e13?s=96&d=mm&r=g","caption":"Binary World"},"description":"Binary World is a Software Development company located in Atlanta, USA (since 2007). Binary World specialized in Business Intelligence, mobile, cloud computing and .Net Application Development.","url":"https:\/\/binaryworld.net\/blogs\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/binaryworld.net\/blogs\/wp-json\/wp\/v2\/posts\/515"}],"collection":[{"href":"https:\/\/binaryworld.net\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/binaryworld.net\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/binaryworld.net\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/binaryworld.net\/blogs\/wp-json\/wp\/v2\/comments?post=515"}],"version-history":[{"count":0,"href":"https:\/\/binaryworld.net\/blogs\/wp-json\/wp\/v2\/posts\/515\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/binaryworld.net\/blogs\/wp-json\/wp\/v2\/media\/516"}],"wp:attachment":[{"href":"https:\/\/binaryworld.net\/blogs\/wp-json\/wp\/v2\/media?parent=515"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/binaryworld.net\/blogs\/wp-json\/wp\/v2\/categories?post=515"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/binaryworld.net\/blogs\/wp-json\/wp\/v2\/tags?post=515"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}