rhasce

Member
Hi all hope it is all well.

I get this on Extensions/server/AttributesExt.cs line 488 and Misc/AttributesDefinicion.cs line 32 error below:

Feature `default literal' cannot be used because it is not part of the C# 7.0 language specification Please use language version 7.1 or greater
 
Hello I think this is messing me up, I tried 4.7.2 and back to the same error, how do I install 4.8 on Windows 10? Capture.PNG
When I set to 4.7.2 it compiles but same error, clearly I need .net 4.8 this is a fresh Publish 57 Servuo, fresh Windows install :(
 
Last edited:
Edit the properties for each project in the solution, change the target framework to .NET 4.8
You can do this by right clicking each project in the Solution Explorer panel in Visual Studio and selecting Properties.
 
With a fresh install of Servuo pub 57 I got the same errors as stated above (Feature 'default literal' is not available in C# 7.0. Please use language version 7.1 or greater.).

Followed the recommendation above and switched so that the projects uses framework 4.8 instead of 4.7.2 (scripts.csproj, Server.csproj, Ultima.csproj, app.config and ServUO.exe.config).

However I still get the same errors.. Voxpire, any idea if that doesn't work?
 
With a fresh install of Servuo pub 57 I got the same errors as stated above (Feature 'default literal' is not available in C# 7.0. Please use language version 7.1 or greater.).

Followed the recommendation above and switched so that the projects uses framework 4.8 instead of 4.7.2 (scripts.csproj, Server.csproj, Ultima.csproj, app.config and ServUO.exe.config).

However I still get the same errors.. Voxpire, any idea if that doesn't work?
This thread covers it; Vita-Nex 5.3.0.1 errors pub 57
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back