<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>bencoffman.com/blog - Visual Studio</title>
    <link>http://bencoffman.com/blog/</link>
    <description>News about Tech and a few other things.</description>
    <language>en-us</language>
    <copyright>Ben Coffman</copyright>
    <lastBuildDate>Wed, 30 Jun 2010 19:10:24 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.1.8102.813</generator>
    <managingEditor>coffmanben@gmail.com</managingEditor>
    <webMaster>coffmanben@gmail.com</webMaster>
    <item>
      <trackback:ping>http://bencoffman.com/blog/Trackback.aspx?guid=ee2aea41-6f52-4b82-8416-d135b7d4a27f</trackback:ping>
      <pingback:server>http://bencoffman.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://bencoffman.com/blog/PermaLink,guid,ee2aea41-6f52-4b82-8416-d135b7d4a27f.aspx</pingback:target>
      <dc:creator>Ben Coffman</dc:creator>
      <wfw:comment>http://bencoffman.com/blog/CommentView,guid,ee2aea41-6f52-4b82-8416-d135b7d4a27f.aspx</wfw:comment>
      <wfw:commentRss>http://bencoffman.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=ee2aea41-6f52-4b82-8416-d135b7d4a27f</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <img src="http://bencoffman.com/blog/content/binary/images.jpeg" border="0" />
        <b>
          <br />
          <br />
          <br />
Error Readout:<br /></b>None, it's not an error silly.<br /><br /><b>The Problem:<br /></b>When I debug, and look at a string that contains my file path I see 2 backslashs
(escape characters) in my string when I only wanted 1.<br /><br /><b>The Solution:</b><br />
It's nothing, don't worry about it, that's just the way Visual Studio "debug" shows
your path when you catch it while debugging. When the path is used in the code for
the file system there will only be 1 backslash and it will work correctly.<br /><br />
This is such a stupid little thing, but for some reason every once in a blue moon,
I forget and freak out on why it's doing this, thus wasting a solid five minutes of
my life. I put this post up in hopes I will never forget again and that if someone
happens to Google this, my post will pop up and help them move on quickly....maybe
only wasting 1 to 2 minutes. :)<br /><p></p><img width="0" height="0" src="http://bencoffman.com/blog/aggbug.ashx?id=ee2aea41-6f52-4b82-8416-d135b7d4a27f" /></body>
      <title>Debug: Double Backslashes In String, 2 Backslashes in String</title>
      <guid isPermaLink="false">http://bencoffman.com/blog/PermaLink,guid,ee2aea41-6f52-4b82-8416-d135b7d4a27f.aspx</guid>
      <link>http://bencoffman.com/blog/2010/06/30/DebugDoubleBackslashesInString2BackslashesInString.aspx</link>
      <pubDate>Wed, 30 Jun 2010 19:10:24 GMT</pubDate>
      <description>&lt;img src="http://bencoffman.com/blog/content/binary/images.jpeg" border="0"&gt; &lt;b&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Error Readout:&lt;br&gt;
&lt;/b&gt;None, it's not an error silly.&lt;br&gt;
&lt;br&gt;
&lt;b&gt;The Problem:&lt;br&gt;
&lt;/b&gt;When I debug, and look at a string that contains my file path I see 2 backslashs
(escape characters) in my string when I only wanted 1.&lt;br&gt;
&lt;br&gt;
&lt;b&gt;The Solution:&lt;/b&gt;
&lt;br&gt;
It's nothing, don't worry about it, that's just the way Visual Studio "debug" shows
your path when you catch it while debugging. When the path is used in the code for
the file system there will only be 1 backslash and it will work correctly.&lt;br&gt;
&lt;br&gt;
This is such a stupid little thing, but for some reason every once in a blue moon,
I forget and freak out on why it's doing this, thus wasting a solid five minutes of
my life. I put this post up in hopes I will never forget again and that if someone
happens to Google this, my post will pop up and help them move on quickly....maybe
only wasting 1 to 2 minutes. :)&lt;br&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://bencoffman.com/blog/aggbug.ashx?id=ee2aea41-6f52-4b82-8416-d135b7d4a27f" /&gt;</description>
      <comments>http://bencoffman.com/blog/CommentView,guid,ee2aea41-6f52-4b82-8416-d135b7d4a27f.aspx</comments>
      <category>.Net</category>
      <category>Visual Studio</category>
      <category>Windows</category>
    </item>
  </channel>
</rss>