0
로컬 너겟 갤러리와 함께 Nuget.exe 버전 4.3.0.4406을 사용 중이고 패키지 위치가 일치하지 않습니다.너겟 팩 관련 문제
패키지를 설치하면 c : \ projects \ ProjectX.1.0.0.0에 설치됩니다.
그러나 ProjectX를 참조하는 프로젝트를 꾸리려고하면 c : \ projects \ ProjectX \ 1.0.0.0과 같은 경로가 표시됩니다.
nupkg는 nuget이 ProjectX.1.0.0.0에 넣은 곳에서 존재하지만 ProjectX \ 1.0.0.0을 사용하여 참조를 찾는 것처럼 보입니다.
내가 얻을 실제 오류는 다음과 같습니다
Missing C:\Projects\packages\projectX\1.0.0.0\projectx.1.0.0.0.nupkg
Unable to find 'ProjectX.1.0.0.0.nupkg'. Make sure the project has been built.
NuGet.CommandLine.CommandLineException: Unable to find 'ProjectX.1.0.0.0.nupkg'. Make sure the project has been built.
at NuGet.CommandLine.ProjectFactory.AddDependencies(Dictionary`2 packagesAndDependencies)
at NuGet.CommandLine.ProjectFactory.ProcessDependencies(PackageBuilder builder)
at NuGet.CommandLine.ProjectFactory.CreateBuilder(String basePath, NuGetVersion version, String suffix, Boolean buildIfNeeded, PackageBuilder builder)
at NuGet.Commands.PackCommandRunner.BuildFromProjectFile(String path)
at NuGet.CommandLine.PackCommand.ExecuteCommand()
at NuGet.CommandLine.Command.ExecuteCommandAsync()
at NuGet.CommandLine.Command.Execute()
at NuGet.CommandLine.Program.MainCore(String workingDirectory, String[] args)