I am really new to Nopcommerce. I have an existing plugin [A slider widget for homepage]. I was trying to add the Nop.Plugin.Widget.PromoSlider.csproj file in the Plugins directory from Visual Studio 17 but got the following error:
The imported project "S(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" was not found. Also, tried to find "S(VSToolsPath)\WebApplications\Mlicrosoft.WebApplication.targets" in the fallback search path(s) for $(VSToolsPath) - "C:\Program Files(x86)\MSBuild\Microsoft\VisualStudio\v15.0" These search paths are defined in "C:\Users***\AppData\Local\ Microsoft\VisualStudio\15.0_f96fcd52\devenv.exe.config". Confirm that the path in the declaration is correct, and that the file exists on disk in one of the search paths. C:\Users****\Deskctop\ Nop.Plugin.Widget.PromoSlider\Nop.Plugin.Widget.PromoSlider.csproj
Can anyone help me fix this error?
I guess you are trying to add a visual studio 2015 project in visual studio 2017. There is a ongoing investigation on this issue. But there is a workaround on this as well. Please check here for more details.
One work around is changing the following line (editing
Nop.Plugin.Widget.PromoSlider.csproj
)to
Give it a try