Tasharen Entertainment Forum
Support => TNet 3 Support => Topic started by: raptorx81 on February 25, 2016, 11:48:59 PM
-
Hi there! I just upgraded to TNet 3 last night. I finished upgrading the Unity portion last night and now I'm about to start with the dedicated server. It doesn't compile even after moving the TNet assets over (Common, LZMA and Server).
The solution is looking for "TNProperty.cs" under the Common folder, which doesn't appear to exist anywhere. I removed this and replaced it with "TNFieldOrProperty.cs" and that seems to initially work.
Also, in the TNFieldOrProperty.cs" class, line 348 throws an error that GetProperty doesn't exist. Changing this to GetFieldOrProperty seems to work initially as well.
Aren, just wanted to give you a heads up and ask if this is a correct fix? Thanks!
-
Ah, thank you for bringing this to my attention. Yes, you have done everything correctly. I'll get this fixed in the next update. Just to clarify, opening TNServer.csproj with any text editor then renaming "TNProperty" to "TNFieldOrProperty" is enough. Well, that, and changing GetProperty to GetFieldOrProperty as you mentioned. There is no need to include anything else.
-
Just tried this and it fixed my compiler issues.
-
line #348 in TNFieldOrProperty.cs
still has a compile error
-
Change it to GetFieldOrProperty.
-
Change it to GetFieldOrProperty.
just a reminder :)