Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Change location of NuGet build/testing area
DanAtkinson
#1 Posted : Tuesday, April 7, 2020 4:58:36 PM(UTC)
Rank: Member

Groups: Registered
Joined: 2/8/2017(UTC)
Posts: 14
Location: United Kingdom

Thanks: 2 times
Hi there,

I'm having some problems with one of my projects where the NuGet directory is required to be at the root of the hard drive.

However, whilst the projects get loaded on the same drive, NuGet itself is doing its work on a different drive (nominally my C:\).

This results in errors such as the one below:
Quote:
This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is \NuGet\Packages\NUnit.3.12.0\build\NUnit.props.


I've confirmed that this file exists on my D:\ but not on my C:\, however, my org rules prevent me from checking out on the C:\ so I'm stuck on getting this working on this particular project.

How do I change the location of the NuGet work folder to be one of my choosing?

Thanks in advance, Dan
DanAtkinson
#2 Posted : Tuesday, April 7, 2020 5:06:10 PM(UTC)
Rank: Member

Groups: Registered
Joined: 2/8/2017(UTC)
Posts: 14
Location: United Kingdom

Thanks: 2 times
Gah! After further reading of the documentation, I found that the setting is called Workspace.

I was searching for everything but this! It would be great if settings had aliases and descriptions so that you can search on both!
Remco
#3 Posted : Wednesday, April 8, 2020 12:27:17 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,974

Thanks: 929 times
Was thanked: 1256 time(s) in 1169 post(s)
DanAtkinson;14585 wrote:
Gah! After further reading of the documentation, I found that the setting is called Workspace.

I was searching for everything but this! It would be great if settings had aliases and descriptions so that you can search on both!


I'm sorry this proved hard to find. Generally, people are more interested in moving their NCrunch workspace/processing directory rather than having anything to do with Nuget. It just so happens that very often the Nuget packages get copied into the workspace anyway, so I guess there's the chance for it to piggyback off this setting. I'm glad you managed to solve the problem.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.028 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download