I am attempting to use the System.IO.Package
namespace in my project (there’s a good reason for needing it, but I’m not allowed to explain the details about it here). I’ve added a .Net
reference to WindowsBase.dll
(C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\WindowsBase.dll
). The only thing I added to the default stubbed code is a using statement for System.IO.Packaging
:
using System.IO.Packaging;
So, after adding the WindowsBase.dll
assembly reference, MonoDevelop builds fine - no errors. But upon returning to the Unity3D window, Unity continues to report a build error:
error CS0234: The type or namespace name `Packaging' does not exist
in the namespace System.IO Are you missing an assembly reference?
I am quite new at all this, and have Googled this to no end and reached no joy. I need some help from someone to understand if it is at all possible to use the System.IO.Package
namespace, or if someone has an idea for a workaround. My end goal is to use Open Packaging Conventions to handle OPC packages of specialized, custom data.
Anyone have any thoughts or ideas about how to leverage/use OPC in a Unity project?
Any help would be appreciated! Thx.
Warmest Regards,
Scott