Upgrading from 4.1 to 4.2 - Run Error Message

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 года назад
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 ==========
4 года назад
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/
4 года назад
Hello.

I'm getting this error when im using continuous integration on azure.
The repo does not have any .vs, bin, obj folders.
Im unable to find any issues, and ive tried building, restoring everything locally without any problems.
2 года назад
On Azure DevOps there is an Clean option on the Get Source tab, which could perform different kinds of cleaning of the working directory of your private agent before the build is run.



ref: https://stackoverflow.com/a/62690662/878461
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.