I am working on a SharePoint project using VS2019.
When I publish the project, I need to add additional some files to the wsp
file. These files are excluded from the project.
I have been looking at the Package.package
thing, but without luck so far.
I tried to add the following to the manifest without success:
<TemplateFiles>
<TemplateFile Location="Layouts\Angular\*"/>
</TemplateFiles>
I have been looking at the following resources in an attempt to make progress:
- https://docs.microsoft.com/en-us/visualstudio/sharepoint/merging-xml-in-feature-and-package-manifests?view=vs-2019
- https://docs.microsoft.com/en-us/visualstudio/sharepoint/how-to-add-and-remove-additional-assemblies?view=vs-2019
- https://docs.microsoft.com/en-us/visualstudio/sharepoint/how-to-create-a-sharepoint-solution-package-by-using-msbuild-tasks?view=vs-2019
I get a feeling I may have to use msbuild
, but I have not worked with it before. Perhaps someone can confirm that it is the only way to make it work?