Skip to content

Commit

Permalink
Fix Excel-DNA packer
Browse files Browse the repository at this point in the history
  • Loading branch information
bstiel committed Sep 13, 2016
1 parent e30cfe0 commit eeaee56
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Requests/Requests.csproj
Expand Up @@ -6,7 +6,7 @@
<ProjectGuid>{CC341EA6-DA2B-4135-8786-E02AFB54EFEA}</ProjectGuid>
<OutputType>Library</OutputType>
<NoStandardLibraries>false</NoStandardLibraries>
<AssemblyName>ClassLibrary</AssemblyName>
<AssemblyName>Requests</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
Expand Down
10 changes: 3 additions & 7 deletions Requests/Requests.dna
@@ -1,16 +1,12 @@
<DnaLibrary Name="Excel Requests" RuntimeVersion="v4.0">
<ExternalLibrary Path="ClassLibrary.dll" LoadFromBytes="true" Pack="true" />

<ExternalLibrary Path="Requests.dll" Pack="true" ExplicitExports="true"/>
<ExternalLibrary Path="Newtonsoft.Json.dll" Pack="true" ExplicitExports="true"/>

<!--
The RuntimeVersion attribute above allows two settings:
* RuntimeVersion="v2.0" - for .NET 2.0, 3.0 and 3.5
* RuntimeVersion="v4.0" - for .NET 4 and 4.5

Additional referenced assemblies can be specified by adding 'Reference' tags.
These libraries will not be examined and registered with Excel as add-in libraries,
but will be packed into the -packed.xll file and loaded at runtime as needed.
For example:

<Reference Path="Another.Library.dll" Pack="true" />

Excel-DNA also allows the xml for ribbon UI extensions to be specified in the .dna file.
Expand Down

0 comments on commit eeaee56

Please sign in to comment.