CustomJSONData icon indicating copy to clipboard operation
CustomJSONData copied to clipboard

Local build issues

Open JonnyVR1 opened this issue 1 year ago • 2 comments

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 avatar Jul 07 '24 10:07 JonnyVR1

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...

JonnyVR1 avatar Jul 15 '24 03:07 JonnyVR1

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.

Meivyn avatar Jul 15 '24 03:07 Meivyn