In an attempt at improving the performance of our website application I have installed the AjaxControlToolkit Static Resources via Visual Studio 2013's Manage NuGet Packages feature.
I undertook all the manual steps required as stated [here](https://ajaxcontroltoolkit.codeplex.com/wikipage?title=How%20to%20use%20bundling%20and%20CDN)
Prior to the installation of the AjaxControlToolkit Static Resources I had no issues publishing the site using File System as the publishing method.
Now the site cannot be published as the following error is obtained:-
Copying file packages\AjaxControlToolkit.StaticResources.15.1.4.0\Content\Content\AjaxControlToolkit\Styles\HtmlEditor.Popups.AttachedTemplatePopup.min.css to C:\Users\mynamehere.ourdomain\AppData\Local\Temp\WebSitePublish\ManzenTrunk-1877587068\obj\Debug\AspnetCompileMerge\Source\packages\AjaxControlToolkit.StaticResources.15.1.4.0\Content\Content\AjaxControlToolkit\Styles\HtmlEditor.Popups.AttachedTemplatePopup.min.css failed. 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.
The issue is obviously associated with the introduction of AjaxControlToolkit Static Resources as publishing was fine until the feature was added.
Any help/advice/fixes would be appreciated
Comments: Creating a new solution isn't as easy as it may appear as this isn't a native .net 4 solution. It started as .net 2, was upgraded to 3.5 and then to 4 so the content of the web.config file is different for a start. I think the first thing I'd want to do is uninstall the AjaxControlToolkit Static Resources feature. I can then see about moving the solution file (there is no project file as it is an asp.net website) and amending the folder references. Once that is done and I can get a build from that I can look at adding the AjaxControlToolkit Static Resources feature back again. Does that sound like a solution that may work?
I undertook all the manual steps required as stated [here](https://ajaxcontroltoolkit.codeplex.com/wikipage?title=How%20to%20use%20bundling%20and%20CDN)
Prior to the installation of the AjaxControlToolkit Static Resources I had no issues publishing the site using File System as the publishing method.
Now the site cannot be published as the following error is obtained:-
Copying file packages\AjaxControlToolkit.StaticResources.15.1.4.0\Content\Content\AjaxControlToolkit\Styles\HtmlEditor.Popups.AttachedTemplatePopup.min.css to C:\Users\mynamehere.ourdomain\AppData\Local\Temp\WebSitePublish\ManzenTrunk-1877587068\obj\Debug\AspnetCompileMerge\Source\packages\AjaxControlToolkit.StaticResources.15.1.4.0\Content\Content\AjaxControlToolkit\Styles\HtmlEditor.Popups.AttachedTemplatePopup.min.css failed. 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.
The issue is obviously associated with the introduction of AjaxControlToolkit Static Resources as publishing was fine until the feature was added.
Any help/advice/fixes would be appreciated
Comments: Creating a new solution isn't as easy as it may appear as this isn't a native .net 4 solution. It started as .net 2, was upgraded to 3.5 and then to 4 so the content of the web.config file is different for a start. I think the first thing I'd want to do is uninstall the AjaxControlToolkit Static Resources feature. I can then see about moving the solution file (there is no project file as it is an asp.net website) and amending the folder references. Once that is done and I can get a build from that I can look at adding the AjaxControlToolkit Static Resources feature back again. Does that sound like a solution that may work?