Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

MSBuild.Evalutaion.Project from the EnvDTE.Project

$
0
0

Hi,

In my package to get the MSBuild.Evalutaion.Project from the EnvDTE.Project I do this

Microsoft.Build.Evaluation.Project project = null;
            ICollection<Microsoft.Build.Evaluation.Project> projects =
                ProjectCollection.GlobalProjectCollection.GetLoadedProjects(path);

Where path is the FullName of the EnvDTE.Project object, that works pretty well most of the time, but now with VS 2013 C++ Windows Store applications seems to not be part of the GlobalProjectCollection.

It works fine for C#/C++ non Windows Store Applications and with Visual Studio 2012 works fine for all of them.

Any ideas how to get a reference to the loaded MSBuild project, I don't want to load a new instance just use the one is already loaded.


Viewing all articles
Browse latest Browse all 4410

Trending Articles