Error message
The specified path, file name, or both is too long. The fully qualified file name must is less than 260 characters, and the directory name must is less than 248 characters
Solution Solutions
<?XML version= "1.0" encoding= "Utf-8"?><ProjectToolsVersion= "12.0"DefaultTargets= "Build"xmlns= "http://schemas.microsoft.com/developer/msbuild/2003"> <ImportProject= "$ (msbuildextensionspath) \$ (msbuildtoolsversion) \microsoft.common.props"Condition= "Exists (' $ (msbuildextensionspath) \$ (msbuildtoolsversion) \microsoft.common.props ')" /> <PropertyGroup> <ConfigurationCondition= "' $ (Configuration) ' = = '">Debug</Configuration> <PlatformCondition= "' $ (Platform) ' = = '">AnyCPU</Platform> <productversion>2.7</productversion> <ProjectGuid>f3f4151f-2513-46a3-ac97-0eed0e13963a</ProjectGuid> <OutputType>Library</OutputType> <Appdesignerfolder>Properties</Appdesignerfolder> <RootNamespace>RealNext.Azure.Presentation.Web</RootNamespace> <AssemblyName>RealNext.Azure.Presentation.Web</AssemblyName> <Startdevelopmentstorage>True</Startdevelopmentstorage> <Name>RealNext.Azure.Presentation.Web</Name> <Packageenableremotedebugger>False</Packageenableremotedebugger> <serviceoutputdirectory>C:\RealNextWebPackageTemp\</serviceoutputdirectory> </PropertyGroup>
You can add <ServiceOutputDirectory> tags to the propertygroup to set up a packaged temporary directory to avoid problems with paths that are too long.
Reference: http://govada.blogspot.com/2011/12/windows-azure-package-build-error.html
Azure package fails because the path is too long