Page 1 of 1

package sources credential

Posted: Tue Jun 07, 2016 3:05 pm
by roey.oren
hi,

i am trying to use the new feature of nuget in ranorex version 6.0

i want to add my teamcity as one of the sources.
i cannot post the url but it the same url that i am using in VS 2013.

the problem is that in VS i got a popup to enter credential, and in ranorex i dont.
when i try to see all the files that i can pull from teamcity, i got an authentication problem.
i didnt find any location that i am suppose to insert user/pass.

anyone know if its even possible to enter user/pass?

Re: package sources credential

Posted: Fri Jun 10, 2016 11:48 am
by Support Team
Hello roey.oren,

In general, Ranorex is based on SharpDevelop. The package manager comes from SharpDevelop directly and the TeamCity integration is also no feature of Ranore, so I'm afraid that this is no Ranorex issue. I hope someone in the community has an idea what the issue is and can help you solving the issue.

Regards,
Bernhard

Re: package sources credential

Posted: Thu Jun 16, 2016 7:22 am
by jon.hansen
Hi

I assume that you're using TeamCity as a NuGet source.

I'm not sure if it is possible to add credentials when adding a source using the Ranorex (/SharpDevelop) GUI, but it's definitely possible using the command line.

Nuget.exe is located in ..\Ranorex 6.0\RanorexStudio\AddIns\Misc\PackageManagement\

So using the cmd:
Nuget.exe sources Add -Name NameOfSource -Source PathToSource -UserName username - Password password

https://docs.nuget.org/consume/command- ... es-command