Misterblue / convoar

Command line application for converting OpenSimulator OAR files into various other formats
Apache License 2.0
18 stars 6 forks source link

error build in ubuntu 20 #8

Closed johnfelipe closed 2 years ago

johnfelipe commented 2 years ago
sudo apt install gnupg ca-certificates
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update

then

sudo apt install mono-roslyn mono-complete mono-dbg msbuild

and felipe@felipe:~/convoar$ msbuild Microsoft (R) Build Engine version 16.6.0 for Mono Copyright (C) Microsoft Corporation. All rights reserved.

Building the projects in this solution one at a time. To enable parallel build, please add the "-m" switch.
Build started 5/20/2022 11:32:17 PM.
Project "/home/felipe/convoar/convoar.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
  Building solution configuration "Debug|Any CPU".
Project "/home/felipe/convoar/convoar.sln" (1) is building "/home/felipe/convoar/convoar/convoar.csproj" (2) on node 1 (default targets).
PrepareForBuild:
  Creating directory "obj/Debug/".
Project "/home/felipe/convoar/convoar/convoar.csproj" (2) is building "/home/felipe/convoar/addon-modules/HerbalCommonEntitiesCS/CommonEntitiesConv/Herbal3d.CommonEntitiesConv.csproj" (3:2) on node 1 (default targets).
PrepareForBuild:
  Creating directory "obj/Debug/".
Project "/home/felipe/convoar/addon-modules/HerbalCommonEntitiesCS/CommonEntitiesConv/Herbal3d.CommonEntitiesConv.csproj" (3:2) is building "/home/felipe/convoar/addon-modules/HerbalCommonUtilCS/Herbal3d.CommonUtil.csproj" (5:3) on node 1 (default targets).
PrepareForBuild:
  Creating directory "obj/Debug/".
/usr/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(2101,5): error MSB3248: Parameter "AssemblyFiles" has invalid value "/usr/lib/mono/4.8-api/mscorlib.dll". Could not load file or assembly 'System.Reflection.Metadata, Version=1.4.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. [/home/felipe/convoar/addon-modules/HerbalCommonUtilCS/Herbal3d.CommonUtil.csproj]
Done Building Project "/home/felipe/convoar/addon-modules/HerbalCommonUtilCS/Herbal3d.CommonUtil.csproj" (default targets) -- FAILED.
Project "/home/felipe/convoar/addon-modules/HerbalCommonEntitiesCS/CommonEntitiesConv/Herbal3d.CommonEntitiesConv.csproj" (3:2) is building "/home/felipe/convoar/addon-modules/HerbalCommonEntitiesCS/CommonEntities/Herbal3d.CommonEntities.csproj" (4:3) on node 1 (default targets).
PrepareForBuild:
  Creating directory "obj/Debug/".
Done Building Project "/home/felipe/convoar/addon-modules/HerbalCommonEntitiesCS/CommonEntities/Herbal3d.CommonEntities.csproj" (default targets) -- FAILED.
Done Building Project "/home/felipe/convoar/addon-modules/HerbalCommonEntitiesCS/CommonEntitiesConv/Herbal3d.CommonEntitiesConv.csproj" (default targets) -- FAILED.
Done Building Project "/home/felipe/convoar/convoar/convoar.csproj" (default targets) -- FAILED.
Done Building Project "/home/felipe/convoar/convoar.sln" (default targets) -- FAILED.

Build FAILED.

"/home/felipe/convoar/convoar.sln" (default target) (1) ->
"/home/felipe/convoar/convoar/convoar.csproj" (default target) (2) ->
"/home/felipe/convoar/addon-modules/HerbalCommonEntitiesCS/CommonEntitiesConv/Herbal3d.CommonEntitiesConv.csproj" (default target) (3:2) ->
"/home/felipe/convoar/addon-modules/HerbalCommonUtilCS/Herbal3d.CommonUtil.csproj" (default target) (5:3) ->
(ResolveAssemblyReferences target) ->
  /usr/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(2101,5): error MSB3248: Parameter "AssemblyFiles" has invalid value "/usr/lib/mono/4.8-api/mscorlib.dll". Could not load file or assembly 'System.Reflection.Metadata, Version=1.4.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. [/home/felipe/convoar/addon-modules/HerbalCommonUtilCS/Herbal3d.CommonUtil.csproj]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:03.10

how solved?

johnfelipe commented 2 years ago

solved