Daniel,
Using Reflector, I examined the code in the ReadTemplate method and verified the issue with the following trimmed down code:
string assemblyName = "MyRecipeFramework.Templates.UnfoldTemplate, MyRecipeFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9fab3f7fbe0827fd";
Type type = ReflectionHelper.LoadType(assemblyName);
if (typeof(UnfoldTemplate).IsAssignableFrom(type))
{
Console.WriteLine("It's there dude");
}
This code writes the helpful message everytime so again I'm left to
ponder: 'what the heck is going on here?'. I did try your suggestion
about the PublicAssemblies folder, and I know Visual Studio 'finds' it
because I attempted to delete it and received a 'file in use' exception.
|