clairernovotny / ReferenceGenerator

MIT License
75 stars 13 forks source link

EXEC : error RG001: The given path's format is not supported. #23

Open AArnott opened 8 years ago

AArnott commented 8 years ago

I don't know why I get these errors randomly. When it starts, it seems to remain until I clean the source directory, then I'm good for a while. What's going on?

6>EXEC : error RG001: The given path's format is not supported. 6>C:\Users\andarno.nuget\packages\NuSpec.ReferenceGenerator\1.4.2\build\dotnet\NuSpec.ReferenceGenerator.targets(50,5): error MSB3073: The command ""C:\Users\andarno.nuget\packages\NuSpec.ReferenceGenerator\1.4.2\build\dotnet....\tools\RefGen.exe" ".NETFramework,Version=v4.6;" dotnet "path\to\myObj.nuspec;path\to\mysrc.nuspec" "path\to\my.csproj" "path\to\myBin.dll"" exited with code -1.

AArnott commented 8 years ago

Hmmm... it seems this might be due to this package reference leaking via project.json from my portable projects to desktop projects that reference them. And a clean of my src dir followed by a fresh nuget restore somehow fixes it so it doesn't leak any more. Probably partially due to non-deterministic incremental updates of project.lock.json, I suppose.