chore: fix nuget package resolution for local windows builds
- Add NuGet.Config with explicit globalPackagesFolder using %USERPROFILE% to prevent Docker-generated obj/ files (with /root/.nuget/packages/) from breaking Rider/local dotnet builds - Restore Microsoft.AspNetCore.OpenApi to Directory.Packages.props (was accidentally removed; required by Web project) Ref: IT-628 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<config>
|
||||
<add key="globalPackagesFolder" value="%USERPROFILE%\.nuget\packages" />
|
||||
</config>
|
||||
<packageSources>
|
||||
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
|
||||
</packageSources>
|
||||
</configuration>
|
||||
Reference in New Issue
Block a user