Tiago Augusto

Initiate
Hello there!

I just clone de git repository, instaled de .NET 5.0 and try to run de "Compile.WIN - Debug.bat", but got this error. Can anyone help me?

D:\projetos\kaltar_uo\kaltar\ServUO>dotnet build -c Debug
Microsoft(R) Build Engine versão 16.9.0+57a23d249 para .NET
Copyright (C) Microsoft Corporation. Todos os direitos reservados.

Determinando os projetos a serem restaurados...
D:\projetos\kaltar_uo\kaltar\ServUO\Server\Server.csproj : error NU1100: Não foi possível resolver 'System.Drawing.Common (>= 4.7.0)' para '.NETFramework,Version=v4.8'. [D:\projetos\kaltar_uo\kaltar\ServUO\ServUO.sln]
D:\projetos\kaltar_uo\kaltar\ServUO\Scripts\Scripts.csproj : error NU1100: Não foi possível resolver 'Microsoft.NETFramework.ReferenceAssemblies (>= 1.0.0)' para '.NETFramework,Version=v4.8'. [D:\projetos\kaltar_uo\kaltar\ServUO\ServUO.sln]
D:\projetos\kaltar_uo\kaltar\ServUO\Server\Server.csproj : error NU1100: Não foi possível resolver 'Microsoft.NETFramework.ReferenceAssemblies (>= 1.0.0)' para '.NETFramework,Version=v4.8'. [D:\projetos\kaltar_uo\kaltar\ServUO\ServUO.sln]
D:\projetos\kaltar_uo\kaltar\ServUO\Scripts\Scripts.csproj : error NU1100: Não foi possível resolver 'System.Drawing.Common (>= 4.7.0)' para '.NETFramework,Version=v4.8'. [D:\projetos\kaltar_uo\kaltar\ServUO\ServUO.sln]
D:\projetos\kaltar_uo\kaltar\ServUO\Application\ServUO.csproj : error NU1100: Não foi possível resolver 'Microsoft.NETFramework.ReferenceAssemblies (>= 1.0.0)' para '.NETFramework,Version=v4.8'. [D:\projetos\kaltar_uo\kaltar\ServUO\ServUO.sln]
D:\projetos\kaltar_uo\kaltar\ServUO\Application\ServUO.csproj : error NU1100: Não foi possível resolver 'System.Drawing.Common (>= 4.7.0)' para '.NETFramework,Version=v4.8'. [D:\projetos\kaltar_uo\kaltar\ServUO\ServUO.sln]
D:\projetos\kaltar_uo\kaltar\ServUO\Application\ServUO.csproj : error NU1100: Não foi possível resolver 'Microsoft.NETFramework.ReferenceAssemblies (>= 1.0.0)' para '.NETFramework,Version=v4.8/win7-x86'. [D:\projetos\kaltar_uo\kaltar\ServUO\ServUO.sln]
D:\projetos\kaltar_uo\kaltar\ServUO\Application\ServUO.csproj : error NU1100: Não foi possível resolver 'System.Drawing.Common (>= 4.7.0)' para '.NETFramework,Version=v4.8/win7-x86'. [D:\projetos\kaltar_uo\kaltar\ServUO\ServUO.sln]
Falha ao restaurar D:\projetos\kaltar_uo\kaltar\ServUO\Application\ServUO.csproj (em 82 ms).
Falha ao restaurar D:\projetos\kaltar_uo\kaltar\ServUO\Server\Server.csproj (em 82 ms).
Falha ao restaurar D:\projetos\kaltar_uo\kaltar\ServUO\Scripts\Scripts.csproj (em 82 ms).
 
Same problem. I have NET 5 installed and I'm trying to run Compile.WIN - Debug.bat


C:\Ultima\ServUO-master>dotnet build -c Debug
Microsoft (R) Build Engine version 16.11.1+3e40a09f8 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

Determining projects to restore...
C:\Ultima\ServUO-master\Scripts\Scripts.csproj : error NU1100: Unable to resolve 'System.Drawing.Common (>= 4.7.0)' for '.NETFramework,Version=v4.8'. [C:\Ultima\ServUO-master\ServUO.sln]
C:\Ultima\ServUO-master\Application\ServUO.csproj : error NU1100: Unable to resolve 'System.Drawing.Common (>= 4.7.0)' for '.NETFramework,Version=v4.8'. [C:\Ultima\ServUO-master\ServUO.sln]
C:\Ultima\ServUO-master\Application\ServUO.csproj : error NU1100: Unable to resolve 'System.Drawing.Common (>= 4.7.0)' for '.NETFramework,Version=v4.8/win7-x86'. [C:\Ultima\ServUO-master\ServUO.sln]
C:\Ultima\ServUO-master\Server\Server.csproj : error NU1100: Unable to resolve 'System.Drawing.Common (>= 4.7.0)' for '.NETFramework,Version=v4.8'. [C:\Ultima\ServUO-master\ServUO.sln]
C:\Ultima\ServUO-master\Server\Server.csproj : error NU1100: Unable to resolve 'Microsoft.NETFramework.ReferenceAssemblies (>= 1.0.0)' for '.NETFramework,Version=v4.8'. [C:\Ultima\ServUO-master\ServUO.sln]
Failed to restore C:\Ultima\ServUO-master\Application\ServUO.csproj (in 68 ms).
Failed to restore C:\Ultima\ServUO-master\Scripts\Scripts.csproj (in 68 ms).
Failed to restore C:\Ultima\ServUO-master\Server\Server.csproj (in 68 ms).

Build FAILED.

C:\Ultima\ServUO-master\Scripts\Scripts.csproj : error NU1100: Unable to resolve 'System.Drawing.Common (>= 4.7.0)' for '.NETFramework,Version=v4.8'. [C:\Ultima\ServUO-master\ServUO.sln]
C:\Ultima\ServUO-master\Application\ServUO.csproj : error NU1100: Unable to resolve 'System.Drawing.Common (>= 4.7.0)' for '.NETFramework,Version=v4.8'. [C:\Ultima\ServUO-master\ServUO.sln]
C:\Ultima\ServUO-master\Application\ServUO.csproj : error NU1100: Unable to resolve 'System.Drawing.Common (>= 4.7.0)' for '.NETFramework,Version=v4.8/win7-x86'. [C:\Ultima\ServUO-master\ServUO.sln]
C:\Ultima\ServUO-master\Server\Server.csproj : error NU1100: Unable to resolve 'System.Drawing.Common (>= 4.7.0)' for '.NETFramework,Version=v4.8'. [C:\Ultima\ServUO-master\ServUO.sln]
C:\Ultima\ServUO-master\Server\Server.csproj : error NU1100: Unable to resolve 'Microsoft.NETFramework.ReferenceAssemblies (>= 1.0.0)' for '.NETFramework,Version=v4.8'. [C:\Ultima\ServUO-master\ServUO.sln]
0 Warning(s)
5 Error(s)

Time Elapsed 00:00:00.88

Done!
 
I tried to install .NET 4.8 but unfortunately didn't get it working. The 'dotnet' command keeps returning 'is not recognized as an internal or external' message even though I added it as an environment variable and uninstalled whole .NET framework couple of times. Annoying.

Any other tips? I'm trying to run it on Windows 10.
 

Active Shards

Donations

Total amount
$0.00
Goal
$500.00
Back