Open an existing project --- Without a Solution... #44
Replies: 3 comments
-
Thank you, and happy holidays to you too!
I think that's the way it is ~ var xp = new XProject("project file");
// ... do something
xp.GetProjectReferences().Count(); But for another powerful loading/managing take a look at IEnvironment -> IXProjectEnv; Here's old note |
Beta Was this translation helpful? Give feedback.
-
Thanks... When i was "doing the crazy" of finding a solution that contained the project, then opening the solution, then selecting the project.... I was able to load a specific configuration... I do not see how to do that for a direct XPRoject constructor call... OLD Code (for laughing)
|
Beta Was this translation helpful? Give feedback.
-
Not even sure what are you trying here :) Environment implementations contains various loaders of the each project instances. This is manger where you can simply manage project collections through its single entity (the default implementations are IsolatedEnv/XProjectEnv). For other cases you can use XProject or direct implementations (msbuild or future IeXod) |
Beta Was this translation helpful? Give feedback.
-
(Happy Holidays).... I would have thought this easy, but hours in, and no success...
Beta Was this translation helpful? Give feedback.
All reactions