Cannot debug .NET-based PowerPoint add-in
问题 I have a PowerPoint add-in developed with .NET Framework 4.0/C#/VSTO. The add-in loads fine when I manually launch PowerPoint, but when I press F5 in Visual Studio, the PowerPoint splash screen shows for a short period and then PowerPoint closes. The Visual Studio output window shows only the following lines: 'powerpnt.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Skipped loading symbols. Module is