Support for custom $(Configuration)|$(Platform) conditions in VS property-sheets
See original GitHub issueI don’t know if it’s a problem with my configuration, but i can’t configure includes… I have two VS 2015 opened (different git branches for the same code), and on one of them the include appears, on the second one doesn’t. Furthermore, on the first one I can use power-tools, but on the second (without includes) execution of compile/tidy gives error:
Start Clang Tidy
[ INFO ] WILL PROCESS PROJECTS:
xxx.vcxproj
[ INFO ] 1. PROCESSING PROJECT D:\xxx.vcxproj
Did not expect that
At C:\Users\gglowacki\AppData\Local\Microsoft\VisualStudio\14.0\Extensions\h3be4nct.gu5\clang-build.ps1:802 char:9
+ throw "Did not expect that"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (Did not expect that:String) [], RuntimeException
+ FullyQualifiedErrorId : Did not expect that
Done Clang Tidy
Clang-power-tools 1.5.0
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:15 (9 by maintainers)
Top Results From Across the Web
Share or reuse Visual Studio project settings - C++
To create a custom group of settings that you can share with others or reuse in multiple projects, use Property Manager to create...
Read more >Visual Studio parsing behavior with custom property sheet ...
Visual Studio parsing behavior with custom property sheet to set platform tools version ... i am in the process of converting a large...
Read more >Support for Project and Configuration Properties
Learn how to provide a property page for your own project type in the Visual Studio IDE, which can display project and configuration...
Read more >Sharing project properties in Visual C++
To display the Property Manager pane, in the menu go to View –> Other Windows –> Property Manager . Note: Property sheet files...
Read more >Add support for custom Solution Configurations · Issue #451
I'm running Windows 10 Pro x64 10.0.14393 en-us. Repro steps: I install vcpkg and integrate it with system-wide integration.
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
@g-glowacki Analyzing your sample files, I figured out what the problem is: Your property sheets have item conditions written by hand, whereas
clang-build.ps1
is currently looking for item conditions generated by Visual Studio (e.g.'$config|$platform'=='Debug|Win32'
).We’re working on enabling
clang-build.ps1
to understand more complex conditions, such as yours. Please keep in mind, however, that this is more than a trivial bug fix and will take some time to implement.We’ll keep you posted. Thank you for your feedback.
I manually replaced the PowerShell script, but it still doesn’t work.