Monday, 25 September 2017

Value Cannot be null - CRM Developer Tool Kit


We are setting up a new project in Visual Studio for one of the implementation and installed latest Develper Tool Kit. 

While deploying the Visual Studio was throwing an exception saying Value Cannot be null and when we checked, the error is because of we didn't set up the Path under Tools -> Dynamics 365 Developer Toolkit -> Tools Paths.

Surprisingly, even after setting path we are getting the same error. After spending lot of time found the resolution for it.

Build Action for RegisterFile.crmregister was set to Content. Changing it to RegisterPlugin solved the issue.

Hope this helps.

Happy CRM'ing