ServUO updated to .net 4.7.2

dmurphy

Administrator
ServUO Developer
Hey!

ServUO's current master has been updated to use .net 4.7.2. This will allow you to use c# 6 and 7 features going forward.

I have tested on both windows and ubuntu 18.04LTS using mono and did not see any issues. However, in a production environment that might change. I do not believe this upgrade will affect any server negatively but please do submit a bug report if you do notice anything off.

We have been targeting an almost decade old version of the framework for far too long and this update will help bring the project into the future.

Have fun :)
 

Milva

Moderator
Oh sorry , I'm sure most won't have a problem with the updated netframwork. I'm on an older laptop so I think it might be awhile for me :) plus it's good for ServUO
 

Ishya

Citizen
I will be looking into this soon I have some things I have to work with first to make sure I can find everything on the new shard. is there a way to import staff runebook runes by chance?
 

dmurphy

Administrator
ServUO Developer
Oh sorry , I'm sure most won't have a problem with the updated netframwork. I'm on an older laptop so I think it might be awhile for me :) plus it's good for ServUO

What operating system are you using?
 

Milva

Moderator
My laptop is older, windows vista- I will just work around what I need until I pick up a new one :)
 

fanzilla

Citizen
I settle the .net 4.7.2,and run the complier,it shows:server\scriptcompiler.cs(214.61):error CS0234:type or namespace name 'CodeDom' does not exist in th namespace 'microsoft' <are you missing an assembly reference>.
How to deal it ?
 
Ooof yeah, .net dropped support for vista starting at 4.7
windows V.I.S.T.A. (Virus Inserted Strategically To All)
Post automatically merged:

i broke 3 brand new $400 plus items due to vista when doing a custom build pc before window 7 went live
 

Zeapo

Citizen
Hey!

ServUO's current master has been updated to use .net 4.7.2. This will allow you to use c# 6 and 7 features going forward.

I have tested on both windows and ubuntu 18.04LTS using mono and did not see any issues. However, in a production environment that might change. I do not believe this upgrade will affect any server negatively but please do submit a bug report if you do notice anything off.

We have been targeting an almost decade old version of the framework for far too long and this update will help bring the project into the future.

Have fun :)
I can’t get my windows 8.1 to update passed .net framework 4.0 so it gives me errors when compiling. I’ve tried everything to fix it but it won’t update.
Is there anyway I can run an older version of servuo? If so, where can I find a copy?
 

Lokai

Moderator
I can’t get my windows 8.1 to update passed .net framework 4.0 so it gives me errors when compiling. I’ve tried everything to fix it but it won’t update.
Is there anyway I can run an older version of servuo? If so, where can I find a copy?

When you download the Source Code using Git or Github Desktop, it lets you select which release you want to use. Also, you can browse older releases directly on Github.
 

Zeapo

Citizen
When you download the Source Code using Git or Github Desktop, it lets you select which release you want to use. Also, you can browse older releases directly on Github.
I’ve been looking through the previous releases and the only one I see that shows the .net framework required is the newest one. How do I know which framework the older releases use? Sorry for the noob questions.
 

Lokai

Moderator
I’ve been looking through the previous releases and the only one I see that shows the .net framework required is the newest one. How do I know which framework the older releases use? Sorry for the noob questions.

There should be a batch file to compile the server in each release, and it will show a path to the .Net as either 3.5, 4.0 or 4.5, etc. Looks like the latest one doesn't show a full path, but the history of the batch file on Github does provide some clues:

History for Compile.WIN - Release.bat - ServUO/ServUO · GitHub