[bug] MSBuildDeps generates invalid property file (dot replacement for component requirement)
See original GitHub issueGenerated props file contains link to another props without dot replacement
conan_hello_hello_withdot2_release_x64.props
:
...
<Import Condition="'$(conan_hello_hello.withdot_props_imported)' != 'True'" Project="conan_hello_hello.withdot.props"/>
...
actual name on disk:
conan_hello_hello_withdot.props
Environment Details (include every applicable attribute)
- Operating System+version: Windows 11
- Compiler+version: VS2022
- Conan version: 1.53.0
- Python version: 3.9.1
Steps to reproduce (Include if Applicable)
mkdir hellopkg && cd hellopkg && conan new hello/0.1 --template=cmake_lib
replace implementation of package_info
in conanfile.py with
self.cpp_info.components["hello.withdot"].libs = ["hello"]
self.cpp_info.components["hello.withdot2"].libs = ["hello"]
self.cpp_info.components["hello.withdot2"].requires = ["hello.withdot"]
conan export . hello/0.1@testdot/channel mkdir temp && cd temp && conan install -g MSBuildDeps --build=missing hello/0.1@testdot/channel
Issue Analytics
- State:
- Created a year ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Spring Boot not recognizing application.properties file
I've tried making another separate database.properties file , but Spring Boot isn't recognizing that either. What am I doing wrong? java ...
Read more >docs/changelog.rst at develop · conan-io/docs - GitHub
Bugfix: The CMakeDeps generator now uses the property cmake_build_modules declared in components of the required packages not only in the root cpp_info.
Read more >Properties File Format - Oracle Help Center
The properties files read by Nucleus must follow a format that is recognized by the class java.util.Properties . The rules for the format...
Read more >Changelog — conan 1.36.0 documentation
Feature: Improved MSbuild() build helper using vcvars() and generating property file to adjust the runtime automatically. New method get_command() with the call ...
Read more >MSBuild reference for .NET SDK projects - Microsoft Learn
The ErrorOnDuplicatePublishOutputFiles property relates to whether the SDK generates error NETSDK1148 when MSBuild detects duplicate files ...
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
This change fixes the issue for me. Thanks!
That’s perfect. It’s a holiday here too, so I’ll work around those few days.