title: C# Console application properties.resources isn't working? What reference can I use to fix this?
body: <p>so I'm basically making a program and it needs to pull a file from it's resources, I'm using</p>
  
  <pre><code> WriteFileToPath(ConsoleApplication2.Properties.Resources.raw, Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + @"\" + FileName + ".exe");
  </code></pre>
  
  <p>But actually getting the error: <code>Error  1   The type or namespace name 'Properties' does not exist in the namespace 'ConsoleApplication2' (are you missing an assembly reference?)  c:\users\sand n\documents\visual studio 2013\Projects\ConsoleApplication2\ConsoleApplication2\Program.cs    31</code></p>
  
  <p>What reference can I use to fix this, I know it can be done for a fact because my friend's actually doing the same thing.</p>