This project has moved and is read-only. For the latest updates, please go here.

FileNotFoundException: missing assembly

Oct 8, 2013 at 9:54 AM
Hello guys,

I've came across such issue:

When attempting to use DocX.Load method in Metro appliation I got such exception "FileNotFoundException: can't load file or assembly "WindowsBase, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35".

DocX library has been added to the Metro project as NuGet package.

Any ideas ?

Oct 8, 2013 at 9:57 AM
Yes. Try getting newest DocX source code and compile it. Don't think NuGet has been updated.
Oct 8, 2013 at 10:25 AM
Thanks, MadBoy!

Now I have the following - I got the latest source code and tried to compile it. It's okay. But when I try to add compiled assembly I get message that assembly was built for .NetFramework and I can't use it under .NetCore.
Oct 8, 2013 at 11:18 AM
I just can't get how did you build DocX assembly in .NetFramework 3.5 and at the same time this library could be added to Metro app as a reference ?

Metro app consumes only .NetCore libraries but not .NetFramework :)
What's the trick ?

Oct 8, 2013 at 11:39 AM
Actually we have never done this. You need to convert it to .NetCore yourself
Oct 8, 2013 at 12:14 PM
Funny :)

Still can't get the point how it works but thanks anyway.