New theme-related exception when switching to VS2012 from VS2010

WPF Studio, Themes, and Shared Library for WPF Forum

Posted 10 years ago by Hamid Noorbakhsh
Version: 12.1.56
Platform: .NET 4.0
Environment: Windows 7 (64-bit)

We recently upgrade to VS2012 and are now encountering a crash when our application starts that wasn't there with VS2010. It seems to be happening with the call to ThemesOfficeThemeCatalogRegistrar.Register(). Here is the stack trace:

Exception Info: System.TypeInitializationException Stack: at ActiproSoftware.Windows.Themes.ThemeManager.RegisterThemeCatalog(ActiproSoftware.Windows.Themes.ThemeCatalogBase) at ActiproSoftware.Windows.Themes.ThemeCatalogRegistrarBase'1[[System.__Canon, mscorlib, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Register() at MyApp.App..ctor() at MyApp.App.Main()


Any thoughts?

Comments (1)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA

Hi Hamid,

It shouldn't make a difference whether they are run in one VS or the other.  We aren't aware of any issues with the themes, and I know we have a lot of users using VS 2012.  It almost sounds like you have a bad reference or perhaps two versions being loaded into the same AppDomain somehow?

If you check all that and still think it is a a bug in our product, please make a new simple sample project that shows it happening and e-mail that to our support address.  Reference this post in yoru e-mail and rename the .zip file extension so it doesn't get spam blocked.  Thanks!

Actipro Software Support

The latest build of this product (v22.1.4) was released 27 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.