I am able to use a UserControl in a C# project but not in a VB project. Is
that the correct functionality at the moment in Beta 2 or should I be able to
add a UserControl even in a VB project?
TIA
--
Eli
I am able to use a UserControl in a C# project but not in a VB project. Is
that the correct functionality at the moment in Beta 2 or should I be able to
add a UserControl even in a VB project?
TIA
--
Eli
Thanks for bringing this up. UserControl should work in markup using VB and
C# projects but there is a WPF bug in Beta2 that broke it in VB projects.
We'll fix this in the next release.
From the VS"Orcas" tools Beta2 readme:
- Referencing user-defined types in XAML that is declared within the current
VB project will fail at runtime. The workaround for VB projects is to
reference user types from a separate assembly or a C# project instead.
"Eli" <eli@discussions.microsoft.com> wrote in message
news:E421BC70-4124-4254-AEE0-DF9B9A8447DA@microsoft.com...
>I am able to use a UserControl in a C# project but not in a VB project. Is
> that the correct functionality at the moment in Beta 2 or should I be able
> to
> add a UserControl even in a VB project?
>
> TIA
> --
> Eli
| Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| In any project, Can't we refer classes directly, (without addingphysically in the project)? | Rachana | .NET General | 1 | 28 Mar 2008 |
| UserControl inside another UserControl with WYSIWYG | jan.bannister@gmail.com | Avalon | 1 | 07 Feb 2007 |
| How to bind to a usercontrol property from inside this usercontrol | Pon | Avalon | 2 | 13 Nov 2006 |
| Microsoft Advances Its Project Management Technology and the Project Management Profession | z3r010 | Vista News | 0 | 20 Oct 2006 |
| WPF UserControl in a Forms.UserControl | MichaelG | Avalon | 2 | 10 Jan 2006 |