Rob Kraft's Software Development Blog

Software Development Insights

Posts Tagged ‘Visual Studio 2008’

ResXFileCodeGenerator is obsolete in Visual Studio 2008

Posted by robkraft on March 6, 2008

I recently attempted to use the ResXFileCodeGenerator tool that was developed to allow my DLLs to access the internally scoped resource file contents of another DLL.  I experienced problems because I upgraded my solution to Visual Studio 2008 and I could not find a 2008 version of ResXFileCodeGenerator.  However, I discovered that I don’t need that tool any longer.  In VS 2008, you can now simply define your resources as public by selecting the public scope in the new dropdown at the top of the resource editor window.

This is one more tiny benefit of upgrading from VS 2005 to VS 2008.

Posted in Visual Studio 2008 | Tagged: , | 2 Comments »

Are you missing the controls in the toolbox for Visual Studio 2008?

Posted by robkraft on December 21, 2007

I downloaded Microsoft Visual Studio 2008 Express Edition (C#), installed it, and rebooted my computer.  Then I immediately went to create my first WPF application in VS2008.  I was challenged initially by the lack of controls available in my toolbox.  All of the controls were disabled.  So I went to Tools, Choose Toolbox Items, and enabled the few I wanted to start playing with (in the WPF components tab).  However, they were still disabled.
I exited Visual Studio, restarted Visual Studio, and all the controls were now available, and have been ever since.  I don’t know why they weren’t there the first time I ran the product.

Another possible reason that the controls are not enabled is simply that you need to click on the XAML form.  If your mouse is in the raw XAML window, the controls will not be enabled.

Posted in Visual Studio 2008 | Tagged: , | 11 Comments »