Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,198 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am trying to add new item to project Add->New Item. In this vs event VS.Events.ProjectItemsEvents.AfterAddProjectItems I am trying to set Custom Build Properties to newly added item. In this scenario I am getting the below exception as shown.Cannot access a disposed object. Object name: ‘Microsoft.VisualStudio.Project.VisualC.VCProjectEngine.VCConfigurationShim’.