Robert Bernstein's Blog

Adventures in Windows, .NET, and C++
posts - 15, comments - 3, trackbacks - 0

My Links

News

Twitter












Archives

Post Categories

Image Galleries

Friday, September 24, 2010

VS2010 Automatically Includes Your Text Files as Resources

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."

Rob

Posted On Friday, September 24, 2010 3:19 PM | Feedback (0) | Filed Under [ .NET Visual Studio ]

Powered by: