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.

Invalid path breaks Linux build when adding Facil package

See original GitHub issue

After adding Facil to a new net5.0 console application on Linux, dotnet build fails, because the Facil.Generator.dll can not be found.

After manual checking I can confirm, that the search path seems correct, but the FacilGenerate.targets file contains an invalid path separator. Changing the file manually allows the build to succeed.

I’ve not tested on Windows, but I assume, using a slash “/” instead of backslash “\” will work there too. So I suggest replacing the backslash in Facil.Package/FacilGenerate.targets with a slash (like already used in Facil.Generator/FacilGenerate.targets).

Thank you very much.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
cmeerencommented, Mar 19, 2021

v1.3.1 is in the pipeline now and will be published shortly.

Thank you for a short and concise problem description and solution suggestion. That made it a lot easier to fix this in a timely manner!

1reaction
cmeerencommented, Mar 19, 2021

Seems it works fine on Windows. I have pushed the fix to master. Are you able to try it out before I publish it? Just build and pack the Facil.Package project (preferably in two separate steps, to work around some dotnet bugs), and you’ll get a nuget in the nupkg folder in the repo root. You can consume that in a project using a local package source as shown here. Note that if you don’t use globalPackagesFolder as shown, you have to delete the cached “unpacked” Facil version you likely have in your local NuGet cache (~/.nuget I suppose).

The target files in Facil.Package were old and unused; I didn’t know they were still around. I have deleted them now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

(make) Recipes breaks after definding PATH - linux
I am trying to automate the building of my toolchain, however every time I set my PATH using a recipe, it breaks the...
Read more >
build error message for invalid pkg path · Issue #2177 · r-lib ...
Error: path must exist. This causes some user-confusion because there is a separate, unrelated path option for devtools::build that is passed to ...
Read more >
Troubleshoot pipeline runs - Azure DevOps
Learn how to troubleshoot pipeline runs in Azure Pipelines and Team Foundation Server.
Read more >
11 Ways to Fix "The System Cannot Find The Path ...
4. Verify the File's Path ... If you've been getting this error message on the Command Prompt, check whether you're typing the correct...
Read more >
Bash Reference Manual
This chapter briefly summarizes the shell's 'building blocks': commands, control structures, shell functions, shell parameters, shell expansions ...
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