Aeroluna / CustomJSONData

Beat Saber plugin library to allow adding arbitrary data to beatmap JSONs
MIT License
34 stars 10 forks source link

Local build issues #18

Closed JonnyVR1 closed 1 week ago

JonnyVR1 commented 2 months ago

0>------- Started building project: CustomJSONData 0>Microsoft.NET.RuntimeIdentifierInference.targets(311,5): Message NETSDK1057 : You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy 0>CustomJSONData.csproj: Error NU1101 : Unable to find package BeatSaberModdingTools.Tasks.Luna. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org 0>CustomJSONData.csproj: Error NU1101 : Unable to find package LunaBSMod.Tasks. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org 0>------- Finished building project: CustomJSONData. Succeeded: False. Errors: 2. Warnings: 0

Even adding hintpaths to a local copy of LunaTasks doesn't solve this

<PackageReference Include="LunaBSMod.Tasks" Version="1.0.0" HintPath="$(LunaTaskDir)" />
<LunaTaskDir>C:\Users\[Redacted]\RiderProjects\LunaBSMod.Tasks</LunaTaskDir>
JonnyVR1 commented 1 month ago

Your "solution" to this by creating a custom GitHub nuget does not allow other users to login, even when authenticated via github @Aeroluna

Edit: btw that also violates the beatmods standards that anyone should be able to build the mod...

Meivyn commented 1 month ago

You need to log in with a GitHub token, not your password. This doesn't violate any guidelines. See https://docs.github.com/en/packages/learn-github-packages/introduction-to-github-packages#authenticating-to-github-packages for details.