Skip to content

Instantly share code, notes, and snippets.

@saurabh360
Created June 3, 2014 07:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saurabh360/625c49a8a06e8f185723 to your computer and use it in GitHub Desktop.
Save saurabh360/625c49a8a06e8f185723 to your computer and use it in GitHub Desktop.
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.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetDirectoryName(String path)
at MonoDevelop.Ide.Templates.SingleFileDescriptionTemplate.SaveFile(SolutionItem policyParent, Project project, String language, String baseDirectory, String entryName)
at MonoDevelop.Ide.Templates.SingleFileDescriptionTemplate.AddFileToProject(SolutionItem policyParent, Project project, String language, String directory, String name)
at MonoDevelop.Ide.Templates.SingleFileDescriptionTemplate.AddToProject(SolutionItem policyParent, Project project, String language, String directory, String name)
at MonoDevelop.Ide.Templates.FileTemplate.CreateFile(FileDescriptionTemplate newfile, SolutionItem policyParent, Project project, String directory, String language, String name)
at MonoDevelop.Ide.Templates.FileTemplate.Create(SolutionItem policyParent, Project project, String directory, String language, String name)
at MonoDevelop.Ide.Projects.NewFileDialog.OpenEvent(Object sender, EventArgs e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment