web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :

Referencing Dynamics Assemblies with Azure Function Apps v.2

Yaniv Arditi Profile Picture Yaniv Arditi 3,990

Just stumbled upon a new  Azure environment, where Azure Function Apps have been upgraded to version 2.
Right away, noticed that my Azure Function code referencing Dynamics assemblies does not compile, complaining about

The type or namespace name ‘Xrm’ does not exist in the namespace ‘Microsoft’ (are you missing an assembly reference?)

After digging around, I found out that the project.json is not longer valid with v.2.
Instead, the function.proj file must be created and reference Dynamics assemblies in the following manner:

 
    461
 
 
   
   
 

Instead, the function.proj file must be created and reference Dynamics assemblies in the following manner

Comments

*This post is locked for comments