Plugin skprompt.txt files not being copied to output directory during release builds #701
Description
Describe the bug
When packaging the the build, skprompt.txt files are not being copied to output directory. When deploying the build to Azure, the required files aren't present for the plugins.
To Reproduce
Steps to reproduce the behavior:
- run package-webapi.ps1
- View webapi.zip artifact (unzip if needed)
- Plugin skprompt.txt files not present in plugins directory
Expected behavior
Expect to see skprompt.txt files in publish artifact
Screenshots
If applicable, add screenshots to help explain your problem.
Platform
- OS: Windows
- IDE: Visual Studio
- Language:C#,
- Source: [e.g. NuGet package version 0.1.0, pip package version 0.1.0, main branch of repository]
Additional context
Properties of the skprompt.txt files can be changed in project file to include them in output directory:
<None Update="Plugins\SemanticPlugins\WriterPlugin\BriefingParagraph\skprompt.txt"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </None> <Content Include="Plugins\SemanticPlugins\*.*"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </Content>
Instructions here could be updated to make it clear that if you want to publish the plugins using this method the properties
https://github.com/microsoft/chat-copilot/blob/main/webapi/README.md