Unable to pack a Nuget Package on VSTS Unable to cast object of type 'System.String' to type 'NuGet.Frameworks.NuGetFramework'

后端 未结 5 1718
眼角桃花
眼角桃花 2021-01-17 09:58

On running \'pack\' I am getting the following error...

2017-07-05T10:37:09.7762333Z ##[section]Starting: NuGet pack
2017-07-05T10:37:09.7762333Z ===========         


        
5条回答
  •  遥遥无期
    2021-01-17 10:47

    This seems to be an issue using the Nuget pack item built in to VSTS. I swapped it out for a Command Line element to call dotnet pack instead and it now works.

提交回复
热议问题