Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

FebCTP clr-namespace problem

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 04-15-2006   #1 (permalink)
Sean Allison
Guest


 

FebCTP clr-namespace problem

Has anyone else had trouble with the new clr-mapping of the FebCTP? I can't
get the most basic of namespace mapping (even within the same assy) working.
Consistent "Assembly '' could not be found." error.

I have Chris Sells' WPF book, and got his latest samples off his site, same
error.

From some other thread, I thought that the problem may be because I used the
uninstall tool to get rid of my JanCTP bits, and some were left over. So I
did complete reinstall on this box of WinXP SP2, all updates, VS2005, then
the FEB beta. Exact same error.

Here's sample XAML code from one of Sells' projects which gives error listed
above:

Thanks,

<Window x:Class="DataBindingDemo.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespaceataBindingDemo"
Width="250"
Height="150"
Title="Nick Names">
<Window.Resources>
<Style TargetType="{x:Type TextBlock}">
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="FontWeight" Value="Bold" />
<Setter Property="FontStyle" Value="Italic" />
</Style>
<local:Nicknames x:Key="names">
<local:Nickname Name="Don" Nick="Naked" />
<local:Nickname Name="Martin" Nick="Gudge" />
<local:Nickname Name="Tim" Nick="Stinky" />
</local:Nicknames>
</Window.Resources>
<!--<DockPanel x:Name="dockPanel">-->
<DockPanel DataContext="{StaticResource names}">
<StackPanel DockPanel.Dock="Top" Orientation="Horizontal">
<TextBlock>Name: </TextBlock>
<TextBox Text="{Binding Path=Name}" />
<TextBlock>Nick: </TextBlock>
<TextBox Text="{Binding Path=Nick}" />
</StackPanel>
<Button DockPanel.Dock="Bottom" x:Name="addButton">Add</Button>
<ListBox ItemsSource="{Binding}" IsSynchronizedWithCurrentItem="True">
<ListBox.ItemTemplate>
<DataTemplate>
<TextBlock>
<TextBlock Text="{Binding Path=Name}" />:
<TextBlock Text="{Binding Path=Nick}" />
</TextBlock>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
</DockPanel>
</Window>

My System SpecsSystem Spec
Old 04-16-2006   #2 (permalink)
brett
Guest


 

Re: FebCTP clr-namespace problem

I'm going through the same issues and was going to post here but looks
like you beat me to it:
http://groups.google.com/group/micro...fe493a8c?hl=en

Brett

My System SpecsSystem Spec
Old 04-17-2006   #3 (permalink)
Sean Allison
Guest


 

Re: FebCTP clr-namespace problem

Good to know I'm not alone with this problem.

FYI, I posted this as a bug on MSDN product feedback. It would be great for
you to go there and validate the problem, and vote on it as well. This will
server to heighten bug's priority in MS eyes.

http://lab.msdn.microsoft.com/productfeedback/
ID: FDBK48693

Best regards and thank you,
Sean

"brett" wrote:

> I'm going through the same issues and was going to post here but looks
> like you beat me to it:
> http://groups.google.com/group/micro...fe493a8c?hl=en
>
> Brett
>
>

My System SpecsSystem Spec
Old 04-17-2006   #4 (permalink)
KEN
Guest


 

Re: FebCTP clr-namespace problem

I found that microsoft may change the namespace to

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

good luck

"Sean Allison" wrote:

> Good to know I'm not alone with this problem.
>
> FYI, I posted this as a bug on MSDN product feedback. It would be great for
> you to go there and validate the problem, and vote on it as well. This will
> server to heighten bug's priority in MS eyes.
>
> http://lab.msdn.microsoft.com/productfeedback/
> ID: FDBK48693
>
> Best regards and thank you,
> Sean
>
> "brett" wrote:
>
> > I'm going through the same issues and was going to post here but looks
> > like you beat me to it:
> > http://groups.google.com/group/micro...fe493a8c?hl=en
> >
> > Brett
> >
> >

My System SpecsSystem Spec
Old 04-17-2006   #5 (permalink)
brett
Guest


 

Re: FebCTP clr-namespace problem

How exactly do I find the bug you reported? I did a search for
existing bug under WPF with the above ID but it didn't find anything.

Brett

My System SpecsSystem Spec
Old 04-17-2006   #6 (permalink)
brett
Guest


 

Re: FebCTP clr-namespace problem

These new namespaces break many of the samples posted on the Channel9
Sandbox that make use of vector graphics and really demonstrate the UI.
Does any have suggestions on samples that demonstrate WPF's UI
capabilities using the Feb release of WFP?

Thanks,
Brett

My System SpecsSystem Spec
Old 04-17-2006   #7 (permalink)
Douglas Stockwell
Guest


 

Re: FebCTP clr-namespace problem

I couldnt work out how to get anywhere with the ID either, but I did manage
to find the bug via other means:

http://lab.msdn.microsoft.com/produc...4-9a9ad149009a

- Doug

> How exactly do I find the bug you reported? I did a search for
> existing bug under WPF with the above ID but it didn't find anything.
>
> Brett
>



My System SpecsSystem Spec
Old 04-17-2006   #8 (permalink)
Sean Allison
Guest


 

Re: FebCTP clr-namespace problem

Sorry for that oversight Gentlemen. I forgot you have to be registered with
MSDN labs to report bugs to actually search by the ID number.

Thanks Doug, for posting that link for us.
--
Sean Allison


"Douglas Stockwell" wrote:

> I couldnt work out how to get anywhere with the ID either, but I did manage
> to find the bug via other means:
>
> http://lab.msdn.microsoft.com/produc...4-9a9ad149009a
>
> - Doug
>
> > How exactly do I find the bug you reported? I did a search for
> > existing bug under WPF with the above ID but it didn't find anything.
> >
> > Brett
> >

>
>
>

My System SpecsSystem Spec
Old 04-17-2006   #9 (permalink)
brett
Guest


 

Re: FebCTP clr-namespace problem

As a side not for those looking to see real XAML apps, I've gotten past
my recent issues at least for the Hands On Labs. Here's what I did:

1.) Download the WinFX Feb CTP:
http://www.microsoft.com/downloads/d...displaylang=en
2.) Download the labs:
http://msdn.microsoft.com/winfx/lear...b/default.aspx
3.) Download the XAML migrate tool:
http://robrelyea.com/tools/XamlMigrate/. (corrects namespace issue)
4.) Run it on these labs from the lab root folder using: XamlMigrate
*.xaml /modeverwrite /s
5.) Build the labs you want to view.

You may have a missing reference for System.Security.Authorization. I
didn't find it mattered either way.

Brett

My System SpecsSystem Spec
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using namespace directive? Duncan Smith PowerShell 10 08-19-2007 11:14 PM
URI to namespace extension Brad O'Hearne PowerShell 0 04-09-2007 10:07 AM
tag not valid in namespace Sharon Avalon 1 03-29-2006 08:07 AM
Annoying namespace issue Simon Middlemiss Avalon 1 03-25-2006 06:27 PM


Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51