Hello everyone, I hope that when you are reading this post, you are doing it live from VISUG XL 2024 where I'm giving a presentation about Azure Static Web Apps. During this presentation I show(ed) a lot of the great features that Azure Static Web Apps has to offer. In case you have missed the presentation or you want to get more details, I can recommend to check out the full blog series that I created about Azure Static Web Apps: Part I - Using the VS Code Extension Part II - Using the Astro Static Site Generator Part III – Deploying to multiple environments Part IV – Password protect your environments Part V – Traffic splitting Part VI – Authentication using pre-configured providers Part VII – Application configuration using staticwebapp.config.json Part VIII – API Configuration Part IX – Injecting snippets Part X – Custom authentication Part XI – Authorization Part XII - Assign roles through an Azure function Part XIII -
Today a colleague contacted me because she got an error when trying to build a specific solution inside Visual Studio. The compilation process failed on contacting the internal Azure DevOps Artifacts nuget feed. Instead she got the following error message: NU1301 Unable to load the service index for source I tried to load and build the same project but I couldn’t reproduce the issue. There are multiple reasons why this error message appears. I suggested here to try any of the following: Restart Visual Studio: always a good one to try first Run dotnet restore in Interactive Mode : Run the dotnet restore command in interactive mode can help resolve the issue. Clear NuGet Cache : Sometimes, clearing the NuGet cache can help. You can do this by running the following command in the terminal: nuget locals all -clear Neither of my suggestions seemed to help. In the end she was able to solve the issue by removing the local nuget.config file. As she had the package