Quantcast
Channel: Questions in topic: "dll"
Viewing all articles
Browse latest Browse all 706

Namespace inside DLL file

$
0
0
Hi guys, I want to ask, if its possible to create DLL file from .cs file, which uses some namespaces from other script like: using SomeNamespace // not Unity namespace MyNamespace { public static class MyClass { //Some Scripts here where I use SomeNamespace } } And then, create DLL file from my .cs file. Because Im trying to do something like this, but always I get error: **The type or namespace name could not be found. Are you missing an assembly reference?** For creating DLL Im using Unity docs way: -r:/Applications/Unity/Unity.app/Contents/Managed/UnityEngine.dll -target:library path-to-cs-file Thank you very much

Viewing all articles
Browse latest Browse all 706

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>