I am building a plugin from scratch for version 4.20, I can install it no problem however I get an
Error that breaks the entire website after installing the new plugin..
An error occurred while starting the application.
.NET Core 4.6.27617.05 X64 v4.0.0.0 | Microsoft.AspNetCore.Hosting version 2.2.0-rtm-35687 | Microsoft Windows 10.0.17134 | Need help?
and the only clue I have is below. It started out as an error, I googled it, cleaned the solution, restarted and it changed to a warning!
1>Target "PostBuildEvent" skipped, due to false condition; ('$(PostBuildEvent)' != '' and ('$(RunPostBuildEvent)' != 'OnOutputUpdated' or '$(_AssemblyTimestampBeforeCompile)' != '$(_AssemblyTimestampAfterCompile)')) was evaluated as ('' != '' and ('' != 'OnOutputUpdated' or '' != '')).
1>Target "GenerateBuildDependencyFile" skipped. Previously built successfully.
1>Target "GenerateBuildRuntimeConfigurationFiles" skipped, due to false condition; ( '$(GenerateRuntimeConfigurationFiles)' == 'true') was evaluated as ( '' == 'true').
1>Target CoreBuild:
1>Target AfterBuild:
1>Target Build:
1>Target NopTarget:
1> Task "MSBuild"
1> Global Properties:
1> PluginPath=C:\Users\Jonathon.JON-HOPLEY-NET\Documents\UPGRADE\4201\Plugins\Nop.Plugin.Misc.MegaMenu\C:\Users\Jonathon.JON-HOPLEY-NET\Documents\UPGRADE\42001\Plugins\Misc.MegaMenu\
1> Building with tools version "15.0".
1> Target NopClear:
1> Using "Exec" task from assembly "Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
1> Task "Exec"
1> dotnet "ClearPluginAssemblies.dll" "OutputPath=C:\Users\Jonathon.JON-HOPLEY-NET\Documents\UPGRADE\4201\Build\..\Presentation\Nop.Web\bin\Debug\netcoreapp2.2\|PluginPath=C:\Users\Jonathon.JON-HOPLEY-NET\Documents\UPGRADE\4201\Plugins\Nop.Plugin.Misc.MegaMenu\C:\Users\Jonathon.JON-HOPLEY-NET\Documents\UPGRADE\42001\Plugins\Misc.MegaMenu\|SaveLocalesFolders="
1> Done executing task "Exec".
1>
1> Done building project "ClearPluginAssemblies.proj".
1> Done executing task "MSBuild".
1>Target "_PackAsBuildAfterTarget" skipped, due to false condition; ('$(GeneratePackageOnBuild)' == 'true' AND '$(IsInnerBuild)' != 'true') was evaluated as ('false' == 'true' AND '' != 'true').
1>Target AfterRebuild:
1>Target "_CheckForInvalidConfigurationAndPlatform" skipped. Previously built successfully.
1>Target Rebuild:
1>
1>Done building project "Nop.Plugin.Misc.MegaMenu.csproj".
1>
1>Build succeeded.
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(2110,5): warning MSB3277: Found conflicts between different versions of "System.Diagnostics.DiagnosticSource" that could not be resolved. These reference conflicts are listed in the build log when log verbosity is set to detailed.
1> 1 Warning(s)
1> 0 Error(s)
1>
1>Time Elapsed 00:00:03.12
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========