Posted on 2006-12-01
I got this exception when I tried to use vs2005 to publish my project to a network location.
The error said GenerateApplicationManifest task failed. (see below for full msg)
My path as it is seen in the box is \\Stobus1\DATA\OneTouch05\. It is no where to the 248 characters limit.
However when I browsed to it, I have to click on several nodes as My network Places, entire network, microsoft windows network, etc.
Do these all count as part of the path? How to ge around this?
Error 2 The "GenerateApplicationManifest" task failed unexpectedly.
System.IO.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.
at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
at System.IO.Path.GetFullPathInternal(String path)
at System.IO.Path.GetFullPath(String path)
at Microsoft.Build.Tasks.Deployment.ManifestUtilities.Manifest.ResolvePath(String path, String searchPaths)
at Microsoft.Build.Tasks.Deployment.ManifestUtilities.Manifest.ResolveAssembly(AssemblyReference a, String searchPaths)
at Microsoft.Build.Tasks.Deployment.ManifestUtilities.Manifest.ResolveFiles_1(String searchPaths)
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFound) CSRTS