vexe / VFW

MIT License
492 stars 67 forks source link

Unity cloud build error #46

Closed miguel12345 closed 9 years ago

miguel12345 commented 9 years ago

Hi,

This is a really weird error, when I build my project in the editor for iOS everything works fine, but if I build it through Unity Cloud Build, the compilation fails, with several errors like this one:

[Unity] Assets/Plugins/Vexe/Runtime/Types/Others/KVPList.cs(6,20): error CS0234: The type or namespace name `Extensions' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?

If I remove VFW, the project compiles just fine. Do you have any idea of what it might be?

vexe commented 9 years ago

Error doesn't make sense. KVPList and Extensions/Helpers are in the same dll. Is it only KVPList? - Try this version, it doesn't have dependency on Extensions nor Helpers. http://pastebin.com/hcZenKYD

miguel12345 commented 9 years ago

I'll try that, but meanwhile, here is the full error stack

[Unity] Assets/Plugins/Vexe/Runtime/Types/Others/KVPList.cs(6,20): error CS0234: The type or namespace name `Extensions' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
9: [Unity] Assets/Plugins/Vexe/Runtime/Types/Others/KVPList.cs(7,20): error CS0234: The type or namespace name `Helpers' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
10: [Unity] Assets/Plugins/Vexe/Runtime/Types/Attributes/API/DefaultAttribute.cs(3,20): error CS0234: The type or namespace name `Helpers' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
11: [Unity] Assets/Plugins/Vexe/Runtime/Types/Core/BaseBehaviour.cs(2,20): error CS0234: The type or namespace name `Extensions' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
12: [Unity] Assets/Plugins/Vexe/Runtime/Types/Core/BaseScriptableObject.cs(2,20): error CS0234: The type or namespace name `Extensions' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
13: [Unity] Assets/Plugins/Vexe/Runtime/Types/Core/BetterBehaviour.cs(3,20): error CS0234: The type or namespace name `Extensions' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
14: [Unity] Assets/Plugins/Vexe/Runtime/Types/Core/BetterBehaviour.cs(4,20): error CS0234: The type or namespace name `Helpers' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
15: [Unity] Assets/Plugins/Vexe/Runtime/Types/Core/BetterScriptableObject.cs(3,20): error CS0234: The type or namespace name `Extensions' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
16: [Unity] Assets/Plugins/Vexe/Runtime/Types/Core/BetterScriptableObject.cs(4,20): error CS0234: The type or namespace name `Helpers' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
17: [Unity] Assets/Plugins/Vexe/Runtime/Types/Delegates/uAction.cs(3,20): error CS0234: The type or namespace name `Extensions' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
18: [Unity] Assets/Plugins/Vexe/Runtime/Types/Delegates/uFunc.cs(3,20): error CS0234: The type or namespace name `Extensions' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
19: [Unity] Assets/Plugins/Vexe/Runtime/Types/Others/KVPList.cs(6,20): error CS0234: The type or namespace name `Extensions' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
20: [Unity] Assets/Plugins/Vexe/Runtime/Types/Others/KVPList.cs(7,20): error CS0234: The type or namespace name `Helpers' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
21: [Unity] Assets/Plugins/Vexe/Runtime/Types/Attributes/API/DefaultAttribute.cs(3,20): error CS0234: The type or namespace name `Helpers' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
22: [Unity] Assets/Plugins/Vexe/Runtime/Types/Core/BaseBehaviour.cs(2,20): error CS0234: The type or namespace name `Extensions' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
23: [Unity] Assets/Plugins/Vexe/Runtime/Types/Core/BaseScriptableObject.cs(2,20): error CS0234: The type or namespace name `Extensions' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
24: [Unity] Assets/Plugins/Vexe/Runtime/Types/Core/BetterBehaviour.cs(3,20): error CS0234: The type or namespace name `Extensions' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
25: [Unity] Assets/Plugins/Vexe/Runtime/Types/Core/BetterBehaviour.cs(4,20): error CS0234: The type or namespace name `Helpers' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
26: [Unity] Assets/Plugins/Vexe/Runtime/Types/Core/BetterScriptableObject.cs(3,20): error CS0234: The type or namespace name `Extensions' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
27: [Unity] Assets/Plugins/Vexe/Runtime/Types/Core/BetterScriptableObject.cs(4,20): error CS0234: The type or namespace name `Helpers' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
28: [Unity] Assets/Plugins/Vexe/Runtime/Types/Delegates/uAction.cs(3,20): error CS0234: The type or namespace name `Extensions' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
29: [Unity] Assets/Plugins/Vexe/Runtime/Types/Delegates/uFunc.cs(3,20): error CS0234: The type or namespace name `Extensions' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
30: [Unity] Scripts have compiler errors.
31: [Unity] Scripts have compiler errors.
32: [Unity] Initialize engine version: 5.1.2f1 (afd2369b692a)
33: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/Assembly-CSharp-firstpass.dll
34: [Unity] Compilation failed: 11 error(s), 0 warnings
35: [Unity] Assets/Plugins/Vexe/Runtime/Types/Others/KVPList.cs(6,20): error CS0234: The type or namespace name `Extensions' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
36: [Unity] Assets/Plugins/Vexe/Runtime/Types/Others/KVPList.cs(7,20): error CS0234: The type or namespace name `Helpers' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
37: [Unity] Assets/Plugins/Vexe/Runtime/Types/Attributes/API/DefaultAttribute.cs(3,20): error CS0234: The type or namespace name `Helpers' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
38: [Unity] Assets/Plugins/Vexe/Runtime/Types/Core/BaseBehaviour.cs(2,20): error CS0234: The type or namespace name `Extensions' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
39: [Unity] Assets/Plugins/Vexe/Runtime/Types/Core/BaseScriptableObject.cs(2,20): error CS0234: The type or namespace name `Extensions' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
40: [Unity] Assets/Plugins/Vexe/Runtime/Types/Core/BetterBehaviour.cs(3,20): error CS0234: The type or namespace name `Extensions' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
41: [Unity] Assets/Plugins/Vexe/Runtime/Types/Core/BetterBehaviour.cs(4,20): error CS0234: The type or namespace name `Helpers' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
42: [Unity] Assets/Plugins/Vexe/Runtime/Types/Core/BetterScriptableObject.cs(3,20): error CS0234: The type or namespace name `Extensions' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
43: [Unity] Assets/Plugins/Vexe/Runtime/Types/Core/BetterScriptableObject.cs(4,20): error CS0234: The type or namespace name `Helpers' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
44: [Unity] Assets/Plugins/Vexe/Runtime/Types/Delegates/uAction.cs(3,20): error CS0234: The type or namespace name `Extensions' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
45: [Unity] Assets/Plugins/Vexe/Runtime/Types/Delegates/uFunc.cs(3,20): error CS0234: The type or namespace name `Extensions' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
46: [Unity] Assets/Plugins/Vexe/Runtime/Types/Others/KVPList.cs(6,20): error CS0234: The type or namespace name `Extensions' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
47: [Unity] Assets/Plugins/Vexe/Runtime/Types/Others/KVPList.cs(7,20): error CS0234: The type or namespace name `Helpers' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
48: [Unity] Assets/Plugins/Vexe/Runtime/Types/Attributes/API/DefaultAttribute.cs(3,20): error CS0234: The type or namespace name `Helpers' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
49: [Unity] Assets/Plugins/Vexe/Runtime/Types/Core/BaseBehaviour.cs(2,20): error CS0234: The type or namespace name `Extensions' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
50: [Unity] Assets/Plugins/Vexe/Runtime/Types/Core/BaseScriptableObject.cs(2,20): error CS0234: The type or namespace name `Extensions' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
51: [Unity] Assets/Plugins/Vexe/Runtime/Types/Core/BetterBehaviour.cs(3,20): error CS0234: The type or namespace name `Extensions' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
52: [Unity] Assets/Plugins/Vexe/Runtime/Types/Core/BetterBehaviour.cs(4,20): error CS0234: The type or namespace name `Helpers' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
53: [Unity] Assets/Plugins/Vexe/Runtime/Types/Core/BetterScriptableObject.cs(3,20): error CS0234: The type or namespace name `Extensions' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
54: [Unity] Assets/Plugins/Vexe/Runtime/Types/Core/BetterScriptableObject.cs(4,20): error CS0234: The type or namespace name `Helpers' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
55: [Unity] Assets/Plugins/Vexe/Runtime/Types/Delegates/uAction.cs(3,20): error CS0234: The type or namespace name `Extensions' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
56: [Unity] Assets/Plugins/Vexe/Runtime/Types/Delegates/uFunc.cs(3,20): error CS0234: The type or namespace name `Extensions' does not exist in the namespace `Vexe.Runtime'. Are you missing an assembly reference?
miguel12345 commented 9 years ago

I finally found what the problem was, all files inside the Vexe/Runtime/Library folder were not being committed due to .gitignore. Changing it to /Library/ (like yours) fixed the problem