Closed manishdube closed 5 years ago
I updated latest paket and pushed it, please try again
Still fails at a later stage... says 'The target "Rebuild" does not exist in the project.'
Checking Paket version (downloading latest stable)... Paket.exe 5.193.0 is up to date. Paket version 5.193.0 The last restore is still up to date. Nothing left to do. Performance:
The resulting target order is:
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. Build started 11/30/2018 5:15:40 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\turtletestAutomation-master\ src\tests\tests.fsproj" (2) on node 1 (Rebuild target(s)). C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\src\tests\tests.fs proj : error MSB4057: The target "Rebuild" does not exist in the project. Done Building Project "C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-ma ster\src\tests\tests.fsproj" (Rebuild target(s)) -- FAILED.
Done Building Project "C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-ma ster\Site.sln" (Rebuild target(s)) -- FAILED.
Build FAILED.
"C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\Site.sln" (Rebuil d target) (1) -> "C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\src\tests\tests.f sproj" (Rebuild target) (2) -> C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\src\tests\tests. fsproj : error MSB4057: The target "Rebuild" does not exist in the project.
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:05.47 Running build failed. Error: Building C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\Site.sln failed with exitcode 1.
Target Duration
C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master>
Ive updated to .net 4.6.2 which may help you.
If it does not I need to know what version of windows you are on plus what version of Visual Studio
Hello, Below are the answers to you question.
C:\WINDOWS\system32>ver Microsoft Windows [Version 10.0.17134.407]
when i try to update the .NET Framework i get the below prompt.
".NET Framework 4.6.2 or a later update is already installed on this computer."
regedit and navigating to below shows i have .NET Framework 4.7.03056 installed.
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\1033
Do you still have the issue? You can open the project in VS and right click on the Tests project, go to properties and change it to 4.7.x if you want.
With latest from the repo that is
no change ... :(
Checking Paket version (downloading latest stable)... Paket.exe 5.193.0 is up to date. Paket version 5.193.0 The last restore is still up to date. Nothing left to do. Performance:
The resulting target order is:
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. Build started 11/30/2018 12:05:48 PM. Project "C:\Users\Admin\Downloads\turtletestAutomation-master (1)\turtletestAutomation-master\Site.sln" on nod e 1 (Rebuild target(s)). ValidateSolutionConfiguration: Building solution configuration "Release|Any CPU". Project "C:\Users\Admin\Downloads\turtletestAutomation-master (1)\turtletestAutomation-master\Site.sln" (1) is building "C:\Users\Admin\Downloads\turtletestAutomation-master (1)\turtletestAutomation-master\src\tests\test s.fsproj" (2) on node 1 (Rebuild target(s)). C:\Users\Admin\Downloads\turtletestAutomation-master (1)\turtletestAutomation-master\src\tests\tests.fsproj : error MSB4057: The target "Rebuild" does not exist in the project. Done Building Project "C:\Users\Admin\Downloads\turtletestAutomation-master (1)\turtletestAutomation-master\sr c\tests\tests.fsproj" (Rebuild target(s)) -- FAILED.
Done Building Project "C:\Users\Admin\Downloads\turtletestAutomation-master (1)\turtletestAutomation-master\Si te.sln" (Rebuild target(s)) -- FAILED.
Build FAILED.
"C:\Users\Admin\Downloads\turtletestAutomation-master (1)\turtletestAutomation-master\Site.sln" (Rebuild targe t) (1) -> "C:\Users\Admin\Downloads\turtletestAutomation-master (1)\turtletestAutomation-master\src\tests\tests.fsproj" (Rebuild target) (2) -> C:\Users\Admin\Downloads\turtletestAutomation-master (1)\turtletestAutomation-master\src\tests\tests.fsproj : error MSB4057: The target "Rebuild" does not exist in the project.
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.81 Running build failed. Error: Building C:\Users\Admin\Downloads\turtletestAutomation-master (1)\turtletestAutomation-master\Site.sln failed with exitcode 1.
Target Duration
I think i see the issue. The visual studio does not have the 4.7.x .NET Framework in its drop down list. It only goes up to 4.6.1
So the real question is how would i get visual studio to show the installed .NET Framework 4.7.x under that list. :)
okay set it 4.6.1 and try that.
It was working for me on 4.5.2 so I dont think 4.7.x is the actual problem.
See what version of VS you have, I am on 15.7.5
im feeling stupid now .... :( I double checked all. My cmd folder, my
On Visual Studio 15.9.1
Changed to .NET 4.5.2 --> saved project --> from the cmd prompt ran
see the error below.
Changed to .NET 4.6.1 --> saved project --> from the cmd prompt ran
Checking Paket version (downloading latest stable)... Paket.exe 5.193.0 is up to date. Paket version 5.193.0 The last restore is still up to date. Nothing left to do. Performance:
The resulting target order is:
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. Build started 11/30/2018 12:32:45 PM. Project "C:\Users\Admin\Downloads\turtletestAutomation-master (1)\turtletestAutomation-master\Site.sln" on nod e 1 (Rebuild target(s)). ValidateSolutionConfiguration: Building solution configuration "Release|Any CPU". Project "C:\Users\Admin\Downloads\turtletestAutomation-master (1)\turtletestAutomation-master\Site.sln" (1) is building "C:\Users\Admin\Downloads\turtletestAutomation-master (1)\turtletestAutomation-master\src\tests\test s.fsproj" (2) on node 1 (Rebuild target(s)). C:\Users\Admin\Downloads\turtletestAutomation-master (1)\turtletestAutomation-master\src\tests\tests.fsproj : error MSB4057: The target "Rebuild" does not exist in the project. Done Building Project "C:\Users\Admin\Downloads\turtletestAutomation-master (1)\turtletestAutomation-master\sr c\tests\tests.fsproj" (Rebuild target(s)) -- FAILED.
Done Building Project "C:\Users\Admin\Downloads\turtletestAutomation-master (1)\turtletestAutomation-master\Si te.sln" (Rebuild target(s)) -- FAILED.
Build FAILED.
"C:\Users\Admin\Downloads\turtletestAutomation-master (1)\turtletestAutomation-master\Site.sln" (Rebuild targe t) (1) -> "C:\Users\Admin\Downloads\turtletestAutomation-master (1)\turtletestAutomation-master\src\tests\tests.fsproj" (Rebuild target) (2) -> C:\Users\Admin\Downloads\turtletestAutomation-master (1)\turtletestAutomation-master\src\tests\tests.fsproj : error MSB4057: The target "Rebuild" does not exist in the project.
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.23 Running build failed. Error: Building C:\Users\Admin\Downloads\turtletestAutomation-master (1)\turtletestAutomation-master\Site.sln failed with exitcode 1.
Target Duration
C:\Users\Admin\Downloads\turtletestAutomation-master (1)\turtletestAutomation-master> C:\Users\Admin\Downloads\turtletestAutomation-master (1)\turtletestAutomation-master>
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.
WORKS !!! thanks @lefthandedgoat !!!
for 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:
The resulting target order is:
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.
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
1) Building C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\Site.sln failed with exitcode 1. 2) MSB4057: C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\src\tests\tests.fsproj(0,0): The target "Rebuild" does not exist in the project.