NotSupportedException was thrown on "Authentication"

Topics: Issues / bugs
Oct 16, 2013 at 11:06 AM
Edited Oct 16, 2013 at 11:13 AM
Hi, I get this exception from the XAML Designer, following the sample on Authetication,
using VS 2010 and Catel 3.6. Didn't have this error on Catel 3.4.

The type 'Catel.MVVM.IAuthenticationProvider' is not registered, not even in an external container
at Catel.IoC.ServiceLocator.ResolveType(Type serviceType, Object tag)
at Catel.IoC.ServiceLocatorExtensions.ResolveType[TService](IServiceLocator serviceLocator)
at Catel.Windows.Interactivity.Authentication..cctor()

*Already added the namespaces

xmlns:catel="http://catel.codeplex.com"
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"

*and used exactly the same as the example.
<i:Interaction.Behaviors>
 <catel:Authentication AuthenticationTag="Administrator" Action="Disable"/>
</i:Interaction.Behaviors>
*Intellisense highlights ONLY AuthenticationTAG="Administrator" Action="Disable"

*Error List shows errors on the following properties - Authentication and Action
with error description "Exception has been thrown by the target of an invocation".
Nevertheless it compiles with no errors and runs fine, but the design time exception is annoying.

Any help would be appreciated, thanks!
Coordinator
Oct 16, 2013 at 7:02 PM
Coordinator
Oct 16, 2013 at 7:21 PM
And FYI, issue is fixed and we are currently releasing a new nightly build.
Marked as answer by GeertvanHorrik on 10/25/2013 at 4:50 AM
Oct 23, 2013 at 11:06 AM
Thanks a lot! Issue is fixed