microsoft / restler-fuzzer

RESTler is the first stateful REST API fuzzing tool for automatically testing cloud services through their REST APIs and finding security and reliability bugs in these services.
MIT License
2.62k stars 303 forks source link

Compiling API specification #422

Open castroben opened 2 years ago

castroben commented 2 years ago

According to the quickstart guide, the following command should be run to compile and test an api accoriding to the specification:

python restler-quick-start.py --api_spec_path <path to specification> --restler_drop_dir <path to RESTler drop>

I've tried running this command multiple times with different "drop" directories but I always get the following error:

Could not execute because the specified command or file was not found.
Possible reasons for this include:
  * You misspelled a built-in dotnet command.
  * You intended to execute a .NET program, but dotnet-C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler_bin\engine\restler\Restler.dll does not exist.
  * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.

When I run the commands: mkdir restler_bin python ./build-restler.py --dest_dir <full path to restler_bin above>

inside the "restler_bin" folder there is not subfolder named "restler" and there is no file named "Restler.dll".

Can someone please help me understand where to get this "Restler.dll" file and why its not being generated with the command python ./build-restler.py --dest_dir <full path to restler_bin above>?

I get the following errors when I try to build the restler binaries:

C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj : error NU1100: Unable to resolve 'FSharp.Core (>= 4.7.2)' for 'net5.0'. [C:\Users\castr\Documents\2021_FALL\ECE
461\Project2\restler-fuzzer\src\compiler\Restler.CompilerExe\Restler.CompilerExe.fsproj]
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj : error NU1100: Unable to resolve 'Microsoft.ApplicationInsights (>= 2.14.0)' for 'net5.0'. [C:\Users\castr\Docu
ments\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.CompilerExe\Restler.CompilerExe.fsproj]
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj : error NU1100: Unable to resolve 'Microsoft.FSharpLu (>= 0.11.6)' for 'net5.0'. [C:\Users\castr\Documents\2021_
FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.CompilerExe\Restler.CompilerExe.fsproj]
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj : error NU1100: Unable to resolve 'Microsoft.FSharpLu.Json (>= 0.11.6)' for 'net5.0'. [C:\Users\castr\Documents\
2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.CompilerExe\Restler.CompilerExe.fsproj]
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.CompilerExe\Restler.CompilerExe.fsproj : error NU1100: Unable to resolve 'FSharp.Core (>= 4.7.2)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj : error NU1100: Unable to resolve 'Newtonsoft.Json (>= 11.0.2)' for 'net5.0'. [C:\Users\castr\Documents\2021_FAL
L\ECE461\Project2\restler-fuzzer\src\compiler\Restler.CompilerExe\Restler.CompilerExe.fsproj]
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj : error NU1100: Unable to resolve 'NJsonSchema (>= 10.0.27)' for 'net5.0'. [C:\Users\castr\Documents\2021_FALL\E
CE461\Project2\restler-fuzzer\src\compiler\Restler.CompilerExe\Restler.CompilerExe.fsproj]
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj : error NU1100: Unable to resolve 'NSwag.Core (>= 13.1.3)' for 'net5.0'. [C:\Users\castr\Documents\2021_FALL\ECE
461\Project2\restler-fuzzer\src\compiler\Restler.CompilerExe\Restler.CompilerExe.fsproj]
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj : error NU1100: Unable to resolve 'NSwag.Core.Yaml (>= 13.1.3)' for 'net5.0'. [C:\Users\castr\Documents\2021_FAL
L\ECE461\Project2\restler-fuzzer\src\compiler\Restler.CompilerExe\Restler.CompilerExe.fsproj]
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj : error NU1100: Unable to resolve 'Pluralize.NET.Core (>= 1.0.0)' for 'net5.0'. [C:\Users\castr\Documents\2021_F
ALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.CompilerExe\Restler.CompilerExe.fsproj]
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.CompilerExe\Restler.CompilerExe.fsproj : error NU1100: Unable to resolve 'Microsoft.FSharpLu.Json (>= 0.11.6)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.CompilerExe\Restler.CompilerExe.fsproj : error NU1100: Unable to resolve 'NJsonSchema (>= 10.0.27)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.CompilerExe\Restler.CompilerExe.fsproj : error NU1100: Unable to resolve 'NSwag.Core (>= 13.1.3)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.CompilerExe\Restler.CompilerExe.fsproj : error NU1100: Unable to resolve 'Microsoft.ApplicationInsights (>= 2.14.0)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.CompilerExe\Restler.CompilerExe.fsproj : error NU1100: Unable to resolve 'Microsoft.FSharpLu (>= 0.11.6)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.CompilerExe\Restler.CompilerExe.fsproj : error NU1100: Unable to resolve 'Newtonsoft.Json (>= 11.0.2)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.CompilerExe\Restler.CompilerExe.fsproj : error NU1100: Unable to resolve 'NSwag.Core.Yaml (>= 13.1.3)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.CompilerExe\Restler.CompilerExe.fsproj : error NU1100: Unable to resolve 'Pluralize.NET.Core (>= 1.0.0)' for 'net5.0'.
  Failed to restore C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj (in 83 ms).
  Failed to restore C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.CompilerExe\Restler.CompilerExe.fsproj (in 83 ms).
Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.CompilerExe\Restler.CompilerExe.fsproj : error NU1100: Unable to resolve 'FSharp.Core (>= 4.7.2)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.CompilerExe\Restler.CompilerExe.fsproj : error NU1100: Unable to resolve 'Microsoft.FSharpLu.Json (>= 0.11.6)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.CompilerExe\Restler.CompilerExe.fsproj : error NU1100: Unable to resolve 'NJsonSchema (>= 10.0.27)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.CompilerExe\Restler.CompilerExe.fsproj : error NU1100: Unable to resolve 'NSwag.Core (>= 13.1.3)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.CompilerExe\Restler.CompilerExe.fsproj : error NU1100: Unable to resolve 'Microsoft.ApplicationInsights (>= 2.14.0)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.CompilerExe\Restler.CompilerExe.fsproj : error NU1100: Unable to resolve 'Microsoft.FSharpLu (>= 0.11.6)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.CompilerExe\Restler.CompilerExe.fsproj : error NU1100: Unable to resolve 'Newtonsoft.Json (>= 11.0.2)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.CompilerExe\Restler.CompilerExe.fsproj : error NU1100: Unable to resolve 'NSwag.Core.Yaml (>= 13.1.3)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.CompilerExe\Restler.CompilerExe.fsproj : error NU1100: Unable to resolve 'Pluralize.NET.Core (>= 1.0.0)' for 'net5.0'.
Publishing project C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj to output dir C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler_bin\resultsAnalyzer
  Determining projects to restore...
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj : error NU1100: Unable to resolve 'FSharp.Core (>= 4.7.2)' for 'net5.0'. [C:\Users\castr\Documents\2021_FALL\ECE
461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj]
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj : error NU1100: Unable to resolve 'FSharp.Core (>= 4.7.2)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj : error NU1100: Unable to resolve 'Microsoft.ApplicationInsights (>= 2.14.0)' for 'net5.0'. [C:\Users\castr\Docu
ments\2021_FALL\ECE461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj]
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj : error NU1100: Unable to resolve 'Microsoft.FSharpLu (>= 0.11.6)' for 'net5.0'. [C:\Users\castr\Documents\2021_
FALL\ECE461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj]
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj : error NU1100: Unable to resolve 'Microsoft.FSharpLu.Json (>= 0.11.6)' for 'net5.0'. [C:\Users\castr\Documents\
2021_FALL\ECE461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj]
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj : error NU1100: Unable to resolve 'Newtonsoft.Json (>= 11.0.2)' for 'net5.0'. [C:\Users\castr\Documents\2021_FAL
L\ECE461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj]
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj : error NU1100: Unable to resolve 'DiffPlex (>= 1.4.4)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj : error NU1100: Unable to resolve 'NJsonSchema (>= 10.0.27)' for 'net5.0'. [C:\Users\castr\Documents\2021_FALL\E
CE461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj]
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj : error NU1100: Unable to resolve 'Microsoft.FSharpLu (>= 0.11.6)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj : error NU1100: Unable to resolve 'NSwag.Core (>= 13.1.3)' for 'net5.0'. [C:\Users\castr\Documents\2021_FALL\ECE
461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj]
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj : error NU1100: Unable to resolve 'Microsoft.FSharpLu.Json (>= 0.11.6)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj : error NU1100: Unable to resolve 'NSwag.Core.Yaml (>= 13.1.3)' for 'net5.0'. [C:\Users\castr\Documents\2021_FAL
L\ECE461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj]
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj : error NU1100: Unable to resolve 'Microsoft.ApplicationInsights (>= 2.14.0)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj : error NU1100: Unable to resolve 'Newtonsoft.Json (>= 11.0.2)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj : error NU1100: Unable to resolve 'NJsonSchema (>= 10.0.27)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj : error NU1100: Unable to resolve 'Pluralize.NET.Core (>= 1.0.0)' for 'net5.0'. [C:\Users\castr\Documents\2021_F
ALL\ECE461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj]
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj : error NU1100: Unable to resolve 'NSwag.Core (>= 13.1.3)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj : error NU1100: Unable to resolve 'NSwag.Core.Yaml (>= 13.1.3)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj : error NU1100: Unable to resolve 'Pluralize.NET.Core (>= 1.0.0)' for 'net5.0'.
  Failed to restore C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj (in 97 ms).
  Failed to restore C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj (in 98 ms).
Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj : error NU1100: Unable to resolve 'FSharp.Core (>= 4.7.2)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj : error NU1100: Unable to resolve 'DiffPlex (>= 1.4.4)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj : error NU1100: Unable to resolve 'Microsoft.FSharpLu (>= 0.11.6)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj : error NU1100: Unable to resolve 'Microsoft.FSharpLu.Json (>= 0.11.6)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj : error NU1100: Unable to resolve 'Microsoft.ApplicationInsights (>= 2.14.0)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj : error NU1100: Unable to resolve 'Newtonsoft.Json (>= 11.0.2)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj : error NU1100: Unable to resolve 'NJsonSchema (>= 10.0.27)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj : error NU1100: Unable to resolve 'NSwag.Core (>= 13.1.3)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj : error NU1100: Unable to resolve 'NSwag.Core.Yaml (>= 13.1.3)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\ResultsAnalyzer\ResultsAnalyzer.fsproj : error NU1100: Unable to resolve 'Pluralize.NET.Core (>= 1.0.0)' for 'net5.0'.
Publishing project C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj to output dir C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler_bin\restler
  Determining projects to restore...
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj : error NU1100: Unable to resolve 'FSharp.Core (>= 4.7.2)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj : error NU1100: Unable to resolve 'FSharp.Core (>= 4.7.2)' for 'net5.0'. [C:\Users\castr\Documents\2021_FALL\ECE
461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj]
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj : error NU1100: Unable to resolve 'Microsoft.FSharpLu (>= 0.11.6)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj : error NU1100: Unable to resolve 'Microsoft.ApplicationInsights (>= 2.14.0)' for 'net5.0'. [C:\Users\castr\Docu
ments\2021_FALL\ECE461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj]
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj : error NU1100: Unable to resolve 'Microsoft.FSharpLu.Json (>= 0.11.6)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj : error NU1100: Unable to resolve 'Microsoft.FSharpLu (>= 0.11.6)' for 'net5.0'. [C:\Users\castr\Documents\2021_
FALL\ECE461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj]
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj : error NU1100: Unable to resolve 'Microsoft.FSharpLu.Windows (>= 0.11.6)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj : error NU1100: Unable to resolve 'Microsoft.FSharpLu.Json (>= 0.11.6)' for 'net5.0'. [C:\Users\castr\Documents\
2021_FALL\ECE461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj]
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj : error NU1100: Unable to resolve 'Microsoft.ApplicationInsights (>= 2.14.0)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj : error NU1100: Unable to resolve 'Newtonsoft.Json (>= 11.0.2)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj : error NU1100: Unable to resolve 'Newtonsoft.Json (>= 11.0.2)' for 'net5.0'. [C:\Users\castr\Documents\2021_FAL
L\ECE461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj]
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj : error NU1100: Unable to resolve 'NJsonSchema (>= 10.0.27)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj : error NU1100: Unable to resolve 'NJsonSchema (>= 10.0.27)' for 'net5.0'. [C:\Users\castr\Documents\2021_FALL\E
CE461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj]
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj : error NU1100: Unable to resolve 'NSwag.Core (>= 13.1.3)' for 'net5.0'. [C:\Users\castr\Documents\2021_FALL\ECE
461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj]
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj : error NU1100: Unable to resolve 'NSwag.Core (>= 13.1.3)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj : error NU1100: Unable to resolve 'NSwag.Core.Yaml (>= 13.1.3)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj : error NU1100: Unable to resolve 'NSwag.Core.Yaml (>= 13.1.3)' for 'net5.0'. [C:\Users\castr\Documents\2021_FAL
L\ECE461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj]
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj : error NU1100: Unable to resolve 'Pluralize.NET.Core (>= 1.0.0)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj : error NU1100: Unable to resolve 'Pluralize.NET.Core (>= 1.0.0)' for 'net5.0'. [C:\Users\castr\Documents\2021_F
ALL\ECE461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj]
  Failed to restore C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj (in 84 ms).
  Failed to restore C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\compiler\Restler.Compiler\Restler.Compiler.fsproj (in 84 ms).
Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj : error NU1100: Unable to resolve 'FSharp.Core (>= 4.7.2)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj : error NU1100: Unable to resolve 'Microsoft.FSharpLu (>= 0.11.6)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj : error NU1100: Unable to resolve 'Microsoft.FSharpLu.Json (>= 0.11.6)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj : error NU1100: Unable to resolve 'Microsoft.FSharpLu.Windows (>= 0.11.6)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj : error NU1100: Unable to resolve 'Microsoft.ApplicationInsights (>= 2.14.0)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj : error NU1100: Unable to resolve 'Newtonsoft.Json (>= 11.0.2)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj : error NU1100: Unable to resolve 'NJsonSchema (>= 10.0.27)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj : error NU1100: Unable to resolve 'NSwag.Core (>= 13.1.3)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj : error NU1100: Unable to resolve 'NSwag.Core.Yaml (>= 13.1.3)' for 'net5.0'.
C:\Users\castr\Documents\2021_FALL\ECE461\Project2\restler-fuzzer\src\driver\Restler.Driver.fsproj : error NU1100: Unable to resolve 'Pluralize.NET.Core (>= 1.0.0)' for 'net5.0'.
Testing compilation of Python files...
Copying all python files...
Removing compilation build directory...
Copying all python files...

Thank you

marina-p commented 2 years ago

Hello @castroben,

Could you please share the output of the following two commands in your environment?

dotnet --version dotnet nuget list source (if there are private ones, replace with [deleted] so the order is still visible)

One potential workaround is to build with an additional argument as follows:

python ./build-restler.py --dest_dir c:\drop --dotnet_package_source https://api.nuget.org/v3/index.json

Thanks,

Marina

AlexVulpoiu commented 2 years ago

One potential workaround is to build with an additional argument as follows:

python ./build-restler.py --dest_dir c:\drop --dotnet_package_source https://api.nuget.org/v3/index.json

I had the same problem and this worked for me. Thanks.