- Home /
Why does Boo not see namespaces from dlls?
I'm trying to use protobuf-net but am getting the following error when I try to import it in a Boo script:
BCE0021: Namespace 'ProtoBuf' not found, maybe you forgot to add an assembly reference?
I have the assembly in the Plugins folder, and Unity doesn't complain if I use it from a C# script. Is there something special I need to do?
I'm not yet sure why this is, but using the .NET 2.0 version of the assembly appears to make it compatible with Boo.
Answer by Bunny83 · May 22, 2011 at 03:28 AM
A plain .Net/mono dll is not a plugin. Plugins (from Unity's view) are only native code dlls. Just place your dll somewhere else in your assets.
I don't use Boo because i don't know python ;) As far as i know Unity still use .Net 2.0 (you can see the option in your Player-settings where you can choose .Net 2.0 or .Net 2.0 Subset). That could be the problem. For which platform do you build? web, standalone or iPhone...
Your answer
![](https://koobas.hobune.stream/wayback/20220612082446im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Assembly.Load on iOS 1 Answer
How to change assembly name of Assembly-CSharp.dll 0 Answers
Compiled managed dll that references Unity APIs from different Unity versions 0 Answers
How do you put stuff in assemblies? 1 Answer
The Assembly is referenced, But the dll is not allowed to be included or could not be found 0 Answers