package sources credential

Experiences, small talk, and other automation gossip.
roey.oren
Posts: 3
Joined: Sun Dec 07, 2014 11:56 am

package sources credential

Post by roey.oren » Tue Jun 07, 2016 3:05 pm

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?

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: package sources credential

Post by Support Team » Fri Jun 10, 2016 11:48 am

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
.
Image

jon.hansen
Posts: 8
Joined: Tue Nov 18, 2014 12:16 pm
Location: Denmark

Re: package sources credential

Post by jon.hansen » Thu Jun 16, 2016 7:22 am

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