C#C
C#โ€ข2y ago
InsomniacEeper

Multi-target builds with C++/CLI projects

Howdy, I am not sure if this is the appropriate server to ask but I wanted to ask what the general best practices were for larger solutions that contain C++/CLI projects that reference a swathe of C# projects.

An important factor is that the multi-target build is not solely netcore rather itโ€™s a mix of .NET framework and .NET Core.

Concretely I have found a ways of ensuring the C++/CLI projects build with the appropriate runtime with plenty of hiccups along the way to ensure that the C# references build with the appropriate target framework and that the appropriate properties are set but I was left pretty dissatisfied with the approach, hence the question ๐Ÿ™‚

If anyone has experience, thoughts, and opinions Iโ€™d love to hear them!
Was this page helpful?