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

Notification

Icon
Error

NCrunch temp files nCrunchTemp_xxx.csproj in project directories
GreenMoose
#1 Posted : Wednesday, April 5, 2017 12:45:54 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/17/2012(UTC)
Posts: 507

Thanks: 145 times
Was thanked: 66 time(s) in 64 post(s)
I noticed I get files like
Quote:
nCrunchTemp_41531c93-bb45-40ad-809f-e0847bbac67d.csproj

generated (and then removed) in my project directories.

Is this due to technical reasons or why are NCrunch not using either NCrunch cache or Workspace base path directories for this?

(I acccidentally managed to get such file persistent in project dir for some reason, maybe I accidentally staged it via git when NCrunch was processing it or similar, not a big deal).

Thanks.
Remco
#2 Posted : Wednesday, April 5, 2017 11:32:56 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
These files are generated by NCrunch when it loads your project. Basically, NCrunch doesn't tamper with your existing project file, but it does need to make modifications and save these to disk before it can invoke MSBuild.

So we have a temporary file that can exist for a few seconds, depending on the time it takes to load the project.

If for any reason NCrunch doesn't clean these up (i.e. if it gets terminated or something goes horribly wrong), you can safely delete the files.
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.035 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download