Quantcast
Channel: Questions in topic: "external-libraries"
Viewing all articles
Browse latest Browse all 86

Cannot reference System.IO.Pipes.dll in my project

$
0
0
I am trying to use [Pipes](https://docs.microsoft.com/en-us/dotnet/standard/io/how-to-use-named-pipes-for-network-interprocess-communication) 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](https://docs.unity3d.com/Manual/dotnetProfileAssemblies.html), 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?

Viewing all articles
Browse latest Browse all 86

Trending Articles