New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make packages folder optional #2638

Merged
merged 19 commits into from Aug 26, 2017
Commits
Jump to file or symbol
Failed to load files and symbols.
+18 −16
Diff settings

Always

Just for now

Viewing a subset of changes. View all

try to find the path which is too long...

  • Loading branch information...
matthid committed Aug 26, 2017
commit 38ba8b38d995601d6b12b2ed159085675f73f56d
@@ -155,7 +155,23 @@ let getDirectoryInfoForLocalNuGetFeed pathInfo alternativeProjectRoot root =
match alternativeProjectRoot with
| Some root -> DirectoryInfo(Path.Combine(root, s))
| None -> DirectoryInfo(Path.Combine(root, s))
// show the path that was too long
let FileInfo(str) =
try
FileInfo(str)
with
:? PathTooLongException as exn -> raise (PathTooLongException("Path too long: " + str, exn))
// show the path that was too long
let DirectoryInfo(str) =
try
DirectoryInfo(str)
with
:? PathTooLongException as exn -> raise (PathTooLongException("Path too long: " + str, exn))
/// Creates a directory if it does not exist.
let createDir path =
try
@@ -3,33 +3,19 @@ module Paket.NuGetCache
open System
open System.IO
open System.Net
open Newtonsoft.Json
open System.IO.Compression
open System.Xml
open System.Text.RegularExpressions
open Paket.Logging
open System.Text
open Paket
open Paket.Domain
open Paket.Utils
open Paket.Xml
open Paket.PackageSources
open Paket.Requirements
open FSharp.Polyfill
open System.Runtime.ExceptionServices
open Paket.Utils
open Paket.Domain
open Paket.Requirements
open Paket.Logging
open System.IO
open Chessie.ErrorHandling
open Newtonsoft.Json
open System
open Paket.ModuleResolver
open System.Threading.Tasks
type NuGetResponseGetVersionsSuccess = string []
ProTip! Use n and p to navigate between commits in a pull request.