kwsch / pkNX

Pokémon (Nintendo Switch) ROM Editor & Randomizer
https://projectpokemon.org/home/forums/topic/48647-pknx-nintendo-switch-rom-editor-randomizer/
GNU General Public License v3.0
352 stars 108 forks source link

Can't build the project #53

Closed Acelya-9028 closed 4 years ago

Acelya-9028 commented 4 years ago

When I try to build the project, it failed with these logs.

PS C:\Projects\pkNX> nuget restore pkNX.sln
MSBuild auto-detection: using msbuild version '4.0' from 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319'.
Restoring NuGet package Costura.Fody.4.1.0.
Restoring NuGet package Fody.6.0.5.
Restoring NuGet package Newtonsoft.Json.12.0.3.
Adding package 'Newtonsoft.Json.12.0.3' to folder 'C:\Projects\pkNX\packages'
  GET https://api.nuget.org/v3-flatcontainer/costura.fody/4.1.0/costura.fody.4.1.0.nupkg
  GET https://api.nuget.org/v3-flatcontainer/fody/6.0.5/fody.6.0.5.nupkg
  OK https://api.nuget.org/v3-flatcontainer/fody/6.0.5/fody.6.0.5.nupkg 233ms
Installing Fody 6.0.5.
  OK https://api.nuget.org/v3-flatcontainer/costura.fody/4.1.0/costura.fody.4.1.0.nupkg 252ms
Installing Costura.Fody 4.1.0.
Added package 'Newtonsoft.Json.12.0.3' to folder 'C:\Projects\pkNX\packages'
Adding package 'Costura.Fody.4.1.0' to folder 'C:\Projects\pkNX\packages'
Added package 'Costura.Fody.4.1.0' to folder 'C:\Projects\pkNX\packages'
Adding package 'Fody.6.0.5' to folder 'C:\Projects\pkNX\packages'
Added package 'Fody.6.0.5' to folder 'C:\Projects\pkNX\packages'

NuGet Config files used:
    C:\Users\K2-18b\AppData\Roaming\NuGet\NuGet.Config

Feeds used:
    C:\Users\K2-18b\.nuget\packages\
    https://api.nuget.org/v3/index.json

Installed:
    3 package(s) to packages.config projects

PS C:\Projects\pkNX> dotnet build -c Release .\pkNX.sln
Microsoft (R) Build Engine version 16.4.0+e901037fe pour .NET Core
Copyright (C) Microsoft Corporation. Tous droits réservés.

  Restauration effectuée dans 36,54 ms pour C:\Projects\pkNX\pkNX.Structures\pkNX.Structures.csproj.
  Restauration effectuée dans 36,54 ms pour C:\Projects\pkNX\pkNX.Containers\pkNX.Containers.csproj.
  Restauration effectuée dans 37,09 ms pour C:\Projects\pkNX\pkNX.Tests\pkNX.Tests.csproj.
  Restauration effectuée dans 36,54 ms pour C:\Projects\pkNX\pkNX.Randomization\pkNX.Randomization.csproj.
  Restauration effectuée dans 36,54 ms pour C:\Projects\pkNX\pkNX.Game\pkNX.Game.csproj.
  pkNX.Containers -> C:\Projects\pkNX\pkNX.Containers\bin\Release\net46\pkNX.Containers.dll
  pkNX.Structures -> C:\Projects\pkNX\pkNX.Structures\bin\Release\net46\pkNX.Structures.dll
  pkNX.Containers -> C:\Projects\pkNX\pkNX.Containers\bin\Release\netstandard2.0\pkNX.Containers.dll
  pkNX.Structures -> C:\Projects\pkNX\pkNX.Structures\bin\Release\netstandard2.0\pkNX.Structures.dll
  pkNX.Randomization -> C:\Projects\pkNX\pkNX.Randomization\bin\Release\net46\pkNX.Randomization.dll
  pkNX.Randomization -> C:\Projects\pkNX\pkNX.Randomization\bin\Release\netstandard2.0\pkNX.Randomization.dll
  pkNX.Game -> C:\Projects\pkNX\pkNX.Game\bin\Release\net46\pkNX.Game.dll
C:\Program Files\dotnet\sdk\3.1.100\Microsoft.Common.CurrentVersion.targets(3056,5): error : MSB3823: les ressources qui ne sont pas des chaînes nécessitent la propriété GenerateResourceUsePreserializedResources avec la valeur true. [C:\Projects\pkNX\pkNX.Sprites\pkNX.Sprites.csproj]
C:\Program Files\dotnet\sdk\3.1.100\Microsoft.Common.CurrentVersion.targets(3056,5): error : MSB3822: les ressources qui ne sont pas des chaînes nécessitent l'assembly System.Resources.Extensions au moment de l'exécution, mais il est introuvable
dans les références de ce projet. [C:\Projects\pkNX\pkNX.Sprites\pkNX.Sprites.csproj]

ÉCHEC de la build.

C:\Program Files\dotnet\sdk\3.1.100\Microsoft.Common.CurrentVersion.targets(3056,5): error : MSB3823: les ressources qui ne sont pas des chaînes nécessitent la propriété GenerateResourceUsePreserializedResources avec la valeur true. [C:\Projects\pkNX\pkNX.Sprites\pkNX.Sprites.csproj]
C:\Program Files\dotnet\sdk\3.1.100\Microsoft.Common.CurrentVersion.targets(3056,5): error : MSB3822: les ressources qui ne sont pas des chaînes nécessitent l'assembly System.Resources.Extensions au moment de l'exécution, mais il est introuvable
dans les références de ce projet. [C:\Projects\pkNX\pkNX.Sprites\pkNX.Sprites.csproj]
    0 Avertissement(s)
    2 Erreur(s)

Temps écoulé 00:00:01.76

https://dev.azure.com/project-pokemon/pkNX/_build?view=runs is broken, the loading animation is infinite with Firefox/Chromium, so it's not possible to access to the detail of a run or download any artifact.

kwsch commented 4 years ago

The GUI projects for pkNX do not support .NET Core at this time. Any projects that use pkNX.Sprites/pkNX.WinForms won't be able to be built unless you are building for .NET Framework.

I am aware about the azure pipelines issue; haven't figured it out. It was set up exactly the same as pk3DS, and can be accessed just fine with my login -- logged out, can't see the builds.

Acelya-9028 commented 4 years ago

Thank you, compiled without any problems with VS.