`build.cmd RunTests` on Windows throws error
See original GitHub issuefor the Site solution build.cmd RunTests
on Windows throws error
The request was aborted: Could not create SSL/TLS secure channel. (Github)
error log
No version specified. Downloading latest stable. The request was aborted: Could not create SSL/TLS secure channel. (Github) Paket version 5.189.1 The last restore is still up to date. Nothing left to do. Performance:
- Runtime: 672 milliseconds Building project with version: LocalBuild Shortened DependencyGraph for Target RunTests: <== RunTests <== CopyAssets <== CopyBinaries <== Build <== AssemblyInfo <== Clean
The resulting target order is:
- Clean
- AssemblyInfo
- Build
- CopyBinaries
- CopyAssets
- RunTests Starting Target: Clean Deleting contents of bin Deleting contents of temp Finished Target: Clean Starting Target: AssemblyInfo (==> Clean) Created AssemblyInfo file “C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\src\tests\AssemblyInfo.fs”. Finished Target: AssemblyInfo Starting Target: Build (==> AssemblyInfo) Building project: C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\Site.sln c:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\Site.sln /t:Rebuild /m /p:RestorePackages=“False” /p:Configuration=“Release” /logger:Fake.MsBuildLogger+ErrorLogger,“C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\packages\FAKE\tools\FakeLib.dll” c:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\Site.sln /t:Rebuild /m /p:RestorePackages=“False” /p:Configuration=“Release” /logger:Fake.MsBuildLogger+ErrorLogger,“C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\packages\FAKE\tools\FakeLib.dll” Microsoft ® Build Engine version 4.7.3056.0 [Microsoft .NET Framework, version 4.0.30319.42000] Copyright © Microsoft Corporation. All rights reserved.
Building the projects in this solution one at a time. To enable parallel build, please add the “/m” switch. Build started 11/30/2018 4:16:12 AM. Project “C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master \Site.sln” on node 1 (Rebuild target(s)). ValidateSolutionConfiguration: Building solution configuration “Release|Any CPU”. Project “C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master \Site.sln” (1) is building “C:\Users\Admin\Downloads\turtletestAutomation-master\turtlete stAutomation-master\src\tests\tests.fsproj” (2) on node 1 (Rebuild target(s)). C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\src\test s\tests.fsproj : error MSB4057: The target “Rebuild” does not exist in the project. Done Building Project “C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAut omation-master\src\tests\tests.fsproj” (Rebuild target(s)) – FAILED.
Done Building Project “C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAut omation-master\Site.sln” (Rebuild target(s)) – FAILED.
Build FAILED.
“C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\Site.sl n” (Rebuild target) (1) -> “C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\src\tes ts\tests.fsproj” (Rebuild target) (2) -> C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\src\te sts\tests.fsproj : error MSB4057: The target “Rebuild” does not exist in the project.
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:03.29 Running build failed. Error: Building C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\Site.sln failed with exitcode 1.
Build Time Report
Target Duration
Clean 00:00:00.0028455 AssemblyInfo 00:00:00.0458439 Total: 00:00:11.6638233 Status: Failure
- Building C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\Site.sln failed with exitcode 1.
- MSB4057: C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\src\tests\tests.fsproj(0,0): The target “Rebuild” does not exist in the project.
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (6 by maintainers)
Top GitHub Comments
WORKS !!! thanks @lefthandedgoat !!!
I see in your messages that its using MSBuild v4 and for me its v15
Can you see if you have any of the three folders here in green?
https://github.com/fsharp/FAKE/commit/b2e29f30b7c638964cd4d81d2761871ce9f016c8
I have also checked in one more change which may help, try getting latest.