1. From command line, go to project folder
2. Notepad .csproj (or "vbproj")
3. In the csproj file, find this line:
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
4. Under this line, add the following line:
<Import Project="$(MSBuildBinPath)\Microsoft.WinFx.targets" />
5. Now your project should compile without saying 'cannot find Initialize
Component'
6. After the first compile, you should be able to access the elements
defined in Xaml by using their name from code behind.
Thx

Signature
Developer,
Microsoft Office
> In XAML you can give a name to each element so you can access it in
> the code behind file. This works fine for a WPF application but not a
[quoted text clipped - 14 lines]
>
> Thanks
hufaunder@yahoo.com - 23 Apr 2007 00:29 GMT
On Apr 22, 11:54 am, Deniz Demircioglu
<DenizDemircio...@discussions.microsoft.com> wrote:
> 1. From command line, go to project folder
> 2. Notepad .csproj (or "vbproj")
[quoted text clipped - 34 lines]
>
> - Show quoted text -
Wow, thanks. Don't know how I would have figured that out...