Quantcast
Channel: patterns & practices: Prism
Viewing all articles
Browse latest Browse all 1878

Created Issue: A bug when using XAML module catalog in WPF [9906]

$
0
0
When I write __... Ref="file://MyFile.dll" ....__ in my XAML module catalog, the __MefFileModuleTypeLoader__ returns __"yFile.dll"__ instead of __"MyFile.dll"__ .

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);
```

Viewing all articles
Browse latest Browse all 1878

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>