-
Notifications
You must be signed in to change notification settings - Fork 38
Description
With the lastest v18u8 the .net version changed to .Net 6.
I needed to add a return value in the update.cs for the catch case. After that it compiled and worked with the latest 3cx version.
Build on 3cx Debian 10.
MSBuild version 17.3.2+561848881 for .NET
Determining projects to restore...
Restored /opt/3cx-web-api/WebAPICore.csproj (in 203 ms).
/opt/3cx-web-api/update.cs(16,30): error CS0161: 'update.updateid(string, string)': not all code paths return a value [/opt/3cx-web-api/WebAPICore.csproj]
/opt/3cx-web-api/getcallid.cs(29,38): warning CS0618: 'ActiveConnection.HistoryIDOfTheCall' is obsolete: 'V14. This ID is not stored in call history database. So this property should not be used to store references' [/opt/3cx-web-api/WebAPICore.csproj]
Build FAILED.
/opt/3cx-web-api/getcallid.cs(29,38): warning CS0618: 'ActiveConnection.HistoryIDOfTheCall' is obsolete: 'V14. This ID is not stored in call history database. So this property should not be used to store references' [/opt/3cx-web-api/WebAPICore.csproj]
/opt/3cx-web-api/update.cs(16,30): error CS0161: 'update.updateid(string, string)': not all code paths return a value [/opt/3cx-web-api/WebAPICore.csproj]
1 Warning(s)
1 Error(s)
Time Elapsed 00:00:03.18