Problem referencing Visual Studio UWP Project
I'm trying to include a DLL into a Unity project for the Microsoft Hololens. I have Visual Studio 2015 Update 3 and Unity 5.4.0f3-HTP.
If I drop this DLL into Unity directly then I get
System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.
This occurs even if I check "don't process" on the inspector.I build the project without the DLL, then go into the generated VS solution and add the DLL as a reference in the project that contains the scripts (this is Assembly-CSharp). I then go and write some code in the
Start()
function of a script to start my application. However, when I build the solution I get the following error:System.IO.FileNotFoundException: Assembly "myDLLsName, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" file not found.
However, if I install and use Unity 5.4.0b10-HTP, then the second step above works. Has this functionality somehow been broken in recent updates? Any help is greatly appreciated!
Your answer
![](https://koobas.hobune.stream/wayback/20220612090231im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Buttons work in the Editor but not in the build... WHY! 0 Answers
Built Game different than the game in the editor - What to do? 0 Answers
Menu object not responding 0 Answers
Unity Hub won't open my Projects (MacOS) 2 Answers
Xcode build error .. 0 Answers