gitlab-ci-runner-win icon indicating copy to clipboard operation
gitlab-ci-runner-win copied to clipboard

Error while building with Visual Studio Community 2015

Open sovattha opened this issue 9 years ago • 0 comments

Hello, I tried to compile using Visual Studio 2015 with Windows 8.1 Pro. The binaries are created.

1>------ Rebuild All started: Project: gitlab-ci-runner, Configuration: Debug Any CPU ------
1>  gitlab-ci-runner -> C:\Users\sso\Downloads\gitlab-ci-runner-win-master\gitlab-ci-runner\bin\Debug\gitlab-ci-runner.exe
2>------ Rebuild All started: Project: runner.Build.success.test, Configuration: Debug Any CPU ------
2>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "ServiceStack.Text". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
2>  runner.Build.success.test -> C:\Users\sso\Downloads\gitlab-ci-runner-win-master\runner.Build.success.test\bin\Debug\runner.Build.success.test.dll
========== Rebuild All: 2 succeeded, 0 failed, 0 skipped ==========

Then I run the application, located in gitlab-ci-runner\bin\Debug. When I enter my CI URL, I get the following message.

Exception non gérée : System.ComponentModel.Win32Exception: Le fichier spécifié est introuvable
   à System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
   à gitlab_ci_runner.helper.SSHKey.generateKeypair() dans C:\Users\sso\Downloads\gitlab-ci-runner-win-master\gitlab-ci-runner\helper\SSHKey.cs:ligne 33
   à gitlab_ci_runner.setup.Setup.run() dans C:\Users\sso\Downloads\gitlab-ci-runner-win-master\gitlab-ci-runner\setup\Setup.cs:ligne 32
   à gitlab_ci_runner.Program.Main(String[] args) dans C:\Users\sso\Downloads\gitlab-ci-runner-win-master\gitlab-ci-runner\Program.cs:ligne 37

Any idea?

sovattha avatar Nov 18 '15 09:11 sovattha