Skip to content

Commit

Permalink
add interop assemblies as nuget packages
Browse files Browse the repository at this point in the history
  • Loading branch information
stefankueng committed May 19, 2023
1 parent e72f627 commit ba437e1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions evernote2onenote/src/Evernote2Onenote.csproj
Expand Up @@ -66,6 +66,10 @@
<SignAssembly>false</SignAssembly>
</PropertyGroup>
<ItemGroup>
<Reference Include="Interop.Microsoft.Office.Interop.OneNote, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Interop.Microsoft.Office.Interop.OneNote.1.1.0.2\lib\net40\Interop.Microsoft.Office.Interop.OneNote.dll</HintPath>
<EmbedInteropTypes>True</EmbedInteropTypes>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Data.DataSetExtensions" />
Expand Down Expand Up @@ -140,6 +144,7 @@
<DesignTime>True</DesignTime>
</Compile>
<None Include="app.config" />
<None Include="packages.config" />
<None Include="Properties\AssemblyInfo.tmpl" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
Expand Down
4 changes: 4 additions & 0 deletions evernote2onenote/src/packages.config
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Interop.Microsoft.Office.Interop.OneNote" version="1.1.0.2" targetFramework="net48" />
</packages>

0 comments on commit ba437e1

Please sign in to comment.