private void AddNuGetTargets(MsBuildProject buildProject) { string targetsPath = Path.Combine(@"$(SolutionDir)", NuGetTargetsFile); buildProject.AddImportStatement(targetsPath, ProjectImportLocation.Bottom); }