Geeks With Blogs

News

View Anthony Trudeau's profile on LinkedIn

Add to Technorati Favorites


Anthony Trudeau

I struggled with an error in my XAML on a new project this weekend. The error is a design time error. That is, my project compiled and ran perfectly. But, the designer had the error:

The name ‘RegionManager’ does not exist in the namespace “http://www.codeplex.com/prism”.

This occurred in Visual Studio 2012 with the Prism 4.1 libraries that were especially compiled against .NET Framework 4.5. And that annoyingly had to be modified and resigned for the appropriate version of the Unity 3 library.

It turns out that the Zip file that the updated Prism libraries were distributed in was automatically blocked by Windows. When you decompress certain file types from a blocked Zip file the files will automatically be blocked as well. Fixing the problem was as simple as closing Visual Studio and unblocking each library using the following steps:

  1. Right click the library (DLL)
  2. Click Properties
  3. Click Unblock
  4. Click OK

You can also unblock the Zip and decompress the libraries again. However, in my case I had modified a library and it was easier to unblock the handful of files.

I hope this post will solve someone the hours it took me to solve this problem.

Posted on Tuesday, October 1, 2013 9:48 AM .NET , Prism | Back to top


Comments on this post: RegionManager missing from Namespace?

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Anthony Trudeau | Powered by: GeeksWithBlogs.net