Skip to content

Commit

Permalink
Fixed a command interface reference issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesRandall committed May 12, 2019
1 parent 355b186 commit 751673b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>FunctionMonkey.Compiler</id>
<version>2.2.1</version>
<version>2.2.2</version>
<authors>James Randall</authors>
<description>Generates Azure Functions from command registrations</description>
<licenseUrl>https://raw.githubusercontent.com/JamesRandall/AzureFromTheTrenches.Commanding/master/LICENSE</licenseUrl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ private IReadOnlyCollection<string> GetExternalAssemblyLocations(
{
assemblies.Add(_triggerReferenceProvider.GetTriggerReference(functionDefinition));
assemblies.Add(functionDefinition.CommandType.Assembly);
foreach (Type commandInterface in functionDefinition.CommandType.GetInterfaces())
{
assemblies.Add(commandInterface.Assembly);
}

if (functionDefinition.CommandResultType != null)
{
Expand Down

0 comments on commit 751673b

Please sign in to comment.