title: I switched the Solution Configuration from Debug to Release and it completely destroyed my solution
body: <p>I've just about completed this project, so I thought I would switch from Debug to Release and test it like that... everything failed. To start with; I keep getting this XAML error : The name 'Foo' does not exist in the namespace "clr-namespace:Bar.Snafu", when where I look into it, it clearly does...</p>
  
  <p>I am also getting this error : </p>
  
  <blockquote>
    <p>x:FieldModifier cannot be specified on this tag because it has either
    no x:Name or Name attribute set, or the tag is locally defined and has
    a Name attribute set, which is not allowed</p>
  </blockquote>
  
  <p>These two specific errors are related to custom components (not User Controls) that I am using.</p>
  
  <p>Why did switching from Debug to Release do this?</p>