You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,6 +100,17 @@ To add a package to a project:
100
100
101
101
Permissive-OSS licenses only — MIT preferred, Apache-2.0 acceptable.
102
102
103
+
### Local package troubleshooting
104
+
105
+
If local testing behaves differently from the published NuGet package, check whether a stale local package source or cache is overriding the real package.
106
+
107
+
- Clear caches with `dotnet nuget locals all --clear`
108
+
- Remove stale package folders such as `%USERPROFILE%\.nuget\packages\diagramforge\1.0.0`
109
+
- Be careful with local sources like `artifacts/nupkg`, `--add-source`, or custom `NuGet.Config` entries
110
+
- If needed, validate the published package explicitly by running `dotnet restore -p:RestoreSources=https://api.nuget.org/v3/index.json -p:RestorePackagesPath=./artifacts/isolated-packages` (or a similar isolated folder)
111
+
112
+
Matching package ID and version do not guarantee matching bits. When diagnosing package issues, compare package or DLL hashes before assuming the published package is wrong.
0 commit comments