|
-
Feb 3rd, 2010, 01:05 PM
#1
Thread Starter
Frenzied Member
Can't get add in to load/debug
I'm attempting to do something that should be rather trivial, but I'm having no luck at all. Here is the setup:
Windows XP 64
Visual Studio 2008 SP1
.NET Framework 3.5
Offfice 2003
Created a new Office/2003/Excel 2003 Add-in project. Put the following code in ThisAdIn.vb:
Code:
Public Class ThisAddIn
Private Sub ThisAddIn_Startup(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Startup
' Start of VSTO generated code
Me.Application = CType(Microsoft.Office.Tools.Excel.ExcelLocale1033Proxy.Wrap(GetType(Excel.Application), Me.Application), Excel.Application)
' End of VSTO generated code
MessageBox.Show("ThisAddIn_Startup")
End Sub
Private Sub ThisAddIn_Shutdown(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Shutdown
MessageBox.Show("ThisAddIn_Shutdown")
End Sub
End Class
Try to run/debug it, and get the following message:
Unable to start debugging. Check for one of the following:
1. The application you are trying to debug uses a version of the Microsoft .NET Framework that is not supported by the debugger.
2. The debugger has made an incorrect assumption about the Microsoft .NET Framework version your application is going to use.
3. The Microsoft .NET Framework version specified by you for debugging is incorrect.
Well, I have set the target framework to 2.0, 3.0, and 3.5, and each one gives me the above error.
Does anyone know what may be causing this? This machine is a brand new (clean) machine with very little else installed. I just don't understand why this seemingly trivial task is being so darn stubborn!
-
Feb 3rd, 2010, 01:16 PM
#2
Re: Can't get add in to load/debug
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
May 20th, 2010, 03:12 PM
#3
New Member
Re: Can't get add in to load/debug
I have exactly the same problem...the same OS, the same Vs and Addins for Word 2003...
I just wanna know if you solved the problem...
thx
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|