How to force WPF to use resource URIs that use assembly strong name? Argh!

You can set the following in your project file to change the URI’s in the generated code:

<PropertyGroup>
  <AssemblyVersion>1.0.0.0</AssemblyVersion>
  <AssemblyPublicKeyToken>[YOUR_PUBLIC_KEY_TOKEN]</AssemblyPublicKeyToken>
</PropertyGroup>

Leave a Comment