question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

build.sh failed with "Execution Failed: no install script" message

See original GitHub issue
  • .NET Core Version: 3.0.103 (Commit: b7ef045669)
  • Platform/OS: ubuntu linux 18.04-x64
  • Winforms branch version (date): Thu Mar 26 07:37:13 2020 -0700

Problem description: I cloned the current version of Winforms and tried to build it local, and I got error message (below with the command):

maestro@mmeniac:~/.vscode/extensions/WinForms/winforms$ ./build.sh
/home/maestro/.vscode/extensions/WinForms/winforms/eng/common/native/install-dotnet-api-docs_netcoreapp3.0.sh --baseuri https://netcorenativeassets.blob.core.windows.net/resource-packages/external --installpath /home/maestro/.netcoreeng/native//bin --version 0.0.0.1
Execution Failed: no install script

Before I updated file global.json with my actual dotnet versions in such way:

{ “tools”: { “dotnet”: “3.0.103”, “runtimes”: { “dotnet”: [ “$(MicrosoftNETCoreAppPackageVersion)” ] } }, “sdk”: { “version”: “3.0.103” }, “msbuild-sdks”: { “Microsoft.DotNet.Arcade.Sdk”: “5.0.0-beta.20171.1”, “Microsoft.DotNet.Helix.Sdk”: “5.0.0-beta.20171.1”, “FIX-85B6-MERGE-9C38-CONFLICT”: “1.0.0”, “Microsoft.NET.Sdk.IL”: “5.0.0-alpha1.19513.3” }, “native-tools”: { “dotnet-api-docs_netcoreapp3.0”: “0.0.0.1” } }

Probably I should make some other changes in global.json? (but there is no explanations in corresponding documentation file about its parameters)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
RussKiecommented, Mar 30, 2020

@SergeyMatsiupa on Windows dotnet-api-docs_netcoreapp3.0 emits a warning too:

Processing C:\Development\winforms\eng\..\global.json
dotnet-api-docs_netcoreapp3.0 was not found in .
Native tools bootstrap failed	

In the interim, remove this line and try without it:

  "native-tools": {
-    "dotnet-api-docs_netcoreapp3.0": "0.0.0.1"
  }

@chcosta this looks like an issue you fixed in https://github.com/dotnet/arcade/issues/4482. Though your fix applied to ps1 scripts, would the same fix need to be applied to sh scripts too?

1reaction
RussKiecommented, Mar 31, 2020

Master branch isn’t the stable version, its the working branch where all the latest changes go into.

The master is our “dev” branch, we don’t release form it.

also I got some other errors during the build process:

If you don’t mind, please send a PR with the renames. Thank you

Read more comments on GitHub >

github_iconTop Results From Across the Web

don't fail jenkins build if execute shell fails
Jenkins is executing shell build steps using /bin/sh -xe by ... -e means to exit with failure if any of the commands in...
Read more >
Trying to execute a .sh file. However, I get the error: ...
I've run chmod 700 install.sh to make sure the file CAN be executed. And I absolutely can't find anything about this type of...
Read more >
How to fix a "Command not found" error in Linux
5 ways to fix "Command not found" errors · 1. Include the path · 2. Add a new path · 3. Copy a...
Read more >
Error message 'source: not found' when running a script
It's dropped, because source is not found. source is a Bash built-in function, and you don't execute the script with bash .
Read more >
shell script - #!/bin/bash - no such file or directory
I need to run the command: bash script.sh for it to work. How can I fix this? bash · shell-script · executable ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found