OmniSharp / OmniSharp/csharp-language-server-protocol

Running build.sh on linux fail

Open
#226 8 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
638
Forks
109
Avg merge
1m
Merged PRs (30d)
2

Description

I'm on Arch linux, right after cloning the repo, running .\build.sh give:

███╗   ██╗██╗   ██╗██╗  ██╗███████╗
████╗  ██║██║   ██║██║ ██╔╝██╔════╝
██╔██╗ ██║██║   ██║█████╔╝ █████╗  
██║╚██╗██║██║   ██║██╔═██╗ ██╔══╝  
██║ ╚████║╚██████╔╝██║  ██╗███████╗
╚═╝  ╚═══╝ ╚═════╝ ╚═╝  ╚═╝╚══════╝

NUKE Execution Engine version 0.24.4 (Linux,.NETCoreApp,Version=v2.1)

> /usr/bin/git rev-parse --abbrev-ref HEAD
Assertion failed: Could not find 'GitVersion.dll', or 'GitVersion.exe' inside '/home/aurel/.nuget/packages/gitversion.tool/5.2.4'.
   at Nuke.Common.ControlFlow.Fail(String text)
   at Nuke.Common.ControlFlow.Assert(Boolean condition, String text)
   at Nuke.Common.Tooling.ToolPathResolver.GetPackageExecutable(String packageId, String packageExecutable, String version, String framework)
   at Nuke.Common.Tools.GitVersion.GitVersionTasks.GetToolPath(String framework)
   at Nuke.Common.Tools.GitVersion.GitVersionSettings.GetToolPath()
   at Nuke.Common.Tools.GitVersion.GitVersionSettings.get_ToolPath()
   at Nuke.Common.Tooling.ProcessTasks.StartProcess(ToolSettings toolSettings)
   at Nuke.Common.Tools.GitVersion.GitVersionTasks.GitVersion(GitVersionSettings toolSettings)
   at Nuke.Common.Tools.GitVersion.GitVersionTasks.GitVersion(Configure`1 configurator)
   at Rocket.Surgery.Nuke.ComputedGitVersionAttribute.GetValue(MemberInfo member, Object instance) in /_/src/Nuke/ComputedGitVersionAttribute.cs:line 45
   at Nuke.Common.Execution.InjectionUtility.InjectValuesInternal[T](T instance, IEnumerable`1 tuples)
   at Nuke.Common.Execution.InjectionUtility.InjectValues[T](T instance, Func`2 filter)
   at Nuke.Common.Execution.BuildManager.Execute[T](Expression`1[] defaultTargetExpressions)

Repeating warnings and errors:
Assertion failed: Could not find 'GitVersion.dll', or 'GitVersion.exe' inside '/home/aurel/.nuget/packages/gitversion.tool/5.2.4'.

The dotnet version:
dotnet --version
3.1.103

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with build.sh and the Nuke build path that invokes GitVersion, then inspect the GitVersion package contents under ~/.nuget/packages/gitversion.tool/5.2.4 using the reported .NET 3.1.103 environment. Reproduce the failure on Linux and verify that a clean checkout can complete the build without the missing GitVersion executable assertion.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, shell
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.