- Home /
Question by
andry-tino · Jun 25, 2018 at 09:33 PM ·
assetsexternal-librariesexternal assets
Cannot reference System.IO.Pipes.dll in my project
I am trying to use Pipes in my Unity project, therefore I need to reference DLL System.IO.Pipes.dll
. Also, these are some more info on my environment:
Unity 2018.1.5f1 Personal (64bit)
Windows 10 (64bit)
Using msc.rsp
Following the Unity doc on loading external assemblies, I have created the msc.rsp
file inside my Assets/
directory:
-r:System.IO.Pipes.dll
In my Assets/
folder I also have a C# file which needs pipes:
using System;
using System.IO;
using System.IO.Pipes;
public class CommunicationEndpoint : IDisposable
{
private NamedPipeServerStream host;
...
Unity reports errors
The Visual Studio project compiles just fine! But Unity reports this error:
error CS0006: Metadata file
System.IO.Pipes.dll
could not be found
What am I doing wrong? What's happening?
Comment