Adding multiple code components to a single Dataverse solution
Unlike the PCF project, which can contain only one component, the Dataverse solution project can contain references to multiple code components and different file paths. As we discussed at the beginning of this chapter, solutions are containers that can have multiple components – in this case, multiple code components. So, let's learn how to add multiple code components to our PowerMeUpDataverse solution project. We've already added the MyCharacterCounter code component to this project. Now, we are going to add the MyDataCard code component that we built during the course of this book. Consider C:\MyDataCardProject as the full path of this code component. Here, we will be executing the following command in VS Code, which is where the PowerMeUpDataverse solution project is open:
pac solution add-reference --path C:\MyDataCardProject
Once you've executed this command, the output should say that...