Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax errors when importing plugin in 2018 Unity #23

Open
raslab opened this issue Oct 9, 2019 · 0 comments
Open

Syntax errors when importing plugin in 2018 Unity #23

raslab opened this issue Oct 9, 2019 · 0 comments

Comments

@raslab
Copy link

raslab commented Oct 9, 2019

General
2018th Unity needed assembly definitions for unit test scripts and all playmode tests cannot be compiled because of broken references to NUnit libraries.
Achieved in Unity version: 2018.4.6f1 (LTS)

STR:

  1. Clone repository
  2. Copy all files from REX-Diagnostics\RexWindowProject\Assets to some folder inside exists project
  3. See syntax errors in log
    image

Expected: Normal script compiling without errors

Way to fix:
Need to add 2 assembly definitions in projects - one for tests and one for all another
image

Tests assembly definitions need to be marked as Test assembly and referenced with main assembly definition
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant