Upgrading from 4.1 to 4.2 - Run Error Message

3 weeks ago
I'm upgrading our current project using source code, from 4.1 to 4.2. I ran the update scripts, deleted the files and backed up dataSettings.json and installedPlugins.json. When starting Presentation\Nop.web on IIS Express in Chrome, I'm getting the following error.

1>Nop.Web -> C:\Users\kfoubert\Source\Repos\burkhart-nopcommerce\Presentation\Nop.Web\bin\Debug\netcoreapp2.2\Nop.Web.dll
1>'SaveLocalesFolders' is not recognized as an internal or external command,
1>operable program or batch file.
1>C:\Users\kfoubert\Source\Repos\burkhart-nopcommerce\Build\ClearPluginAssemblies.proj(21,5): error MSB3073: The command "dotnet "ClearPluginAssemblies.dll" "OutputPath=C:\Users\kfoubert\Source\Repos\burkhart-nopcommerce\Build\..\Presentation\Nop.Web\bin\Debug\netcoreapp2...|SaveLocalesFolders="" exited with code 255.
1>Done building project "ClearPluginAssemblies.proj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 4 up-to-date, 0 skipped ==========
2 weeks ago
Solved this problem by deleting all the source including the .vs hidden folder. I also deleted the temp files associated with VS 2019. That seemed to fix it. I'm re-adding all our themes, plugins, and custom plugins and hopefully successfully commit it to our git repo.

These links helped solved the problem.

https://www.nopcommerce.com/boards/topic/72937/help-systemexception-a-plugin-with-sevenspikesnoppluginscategoriesheadermenu-system-name-is-already-

https://www.matteopozzani.com/visual-studio-cache-cleanup/