ubisoft / Sharpmake

Sharpmake is an open-source C#-based solution for generating project definition files, such as Visual Studio projects and solutions, GNU makefiles, Xcode projects, etc.
Apache License 2.0
927 stars 171 forks source link

Referencing a vcxproj by path and linking to the project #230

Open jonathansty opened 1 year ago

jonathansty commented 1 year ago

Hi,

I'm trying to use ProjectReferencesByPath to reference an externally generated vcxproj the allow building. I'm unable to get this working correctly though.

First thing I tried:

The other way I tried that does not yield the error and correctly adds the project is:

The main issue here is that there doesn't seem to be a way to reference the vcxproj correctly from within the actual project? E.g. the project that needs to link against my external vcxproj is not able to do this as I can't set it as a reference/dependency.