Add a reference to OneNote 2007? No longer under .Net but under COM
There was a change in setup between B2TR and the RTM build where the Office .Net PIAs are no longer placed in the proper place so they appear in the .Net References tab in Visual Studio. What does this mean for you? It means that if you want to add a reference to OneNote you can _no longer_ look under the .Net tab, instead look under the COM tab.
So I would like to amend what the Unknown OneNote blogger mentioned earlier on this post: Referencing the OneNote 2007 APIs in Visual Studio he said this:
- Creating a VS .Net references is simple. In a Visual Studio 2005 you can access the references from the Solution Explorer. If the Solution Explorer is not visible you can access it from the View menu or use the shortcut Ctrl-W, S. Figure 1 shows my Visual Studio's Solution Explorer.
Figure 1: VS Solution Explorer
- To create a reference to the OneNote interop dll right click the reference node in the Solution Explorer , and select Add Reference to bring up the Add Reference Dialog as shown in Figure 2.
Figure 2: Add Reference Dialog
- Select Microsoft.Office.Interop.OneNote and click the Ok button. You should see the reference listed under the Reference node in the Solution Explorer as shown in Figure 3.
Figure 3: VS Solution Explorer with OneNote reference
You can now access the OneNote API. Check back later as we work our way though the OneNote 2007 API.
I am only changing the part under figure 2, but otherwise it all works
exactly the same, just a different way to add it. If you have questions please let me know; of course you won't see this until the RTM version comes out.
Thanks a bunch Unknown OneNote blogger!
Comments
Anonymous
October 16, 2006
Hmm... I take it then that Office 2007 has RTM'd or the actual issue is too small to allow it to be fixed before it does RTM (I know shipping software with known bugs is odd, but understandable...)Anonymous
October 16, 2006
This ISN'T a bug. It was a change in how setup was done, the fact that you saw it before was kinda a bug. My team doesn't own this but from talking with them that is the design to only show up under the COM tab, just like it was in Office 2003. Clear? : )Anonymous
December 19, 2006
<a href="http://urlin.it/1a56">replica">http://urlin.it/1a56">replica watches</a> http://urlin.it/1a56 replica watchesAnonymous
February 12, 2007
<a href="http://www.bestfreeforums.com/forums/replicawatches.html">replica watches</a> replica watchesAnonymous
February 15, 2007
<a href="http://www.phorumz.com/index.php?mforum=replicawatches">replica">http://www.phorumz.com/index.php?mforum=replicawatches">replica watches</a> http://www.phorumz.com/index.php?mforum=replicawatches replica watchesAnonymous
April 27, 2007
The comment has been removedAnonymous
January 02, 2008
The comment has been removedAnonymous
January 28, 2008
Creating a VS .Net references is simple. In a Visual Studio 2005 you can access the references from the Solution Explorer. If the Solution Explorer is not visible you can access it from the View menu or use the shortcut Ctrl-W, S. Figure 1 shows my Visual Studio's Solution Explorer.Anonymous
January 11, 2015
The strong sales figures for the iPhone 6 and iPhone 6 Plus helped iOS eat into Android’s market share in the US, Europe and China, according to data from Kantar Worldpanel ComTech www.facebook.com/pages/Louis-Vuitton-iPhone-6-Plus-Case/717909334969054