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: Strawberry Perl requirement?

See original GitHub issue

.NET Core Version:

.NET runtimes installed:
  Microsoft.AspNetCore.All 2.1.24 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.24 [C:\PROGRA~1\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.24 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.24 [C:\PROGRA~1\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.11 [C:\PROGRA~1\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 5.0.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 5.0.2 [C:\PROGRA~1\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.0-preview.7.21378.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.0-preview.7.21378.6 [C:\PROGRA~1\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.1.24 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.24 [C:\PROGRA~1\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.11 [C:\PROGRA~1\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 5.0.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 5.0.2 [C:\PROGRA~1\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.0-preview.7.21377.19 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.0-preview.7.21377.19 [C:\PROGRA~1\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.1.11 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 3.1.11 [C:\PROGRA~1\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 5.0.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 5.0.2 [C:\PROGRA~1\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 6.0.0-preview.7.21378.9 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 6.0.0-preview.7.21378.9 [C:\PROGRA~1\dotnet\shared\Microsoft.WindowsDesktop.App]

Problem description:

Is there any documentation for building the first time WPF? Why is StrawberryPerl needed?

Actual behavior: Build fails:


E:\dotnet\wpf>build.cmd
Processing E:\dotnet\wpf\global.json
strawberry-perl was not found in C:\Users\robin\.netcoreeng\native\bin\strawberry-perl\5.28.1.1-1\.
net-framework-48-ref-assemblies was not found in C:\Users\robin\.netcoreeng\native\bin\net-framework-48-ref-assemblies\0.0.0.1\.
dotnet-api-docs_net5.0 was not found in C:\Users\robin\.netcoreeng\native\bin\dotnet-api-docs_net5.0\0.0.0.3\.
Native tools bootstrap failed
bei Exec-Process, E:\dotnet\wpf\eng\common\tools.ps1: Zeile 89
bei MSBuild-Core, E:\dotnet\wpf\eng\common\tools.ps1: Zeile 789
bei InitializeToolset, E:\dotnet\wpf\eng\common\tools.ps1: Zeile 661
bei Build, E:\dotnet\wpf\eng\common\Build.ps1: Zeile 91
bei <ScriptBlock>, E:\dotnet\wpf\eng\common\Build.ps1: Zeile 153
bei <ScriptBlock>, <Keine Datei>: Zeile 1
Ausnahme beim Aufrufen von "Start" mit 0 Argument(en):  "Das System kann die angegebene Datei nicht finden"

E:\dotnet\wpf>

Expected behavior: Build successful

Minimal repro: build.cmd

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
vishalmsftcommented, Oct 27, 2021

Thank you @lindexi. I will review the PR in details and take it up there. The thread started with Strawberry perl requirement, but, last error talks about file locked by msbuild.

Yes, the PR is helpful.

1reaction
deeprobincommented, Sep 13, 2021

@lindexi Oh thank you. Unfortunately I suspect it has something to do with this Native tools bootstrap failed that the build is not running. Does anyone have any ideas on how to get this to work?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to install & configure Strawberry Perl on Windows
Easy step-by-step guide to installing and configuring Strawberry Perl on Windows.
Read more >
How do I compile a Perl module on Windows with ...
Strawberry Perl includes the necessary compiler environment in the default installation, so compiling modules is no problem. As for installing ...
Read more >
Installing Perl on Windows (32 and 64 bit)
A good setup for Perl on Windows (32 and 64 bit): · Make sure you do not have any version of Perl already...
Read more >
Installing Strawberry Perl on Windows
Strawberry Perl is one of the Windows Perl distributions. Strawberry Perl is easy to install and has the C language compiler MinGW, a...
Read more >
Strawberry Perl for Windows
Strawberry Perl is a perl environment for MS Windows containing all you need to run and develop perl applications. It is designed to...
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