Open jkears opened 2 years ago
@jkears In the "Add Private Nuget source" step, as the source is private, you might have to provide some credentials as well to successfully add the source using dotnet nuget add source
command?
Here's an example for source that needs authentication https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-nuget-add-source#examples
Please check if it helps.
We have deployed a Blazor WASM project into Azure Static Apps and the WASM project references several packages in our private Nuget.
When running the GitHub action as generated by Azure Static Web Apps, we get an error at the Build and Deploy step when restoring the Blazor WASM project as it is unable to find the package(s) that is/are in the private nuget service.
/github/workspace/NextWare.Portal.Wasm/NextWare.Portal.Wasm.csproj : error NU1101: Unable to find package NextWare.CoreServices.Meta.SharedModels. No packages exist with this id in source(s): nuget.org
We have Nuget.Config within the WASM project folder as well as the root folder for the solution.
Here is our workflow as generated by Azure Static Web Apps...