microsoft / Dynamics365Commerce.Solutions

Repository for hosting the Dynamics 365 Commerce end to end sample solutions
Other
54 stars 26 forks source link

CRT: NuGet packaging issue #55

Closed onikolaiev closed 11 months ago

onikolaiev commented 1 year ago

The NuGet package generated from the CRT project doesn`t contain the SQL files from the ChannelDatabase project. How to generate a NuGet package that contains the schema changes? image

lukedgr commented 1 year ago

Hi @onikolaiev , there should be a separate "ScaleUnit" project that references both the CRT and ChannelDatabase project like we have in the scale unit samples here. To generate a NuGet package for your Scale Unit solution please set the "GeneratePackageOnBuild" property to true on the scale unit project. The package generated from this project type should include the SQL scripts, CRT assemblies, and POS extensions (if any).