5

I am using cruisecontrol.net +msbuild. It has been working well for sometime and for the last two days I am getting this error. why is it trying to copy pagefile.sys? here is the errorlog. Thank you all in advance for your help.

Error message: "[CDATA[Could not copy "C:\pagefile.sys" to C:\CCNet\PublishedFiles\_PublishedWebsites\merp\roslyn\pagefile.sys". Beginning retry 1 in 1000ms. The process cannot access the file 'C:\pagefile.sys' because it is being used by another process."

  • So this morning I git Cloned a repo, modified identity server project, and deleted a couple lines like – Phillip Wells Oct 30 '15 at 00:35
  • see here: http://stackoverflow.com/questions/32523580/strange-build-error-after-upgrading-to-visual-studio-2015-wants-to-copy-pagefile – Zapnologica Dec 01 '15 at 16:09
  • Possible duplicate of [Strange Build error after upgrading to Visual studio 2015 wants to copy pagefile.sys](https://stackoverflow.com/questions/32523580/strange-build-error-after-upgrading-to-visual-studio-2015-wants-to-copy-pagefile) – Matt Oct 23 '17 at 15:35

1 Answers1

0

Perhaps some .target files have been accidentally edited in the .NET Framework directories, as it is said here. A sort of workaround I would prefer before reinstalling VS, would be changing the swap file disk in System Settings (if you have other logical/physical drives).

Danny
  • 528
  • 1
  • 4
  • 27