WPF app builds in vs2k8, but not on command line w/ msbuild
问题 I have a fairly small solution that includes a WPF windows application. It builds perfectly fine when built from the solution. I recently integrated the projects contained within the solution into an existing, much larger command line build that uses MSBuild. When built from the command line, however, I get the following errors: MainWindow.xaml.cs(12,4): error CS0103: The name 'InitializeComponent' does not exist in the current context View\EngineMonitorView.xaml.cs(12,4): error CS0103: The