Xian55/WowClassicGrindBot

I cant build from Powershell

Closed this issue · 3 comments

Description

C:\Program Files\dotnet\sdk\7.0.109\Current\SolutionFile\ImportAfter\Microsoft.NET.Sdk.Solution.targets(27,5): error NE
TSDK1134: сборка решения с заданным идентификатором RuntimeIdentifier не поддерживается. Если вы хотите выполнить публикацию для одного RID, укажите RID на уровне отдельного проекта. [C:\WowClassicGrindBot\MasterOfPuppets.sln]

Addon Version

latest

World of Warcraft Client

Wrath of the Lich King Classic

Reproduction Steps

  1. Unpacking to directory C:\WowClassicGrindBot
  2. Im trying build with dotnet-sdk-7.0.100-win-x64 dotnet-sdk-7.0.109-win-x64 dotnet-sdk-7.0.306-win-x64 dotnet-sdk-7.0.306-win-x86
  3. Using windows 11 pro latest update
  4. Always got error:
    C:\Program Files\dotnet\sdk\7.0.109\Current\SolutionFile\ImportAfter\Microsoft.NET.Sdk.Solution.targets(27,5): error NE
    TSDK1134: сборка решения с заданным идентификатором RuntimeIdentifier не поддерживается. Если вы хотите выполнить публикацию для одного RID, укажите RID на уровне отдельного проекта. [C:\WowClassicGrindBot\MasterOfPuppets.sln]

Ошибка сборки.

C:\Program Files\dotnet\sdk\7.0.109\Current\SolutionFile\ImportAfter\Microsoft.NET.Sdk.Solution.targets(27,5): error NE
TSDK1134: сборка решения с заданным идентификатором RuntimeIdentifier не поддерживается. Если вы хотите выполнить публикацию для одного RID, укажите RID на уровне отдельного проекта. [C:\WowClassicGrindBot\MasterOfPuppets.sln]
Предупреждений: 0
Ошибок: 1

Last Good Version

No response

Screenshots

No response

Logs

No response

Xian55 commented

Hello thanks for letting me know.

I assume you've tried to build with the mentioned cli command.

For me, it fails as well. At the time - probably it was dotnet 6 - when i made docs about the build process it worked.

Try with the following command instead.

dotnet build -c Release /p:Platform=x64

or

dotnet build -c Release /p:Platform=x86

Sorry for the inconveniences

Hello thanks for letting me know.

I assume you've tried to build with the mentioned cli command.

For me, it fails as well. At the time - probably it was dotnet 6 - when i made docs about the build process it worked.

Try with the following command instead.

dotnet build -c Release /p:Platform=x64

or

dotnet build -c Release /p:Platform=x86

Sorry for the inconveniences

tnx, its working!

Xian55 commented

fixed with fa19920