fsprojects / ProjectScaffold

A prototypical .NET solution (file system layout and tooling), recommended for F# projects
http://fsprojects.github.io/ProjectScaffold
The Unlicense
515 stars 154 forks source link

Build.cmd fails on Win10 #322

Closed dunefox closed 6 years ago

dunefox commented 6 years ago

Description

I downloaded the repository and executed build.cmd on Windows 10 in Powershell - which fails. Nothing more was done.

Repro steps

Please provide the steps required to reproduce the problem

  1. Step A Download and clone.

  2. Step B Run build.cmd on Windows 10 in Powershell.

Expected behavior

I would expect build.cmd to finish without errors.

Actual behavior

Here is the error message:

Checking Paket version (downloading latest stable)...
Hash file of version 5.155.0 found in cache.
Copying version 5.155.0 from cache.
Done in 2,89 second(s).
Downloading fsharp/FAKE:ad65548e62c35ad64ad1f9db6f5768330bc06594 modules/Octokit/Octokit.fsx to D:\Neuer Ordner\ProjectScaffold-master\paket-files\build\fsharp\FAKE\modules\Octokit\Octokit.fsx
Something went wrong while downloading NUnit.Runners 2.6.4
Message: Could not move D:\Neuer Ordner\ProjectScaffold-master\packages\test\NUnit.Runners\tools\lib\Images\Tree\Visual%20Studio to D:\Neuer Ordner\ProjectScaffold-master\packages\test\NUnit.Runners\tools\lib\Images\Tree\Visual Studio
Message: Der Zugriff auf den Pfad "D:\Neuer Ordner\ProjectScaffold-master\packages\test\NUnit.Runners\tools\lib\Images\Tree\Visual%20Studio" wurde verweigert.
  ==> Trying again
Downloading NUnit.Runners 2.6.4 (Test)
Download of NUnit.Runners 2.6.4 (Test) done in 1 second.
Something went wrong while downloading NUnit.Runners 2.6.4
Message: Could not move D:\Neuer Ordner\ProjectScaffold-master\packages\test\NUnit.Runners\tools\lib\Images\Tree\Visual%20Studio to D:\Neuer Ordner\ProjectScaffold-master\packages\test\NUnit.Runners\tools\lib\Images\Tree\Visual Studio
Message: Der Zugriff auf den Pfad "D:\Neuer Ordner\ProjectScaffold-master\packages\test\NUnit.Runners\tools\lib\Images\Tree\Visual%20Studio" wurde verweigert.
  ==> Last trial
Downloading NUnit.Runners 2.6.4 (Test)
Download of NUnit.Runners 2.6.4 (Test) done in 811 milliseconds.
Performance:
 - Disk IO: 6 seconds
 - Average Download Time: 403 milliseconds
 - Number of downloads: 3
 - Average Request Time: 685 milliseconds
 - Number of Requests: 2
 - Runtime: 10 seconds
Paket failed with
-> Could not move D:\Neuer Ordner\ProjectScaffold-master\packages\test\NUnit.Runners\tools\lib\Images\Tree\Visual%20Studio to D:\Neuer Ordner\ProjectScaffold-master\packages\test\NUnit.Runners\tools\lib\Images\Tree\Visual Studio
   Message: Der Zugriff auf den Pfad "D:\Neuer Ordner\ProjectScaffold-master\packages\test\NUnit.Runners\tools\lib\Images\Tree\Visual%20Studio" wurde verweigert. 

Last Message reads: "Access to Path [...] was denied."

I also tried it in cmd and PS with admin rights. Same results.

Known workarounds

No idea.

dunefox commented 6 years ago

I solved it, the issue was unrelated to build.cmd.