Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

MSBuild properties not passed to /t:GenerateSolution #13

Open
wouterroos opened this issue Jan 24, 2020 · 0 comments
Open

MSBuild properties not passed to /t:GenerateSolution #13

wouterroos opened this issue Jan 24, 2020 · 0 comments

Comments

@wouterroos
Copy link

wouterroos commented Jan 24, 2020

Hi,

I came across the Xamarin.MSBuild.Sdk package while searching for a better way to manage complex project structures and it has been working great so far. However, I would like to be able to re-use my *.proj file to generate multiple solutions (our framework has multiple target platforms with their own dependencies and we'd like a solution per platform to keep Visual Studio performance issues to a minimum). I tried using the Condition property on a ProjectReference evaluating a value that I passed using /p:MyValue but it isn't recognized. It does work when I use it on GenerateSolutionFilePath mentioned here. I've looked at the code and I think the issue lies with the fact that the SolutionBuilder class doesn't pass globalProperties when loading the project collection.

Any idea if/how this can be fixed?

Thanks in advance,

Regards,

Wouter

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant