I'm currently writing up an upload system that takes XML from the document and will display it on a web page.
The issue I'm facing, is that whenever I'm adding the XML extraction part of the website, the compiler will return the error as mentioned in the title. I have already added WindowsBase, both from manually and from the drop down menu.
You must add a reference to assembly 'WindowsBase, Version=3.0. 0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The solution to this problem is to add reference of WindowsBase library by right clicking the project in Solution Explorer window and then clicking Add Reference option from the context menu.
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework. NETFramework\v4. 0\ is used by Visual Studio to reference shared libraries.
Check properties of the referenced assembly (select reference and click F4) - try to use "Copy Local: true"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With