[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:
- Created a year ago
- Comments:8 (8 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.@memsharded According to the information I found,
[-._]
are allowed symbols for XML Tags. Only the first symbol of a tag may not be[.-]
.