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.

[bug] Filenames generated by MSBuildDeps changed in 1.52.0

See original GitHub issue

#11826 Causes a breaking change if the generated property files for dependencies are referenced directly instead of the general conandeps.props. We are doing this to link specific dependencies only into the projects that need the dependency. This bug prevents us from updating to newer Conan versions because a “big bang” update for all developers and CI systems would be required.

Old file: conan_dep-with-dash.props New file: conan_dep_with_dash.props

Environment Details (include every applicable attribute)

  • Compiler+version: Visual Studio / MSBuild
  • Conan version: 1.52.0

Logs

Error message:

The imported project "conan\generated\conan_dep-with-dash.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
memshardedcommented, Sep 18, 2022

Trying to avoid the filenames substitution in https://github.com/conan-io/conan/pull/12141.

Maybe just that the filenames changed is not enough reason, as it is experimental, but I think that if - doesn’t break, better not replace it, as it will avoid other potential issues as collisions with +. substitutions.

0reactions
vectorslicommented, Sep 16, 2022

@memsharded According to the information I found, [-._] are allowed symbols for XML Tags. Only the first symbol of a tag may not be [.-].

Read more comments on GitHub >

github_iconTop Results From Across the Web

Two output file names resolved to the same output path: "path ...
This error indicates that there is a duplicate filename in the build output.
Read more >
Changelog — conan 1.56.0 documentation
It assumes the package has been locally created with a previous conan package or with a conan build using a cmake.install() or equivalent...
Read more >
Language Server Extension Guide - Visual Studio Code
Learn how to create Language Servers to provide rich language features in Visual Studio Code.
Read more >
Visual Studio 2010 & 2008 can't handle source files with ...
One of the recommended workarounds there is to manually change the generated object file name for one (or both) of your object files....
Read more >
The Ninja build system
Consider: if the file has never been compiled, it must be built anyway, generating the header dependencies as a side effect. If any...
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