0
Answered

Does Chronos breaks "Assembly Definition Files"?

Gorgor 3 years ago updated by Lazlo Bonin (Lead Developer) 2 years ago 3

Hi,

I am trying new Assembly Definition Files in Unity 2017.3 and from all the plugins I use Chronos is the only one which does not let me use them. When I try to creat .asmdef file which contains Chronos I get following error:

Assets/Plugins/Chronos/Source/Dependencies/Reflection/Editor/Extensions.cs(5,17): error CS0234: The type or namespace name `CSharp' does not exist in the namespace `Microsoft'. Are you missing an assembly reference?

Have you tried to use new Assembly Definition Files with Chronos? How can I make it work? It seems pretty ridiculous that it completely breaks my ability to use .asmdefs just because some PrettyName() method in one plugin;)

Thanks for answer,

Martin


Chronos Version:
Unity Version:
2017.3

Well it seems I need to change my API compatibility level to .NET2.0 and not just a Subset.

Still interested if it is worth it? You know method called "PrettyName()" does not give itself a much importance:)

Pending Review

It's a method used only in the editor, so it doesn't matter much. However, switching from subset to full should not be an issue because of code stripping on AOT builds anyway.