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:

  1. 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

  1. 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

  1. 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 (9)

  1. Sean says:

    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…)

  2. descapa says:

    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?  : )

  3. hipnoj says:

    <a href= http://index1.blackrom.com >gangbang in public</a>

  4. 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.

  5. iPhone 6 says:

    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  

    http://www.facebook.com/pages/Louis-Vuitton-iPhone-6-Plus-Case/717909334969054