Closed GFA-SkyRanger closed 3 years ago
Just compile it, FiveM is using Mono, so it should run just fine.
Well, i was asking, "how..." and i got answer like "just..." and well.. thats not helpful.
anyway, i tryed, but no way.
`XBuild Engine Version 14.0 Mono, Version 4.6.2.0 Copyright (C) 2005-2013 Various Mono authors
Build started 07.01.2021 04:08:32.
/_data/temp/saltychat/SaltyChat-FiveM.sln: warning : /_data/temp/saltychat/SaltyServer/SaltyServer.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the
/_data/temp/saltychat/SaltyShared/SaltyShared.shproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/VisualStudio/v/CodeSharing/Microsoft.CodeSharing.Common.Default.props, to import. Ignoring.
/_data/temp/saltychat/SaltyShared/SaltyShared.shproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/VisualStudio/v/CodeSharing/Microsoft.CodeSharing.Common.props, to import. Ignoring.
/_data/temp/saltychat/SaltyShared/SaltyShared.shproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/VisualStudio/v/CodeSharing/Microsoft.CodeSharing.CSharp.targets, to import. Ignoring.
/_data/temp/saltychat/SaltyChat-FiveM.sln: warning : Don't know how to handle GlobalSection SharedMSBuildProjectFiles, Ignoring.
/_data/temp/saltychat/SaltyChat-FiveM.sln: warning : Don't know how to handle GlobalSection ExtensibilityGlobals, Ignoring.
Project "/_data/temp/saltychat/SaltyChat-FiveM.sln" (default target(s)):
Target ValidateSolutionConfiguration:
Building solution configuration "Debug|Any CPU".
Target Build:
/_data/temp/saltychat/SaltyServer/SaltyServer.csproj: error : /_data/temp/saltychat/SaltyServer/SaltyServer.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the
Project "/_data/temp/saltychat/SaltyClient/SaltyClient.csproj" (default target(s)):
Target PrepareForBuild:
Configuration: Debug Platform: AnyCPU
Target ResolveAssemblyReferences:
/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'CitizenFX.Core.Client, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
Considered ../packages/CitizenFX.Core.Client.1.0.1883/lib/net45/CitizenFX.Core.Client.dll, but it does not exist.
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5/, assembly named 'CitizenFX.Core.Client' not found.
Considered target framework dir /usr/lib/mono/4.5//Facades/, assembly named 'CitizenFX.Core.Client' not found.
For searchpath {PkgConfig}
Considered CitizenFX.Core.Client, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL, but could not find in any pkg-config files.
For searchpath {GAC}
Considered CitizenFX.Core.Client, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'CitizenFX.Core.Client, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL' as a file, but the file does not exist
For searchpath bin/Debug/
Considered '/_data/temp/saltychat/SaltyClient/bin/Debug/CitizenFX.Core.Client' as a file, but the file does not exist
Considered '/_data/temp/saltychat/SaltyClient/bin/Debug/CitizenFX.Core.Client.exe' as a file, but the file does not exist
Considered '/_data/temp/saltychat/SaltyClient/bin/Debug/CitizenFX.Core.Client.dll' as a file, but the file does not exist
Target GenerateSatelliteAssemblies:
No input files were specified for target GenerateSatelliteAssemblies, skipping.
Target _GenerateTargetFrameworkMonikerAttribute:
Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
Target CoreCompile:
Tool /usr/lib/mono/4.5/mcs.exe execution started with arguments: /noconfig /debug:full /debug+ /optimize- /out:obj/Debug/SaltyClient.net.dll Model.cs NuiEvent.cs Properties/AssemblyInfo.cs Util.cs VoiceManager.cs /_data/temp/saltychat/SaltyShared/Configuration.cs /_data/temp/saltychat/SaltyShared/Event.cs /_data/temp/saltychat/SaltyShared/Model.cs obj/Debug/.NETFramework,Version=v4.5.2.AssemblyAttribute.cs /target:library /define:"DEBUG;TRACE" /nostdlib /reference:../Newtonsoft.Json.dll /reference:/usr/lib/mono/4.5/System.dll /reference:/usr/lib/mono/4.5/System.Xml.Linq.dll /reference:/usr/lib/mono/4.5/System.Data.DataSetExtensions.dll /reference:/usr/lib/mono/4.5/Microsoft.CSharp.dll /reference:/usr/lib/mono/4.5/System.Data.dll /reference:/usr/lib/mono/4.5/System.Net.Http.dll /reference:/usr/lib/mono/4.5/System.Xml.dll /reference:/usr/lib/mono/4.5/System.Core.dll /reference:/usr/lib/mono/4.5//mscorlib.dll /warn:4
Model.cs(156,29): error CS1525: Unexpected symbol ;', expecting
('
Util.cs(19,28): error CS1525: Unexpected symbol ;', expecting
('
VoiceManager.cs(189,45): error CS1644: Feature declaration expression' cannot be used because it is not part of the C# 6.0 language specification VoiceManager.cs(194,66): error CS1644: Feature
declaration expression' cannot be used because it is not part of the C# 6.0 language specification
VoiceManager.cs(204,45): error CS1644: Feature declaration expression' cannot be used because it is not part of the C# 6.0 language specification VoiceManager.cs(209,66): error CS1644: Feature
declaration expression' cannot be used because it is not part of the C# 6.0 language specification
VoiceManager.cs(219,45): error CS1644: Feature declaration expression' cannot be used because it is not part of the C# 6.0 language specification VoiceManager.cs(224,66): error CS1644: Feature
declaration expression' cannot be used because it is not part of the C# 6.0 language specification
VoiceManager.cs(238,45): error CS1644: Feature declaration expression' cannot be used because it is not part of the C# 6.0 language specification VoiceManager.cs(241,62): error CS1644: Feature
declaration expression' cannot be used because it is not part of the C# 6.0 language specification
VoiceManager.cs(271,45): error CS1644: Feature declaration expression' cannot be used because it is not part of the C# 6.0 language specification VoiceManager.cs(274,62): error CS1644: Feature
declaration expression' cannot be used because it is not part of the C# 6.0 language specification
VoiceManager.cs(322,45): error CS1644: Feature declaration expression' cannot be used because it is not part of the C# 6.0 language specification VoiceManager.cs(363,67): error CS1644: Feature
declaration expression' cannot be used because it is not part of the C# 6.0 language specification
VoiceManager.cs(440,45): error CS1644: Feature declaration expression' cannot be used because it is not part of the C# 6.0 language specification VoiceManager.cs(449,67): error CS1644: Feature
declaration expression' cannot be used because it is not part of the C# 6.0 language specification
VoiceManager.cs(555,61): error CS1644: Feature declaration expression' cannot be used because it is not part of the C# 6.0 language specification VoiceManager.cs(586,61): error CS1644: Feature
declaration expression' cannot be used because it is not part of the C# 6.0 language specification
VoiceManager.cs(595,61): error CS1644: Feature declaration expression' cannot be used because it is not part of the C# 6.0 language specification VoiceManager.cs(630,61): error CS1644: Feature
declaration expression' cannot be used because it is not part of the C# 6.0 language specification
Task "Csc" execution -- FAILED
Done building target "CoreCompile" in project "/_data/temp/saltychat/SaltyClient/SaltyClient.csproj".-- FAILED
Done building project "/_data/temp/saltychat/SaltyClient/SaltyClient.csproj".-- FAILED
Task "MSBuild" execution -- FAILED
Done building target "Build" in project "/_data/temp/saltychat/SaltyChat-FiveM.sln".-- FAILED
Done building project "/_data/temp/saltychat/SaltyChat-FiveM.sln".-- FAILED
Build FAILED.
Warnings:
/_data/temp/saltychat/SaltyChat-FiveM.sln: warning : /_data/temp/saltychat/SaltyServer/SaltyServer.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the
/_data/temp/saltychat/SaltyShared/SaltyShared.shproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/VisualStudio/v/CodeSharing/Microsoft.CodeSharing.Common.Default.props, to import. Ignoring.
/_data/temp/saltychat/SaltyShared/SaltyShared.shproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/VisualStudio/v/CodeSharing/Microsoft.CodeSharing.Common.props, to import. Ignoring.
/_data/temp/saltychat/SaltyShared/SaltyShared.shproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/VisualStudio/v/CodeSharing/Microsoft.CodeSharing.CSharp.targets, to import. Ignoring.
/_data/temp/saltychat/SaltyChat-FiveM.sln: warning : Don't know how to handle GlobalSection SharedMSBuildProjectFiles, Ignoring.
/_data/temp/saltychat/SaltyChat-FiveM.sln: warning : Don't know how to handle GlobalSection ExtensibilityGlobals, Ignoring.
/_data/temp/saltychat/SaltyChat-FiveM.sln (default targets) -> (Build target) -> /_data/temp/saltychat/SaltyClient/SaltyClient.csproj (default targets) -> /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets (ResolveAssemblyReferences target) ->
/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'CitizenFX.Core.Client, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL' not resolved
Errors:
/_data/temp/saltychat/SaltyChat-FiveM.sln (default targets) -> (Build target) ->
/_data/temp/saltychat/SaltyServer/SaltyServer.csproj: error : /_data/temp/saltychat/SaltyServer/SaltyServer.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.
/_data/temp/saltychat/SaltyChat-FiveM.sln (default targets) -> (Build target) -> /_data/temp/saltychat/SaltyClient/SaltyClient.csproj (default targets) -> /usr/lib/mono/xbuild/14.0/bin/Microsoft.CSharp.targets (CoreCompile target) ->
Model.cs(156,29): error CS1525: Unexpected symbol `;', expecting `('
Util.cs(19,28): error CS1525: Unexpected symbol `;', expecting `('
VoiceManager.cs(189,45): error CS1644: Feature `declaration expression' cannot be used because it is not part of the C# 6.0 language specification
VoiceManager.cs(194,66): error CS1644: Feature `declaration expression' cannot be used because it is not part of the C# 6.0 language specification
VoiceManager.cs(204,45): error CS1644: Feature `declaration expression' cannot be used because it is not part of the C# 6.0 language specification
VoiceManager.cs(209,66): error CS1644: Feature `declaration expression' cannot be used because it is not part of the C# 6.0 language specification
VoiceManager.cs(219,45): error CS1644: Feature `declaration expression' cannot be used because it is not part of the C# 6.0 language specification
VoiceManager.cs(224,66): error CS1644: Feature `declaration expression' cannot be used because it is not part of the C# 6.0 language specification
VoiceManager.cs(238,45): error CS1644: Feature `declaration expression' cannot be used because it is not part of the C# 6.0 language specification
VoiceManager.cs(241,62): error CS1644: Feature `declaration expression' cannot be used because it is not part of the C# 6.0 language specification
VoiceManager.cs(271,45): error CS1644: Feature `declaration expression' cannot be used because it is not part of the C# 6.0 language specification
VoiceManager.cs(274,62): error CS1644: Feature `declaration expression' cannot be used because it is not part of the C# 6.0 language specification
VoiceManager.cs(322,45): error CS1644: Feature `declaration expression' cannot be used because it is not part of the C# 6.0 language specification
VoiceManager.cs(363,67): error CS1644: Feature `declaration expression' cannot be used because it is not part of the C# 6.0 language specification
VoiceManager.cs(440,45): error CS1644: Feature `declaration expression' cannot be used because it is not part of the C# 6.0 language specification
VoiceManager.cs(449,67): error CS1644: Feature `declaration expression' cannot be used because it is not part of the C# 6.0 language specification
VoiceManager.cs(555,61): error CS1644: Feature `declaration expression' cannot be used because it is not part of the C# 6.0 language specification
VoiceManager.cs(586,61): error CS1644: Feature `declaration expression' cannot be used because it is not part of the C# 6.0 language specification
VoiceManager.cs(595,61): error CS1644: Feature `declaration expression' cannot be used because it is not part of the C# 6.0 language specification
VoiceManager.cs(630,61): error CS1644: Feature `declaration expression' cannot be used because it is not part of the C# 6.0 language specification
7 Warning(s)
21 Error(s)
Time Elapsed 00:00:00.4077690 `
How do you even try to build the project? Why are there unix and mono paths? Follow this "guide": https://github.com/saltminede/saltychat-docs/blob/master/installing-vs.md#installing-visual-studio
How to compile saltychat for linux servers?
I am using ubuntu 18.04 for Teamspeak and gtafivem server.
thx