- Home /
The question is answered, right answer was accepted
My DLL is giving an error in Unity5 no matter what I have in it, even though in Unity4 things worked fine
I've made a .dll for use in my project, and it worked fine in Unity 5. However in Unity5 the dll (or any other dll I build), always gives the following error when I have it somewhere in the assets folder:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestClassLibrary1
{
public class Class1
{
}
}
What's up with this? Why doesn't Unity5 understand what Unity4 did understand? How do I fix this?
Answer by JeffersonTD · Jan 06, 2016 at 08:06 PM
Ah, got it fixed. It was just a matter of changing the Target framework to .net 3.5. I was pretty sure I had tried that earlier already, but apparently something had gone wrong with that.
Follow this Question
Related Questions
Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers
Game Objects appear in game but not in scene view 0 Answers
Photon Server Issue 0 Answers
Can I connect real-android-device with USB port and access 127.0.0.1 IP? 0 Answers
ClientRpc Function not being carried out on all clients in Unity3d c# 0 Answers