it:ad:teamcity:hg:troubleshooting

IT:AD:TeamCity:Hg:TroubleShooting


#### Issues and Resolutions ####


##

Build is failing in a Nuget Build Task, with an error similar to:

[pack] Starting: ...cmd.exe /c ...NuGet.exe pack ...xact.data.db.csproj ...
[pack] in directory: ...CS.FF.XAct.Lib
[pack] Attempting to build package from 'xact.data.db.csproj'.
[pack] Packing files from '...\xact.data.db\bin\Debug'.
[pack] Using 'xact.data.db.nuspec' for metadata.
[pack] Found packages.config. Using packages listed as dependencies
[pack] Circular dependency detected 'XAct.Core 0.0.89 => XAct.Data 0.0.89 => XAct.Core 0.0.89'.
[pack] Process exited with code 1

Solution

I'm not 100% sure of why, but the projects had a .projects file mentioning the dependencies, and i had listed them in the *.nuspec file. I think this gets Nuget all riled up. Removed them, so that the single point of truth is the *.packages file, and the problem seems to have gone away. —

  • /home/skysigal/public_html/data/pages/it/ad/teamcity/hg/troubleshooting.txt
  • Last modified: 2023/11/04 02:00
  • by 127.0.0.1