Close

Profile: leslysab

Avatar

User posts

firthy wrote:
Using 3.0 when i go to settings for the plugin.

http://localhost/admin/CategoriesHeaderMenuAdmin/Settings

I get the following error:

[PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.]
   System.IO.PathHelper.GetFullPathName() +10663326
   System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength) +900
   System.IO.Path.GetFullPathInternal(String path) +46
   System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath) ....

Also when i try to deploy the project using the batch file i get:

Build FAILED.

       "C:\Users\Tangent\Documents\Visual Studio 2008\WebSites\selectalsico\nopCommerce_3.00_Source\build\nop.proj" (default target) (1) ->
       "C:\Users\Tangent\Documents\Visual Studio 2008\WebSites\selectalsico\nopCommerce_3.00_Source\NopCommerce.sln" (default target) (2) ->
       "C:\Users\Tangent\Documents\Visual Studio 2008\WebSites\selectalsico\nopCommerce_3.00_Source\Tests\Nop.Web.MVC.Tests\Nop.Web.MVC.Tests.csproj" (default target) (16) ->
       (_CopyOutOfDateSourceItemsToOutputDirectoryAlways target) ->
         C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(3686,5): error MSB3021: Unable to copy file "C:\Users\Tangent\Documents\Visual Studio 2008\WebSites\selectalsico\nopCommerce_3.00_Source\Presentation\Nop.Web\Plugins\SevenSpikes.Nop.Plugins.CategoriesHeaderMenu\Views\CategoriesHeaderMenu\CategoriesHeaderMenu.cshtml" to "bin\Release\Plugins\SevenSpikes.Nop.Plugins.CategoriesHeaderMenu\Views\CategoriesHeaderMenu\CategoriesHeaderMenu.cshtml". The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.


       "C:\Users\Tangent\Documents\Visual Studio 2008\WebSites\selectalsico\nopCommerce_3.00_Source\build\nop.proj" (default target) (1) ->
       "C:\Users\Tangent\Documents\Visual Studio 2008\WebSites\selectalsico\nopCommerce_3.00_Source\NopCommerce.sln" (default target) (2) ->
       "C:\Users\Tangent\Documents\Visual Studio 2008\WebSites\selectalsico\nopCommerce_3.00_Source\Tests\Nop.Web.MVC.Tests\Nop.Web.MVC.Tests.csproj" (default target) (16) ->
       (_CleanGetCurrentAndPriorFileWrites target) ->
         C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(4017,5): error MSB3541: Files has invalid value "bin\Release\Plugins\SevenSpikes.Nop.Plugins.CategoriesHeaderMenu\Views\CategoriesHeaderMenu\CategoriesHeaderMenu.cshtml". The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

    0 Warning(s)
    2 Error(s)




for this I ust use "Long Path Tool" tried and tested . Great for long path errors.