When you right-click on your WPF project in Visual Studio 2010 (VS2010) and select Add / New Item… / Text File, the “Build Action” on this file is automatically set to “Resource.” So, when you ship your application, this text file will be embedded within it. If this was simply meant to be a readme file for your own benefit, you may not want it embedded in your app. In this case, click on the text file in Solution Explorer (or Solution Navigator), go to the Properties window, and change “Build Action” from “Resource” to “None.”
Sep 24 2010