Geeks With Blogs
Robert Bernstein's Blog Adventures in Windows, .NET, and C++ .NET
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" ......

Posted On Friday, September 24, 2010 3:19 PM

Change the Default VS2010 Start Page "Language"
When you first run Visual Studio 2010 (VS2010), it asks you to select a profile (e.g. C#, C++). This determines the Start Page displayed when VS2010 starts. Once you pick this, there appears to be no easy way to change your selection (at least none that I've found). To see which start pages are available to you, look in the following directory: 32-bit Windows: C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\StartPages\en 64-bit Windows: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\StartPages\en ......

Posted On Friday, September 17, 2010 2:04 PM

Integrate the Windows SDK v7.1 with VS2010
Final Solution: I figured it out! Open your project in VS2010, select the Project menu and choose Properties..., and click the dropdown next to Platform Toolset. You can select between v100 (VS2010), v90 (VS2008), and Windows7.1SDK. Select the 7.1 SDK and click OK. Now you're all set. Note that you can use v90 to build apps that compile for older versions of Windows as long as you have VS2008 already installed on your machine. --------- The information below is just kept to remind me what I did. ......

Posted On Friday, September 17, 2010 1:34 PM

Copyright © Rob | Powered by: