I’m getting the following error when building the latest of Calamari sources
Preparing to run build script...
Running build script...
Analyzing build script...
Processing build script...
Installing tools...
Installing addins...
Compiling build script...
----------------------------------------
Setup
----------------------------------------
Executing custom setup action...
Building Calamari v3.7.67
========================================
__Clean
========================================
Executing task: __Clean
Cleaning directory D:/dev/github/OctopusDeploy/Calamari/built-packages
The provided pattern did not match any directories.
The provided pattern did not match any directories.
Finished executing task: __Clean
========================================
__Restore
========================================
Executing task: __Restore
MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.
An error occurred when executing task '__Restore'.
----------------------------------------
Teardown
----------------------------------------
Executing custom teardown action...
Cleaning up
Finished running tasks for build v3.7.67
Error: .NET Core CLI: Process returned an error (exit code 1).
Here are the steps I’ve done.
-
Installed DotNet Core 1.1 from
https://www.microsoft.com/net/core#windowscmd
-
Opened a command prompt, and verified that I had dotnet installed
dotnet --version
Which reported 1.0.4
.
-
Cloned the Calimari sources into
d:\dev\github\OctopusDeploy\Calimari
and executed thebuild.cmd
script. -
This is a regular Windows Command Prompt,
msbuild.exe
anddevenv.exe
are not in myPATH
variable.
Note, I can run build.cmd -target __Clean
and it does execute without error.
Preparing to run build script...
Running build script...
Analyzing build script...
Processing build script...
Installing tools...
Installing addins...
Compiling build script...
----------------------------------------
Setup
----------------------------------------
Executing custom setup action...
Building Calamari v3.7.67
========================================
__Clean
========================================
Executing task: __Clean
Cleaning directory D:/dev/github/OctopusDeploy/Calamari/built-packages
The provided pattern did not match any directories.
The provided pattern did not match any directories.
Finished executing task: __Clean
----------------------------------------
Teardown
----------------------------------------
Executing custom teardown action...
Cleaning up
Finished running tasks for build v3.7.67
Task Duration
--------------------------------------------------
__Clean 00:00:00.0612754
--------------------------------------------------
Total: 00:00:00.0612754