REM Force update NuGet package
Update-Package -reinstall [PackageName] [-Project ProjectName]
- If Code Analysis enabled (FxCop.exe based analyzers), after project moved, change location of following directly in
.csproj
.- Rule Set
- Code Analysis Dictionary
- Change paths of
.editorconfig
, if any. - Change paths of
<Reference>
libraries.- Your solution projects paths.
- NuGet packages paths.
\net40\
.- NuGet framework
Update-Package -reinstall -projectname <projectname>
.