Testing nuget feed - The directory name is invalid

Hi
I create a manual nuget package and it is stored on the local machine ie the Octopus server. When i add this location ie c:\dir\dir2\Octopus\website.1.0.0.nupkg… and test…
I get the following error
The directory name is invalid.

System.IO.IOException
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator1.CommonInit() at System.IO.FileSystemEnumerableIterator1…ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler1 resultHandler, Boolean checkHost) at System.IO.Directory.EnumerateFiles(String path, String searchPattern, SearchOption searchOption) at System.Linq.Enumerable.SelectManyIterator at Octopus.Core.Packages.NuGet.ExternalFileSystemNuGetPackageFeed.GetPackageFiles at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext() at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext()
at System.Linq.Buffer1..ctor(IEnumerable1 source)
at System.Linq.OrderedEnumerable1.GetEnumerator at System.Linq.Enumerable.TakeIterator at System.Linq.Buffer1…ctor(IEnumerable1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source)
at Octopus.Core.Packages.NuGet.ExternalFileSystemNuGetPackageFeed.GetPackagesContaining(String searchTerm, CancellationToken cancellationToken, Int32& total, Int32 skip, Int32 take, Boolean allowPreRelease)
at Octopus.Server.Web.Api.Actions.PackageSearchAction.Search(String feedId, String packageId, Boolean partialMatch, Boolean includeMultipleVersions, Boolean includeNotes, Boolean includePreRelease, Int32 take, VersionRange versionRange, Regex preReleaseTag)
at Octopus.Server.Web.Api.Actions.PackageSearchAction.Execute()
at Octopus.Server.Web.Infrastructure.Api.Responder`1.Respond(TDescriptor options, NancyContext context)
at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2)
at Octopus.Server.Web.Infrastructure.OctopusNancyModule.<>c__DisplayClass14_0.<get_Routes>b__1(Object x)
at Nancy.Routing.Route.<>c__DisplayClass4.b__3(Object parameters, CancellationToken context)

Hi Nasira,

When you specify a local folder as a nuget feed you need to enter the folder path, do not include the filename.
So in your case enter just c:\dir\dir2\Octopus\

Cheers
John