In project __Prism.MefExtensions.Desktop__ , file __Modularity\MefFileModuleTypeLoader.Desktop.cs__ Line __105__
```
string path = moduleInfo.Ref.Substring(RefFilePrefix.Length + 1);
```
It should be changed to:
```
string path = moduleInfo.Ref.Substring(RefFilePrefix.Length);
```
In project __Prism.Desktop__ , file __Modularity\FileModuleTypeLoader.Desktop.cs__ Line __133__
```
string path = moduleInfo.Ref.Substring(RefFilePrefix.Length + 1);
```
It should be changed to:
```
string path = moduleInfo.Ref.Substring(RefFilePrefix.Length);
```
Comments: ** Comment from web user: DCherubini **
Hi Hamson,
The issue you are reporting seems to be similar the issue described in this work item:
* [Issue with ModuleCatalog.CreateFromXaml for WPF application with MEF Bootstrapper](http://compositewpf.codeplex.com/workitem/7215)
Is this correct? If so, a possible workaround you can use in the mean time is to add an extra character after __"file://"__ and before the assembly file name. For example, if you write __"file://xMyFile.dll"__ the __MefFileModuleTypeLoader__ should read __"MyFile.dll"__ .
Also, it seems that several users in the aforementioned work item have confirmed that performing the changes you are describing seem to fix the problem without any other undesired effect.
Regards,
Damian Cherubini
http://blogs.southworks.net/dcherubini