You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Adding conf.ProjectReferencesByPath.Add(@"path to my vcxproj") as part of the configure of the project
Generation works but VS is not happy with this "project cannot be added to the solution because a project with the same project filename already exists in the solution
The other way I tried that does not yield the error and correctly adds the project is:
Adding conf.ProjectReferencesByPath.Add(@"path to my vcxproj") as part of the configure of the solution
Generation works and visual studio loads.
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.
The text was updated successfully, but these errors were encountered:
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:
conf.ProjectReferencesByPath.Add(@"path to my vcxproj")
as part of the configure of the projectThe other way I tried that does not yield the error and correctly adds the project is:
conf.ProjectReferencesByPath.Add(@"path to my vcxproj")
as part of the configure of the solutionThe 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.
The text was updated successfully, but these errors were encountered: