Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Overriding Remote Repository in Premake5 script running

$
0
0

I have a C++ project on Visual Studio 2022 that when trying to setup, I'm unable of running the premake5 script with vs2022 parameter on cmd.

I have a custom package that resides in my local system.when Running the premake5, it searches for the remote packages in https://api.nuget.org/v3/index.json and it's failing because my package does not exist there.Therefore, I'm asking what the is way/syntax to override in premake5.lua the remote repository or to make the script to search for packages in my local system also for example ( C:/NuGetPackages ) .

C:\Users>./premake5.exe vs2022Found Sysroot of /Building configurations...Running action 'vs2022'...Examining NuGet package source 'https://api.nuget.org/v3/index.json'...Examining NuGet package 'Project.Custom'...Error: ** Error: NuGet package 'Project.Custom' for project 'Project' couldn't be found in the repository

Tried to search the documentation of premake, didn't find how to get that.What i'm looking for is to make the script also search for packages in my custom directory (locally)


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>