conan-io / conan-io/docs

Multiple MSBuild Configurations

Open
#3,193 3 comments 0 reactions 1 assignee Claimed by @memsharded View on GitHub
stage: triaging
Dominant language
C++
Stars
125
Forks
382
Avg merge
22h 39m
Merged PRs (30d)
21

Description

Hello!

We are working with an old MSBuild project and we want to package all the dependencies (internal and external) of the main project into conan packages and this works well for Release and Debug so far. The main project also has multiple MSBuild configurations like "Fake_Release", which is basically a release configuration but its used in automated tests to mock specific function calls.

The problem is that we can't export-pkgs with "Fake_Release" so that the MSBuildDeps would generate import conditions accordingly. Since "Fake_Release" is basically a release build and therfore relies on the same files, are there any options to generate import conditions that match multiple custom configurations?

I think we would need something like this:
``
``

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.