I'm using EnvDTE to modify the linker and compiler settings/options of a VC project in a Visual Studio Add-in. But I can't seem to find where I can access these options from the DTE instance. What I have so far is
// I successfully can open the solution and get the project I'd like to
// modify the build options of (compiler and linker options)
foreach (EnvDTE.Project p in VS2015Instance.Solution.Projects)
{
if(p.UniqueName.Contains(projectName))
{
// At this point I have a reference to my VC project.
// Here I'd like to set some linker option before building the
// project.
VS2015Instance.ExecuteCommand("Build.BuildSolution");
}
}
So, where can I get/set these options?