Assembly redirect for Page Type Builder UI

This article was migrated from an older iteration of our website, and it could deviate in design and functionality.


Page Type Builder UI is a great plugin for synchronizing page types and page type classes. However, you may need to perform an assembly redirect to make PTB UI work with your specific PTB version.

Estimated read time : 2 minutes

Jump to

Update: Right after posting this I noticed there is a Page Type Builder UI version for Page Type Builder 1.3.1 as well. Just get it from Codeplex and ignore this assembly redirect business. :)

Page Type Builder UI requires PTB 1.3.0

If you download the Page Type Builder UI plugin from Codeplex and run it on a site which uses Page Type Builder 1.3.1 you may run into a problem where the Page Type Builder UI assembly is referencing version 1.3.0 of Page Type Builder.

Perform assembly redirect to Page Type Builder 1.3.1

In order to redirect Page Type Builder UI to use Page Type Builder 1.3.1 you have to add the following to your list of assembly redirects in web.config:

<dependentAssembly>
<assemblyIdentity name="PageTypeBuilder" publicKeyToken="6fb8762af0e6dbed" culture="neutral" />
<bindingRedirect oldVersion="1.0.0.0-1.3.0.0" newVersion="1.3.1.0" />
</dependentAssembly>

You can find the public key token of the Page Type Builder assembly by looking in your .csproj file (if redirecting to a version other than 1.3.1):

<ItemGroup>
<!-- Additional project references here -->
<Reference Include="PageTypeBuilder, Version=1.3.1.0, Culture=neutral, PublicKeyToken=6fb8762af0e6dbed, processorArchitecture=MSIL" />
</ItemGroup>

Once the assembly redirect has been added you’ll be able to run Page Type Builder UI with Page Type Builder 1.3.1:

Page Type Builder UI screenshot