Hello everyone,
Seems like I'm having a strange issue here.
When I'm deploying and run the CI, the NuGet is crashing because of the name of the folder which is V.1. The problem is I can't change the folder name, because we have some rules regarding pipelines.
So is there anyway I could make NuGet ignore and get the path as it is ?
Thanks
C:\Program Files\dotnet\sdk\2.1.300\NuGet.targets(114,5): error : Parameter name: value [C:\agent\vsts-agent-win7-x64-2.117.2\_work\15\s\6.6.V.1\Project.csproj] 2018-06-07T09:23:27.2471610Z System.ArgumentException: 'V.1' is not a valid version string. 2018-06-07T09:23:27.2471610Z Parameter name: value 2018-06-07T09:23:27.2471610Z at NuGet.Versioning.NuGetVersion.Parse(String value) 2018-06-07T09:23:27.2471610Z at NuGet.Commands.MSBuildRestoreUtility.GetVersion(IMSBuildItem item) 2018-06-07T09:23:27.2471610Z at NuGet.Commands.MSBuildRestoreUtility.GetPackageSpec(IEnumerable`1 items) 2018-06-07T09:23:27.2471610Z at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext() 2018-06-07T09:23:27.2471610Z at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext() 2018-06-07T09:23:27.2471610Z at NuGet.Commands.MSBuildRestoreUtility.GetDependencySpec(IEnumerable`1 items) 2018-06-07T09:23:27.2471610Z at NuGet.Build.Tasks.RestoreTask.ExecuteAsync(ILogger log) 2018-06-07T09:23:27.2471610Z Done executing task "RestoreTask" -- FAILED.