Skip to content

Plugin skprompt.txt files not being copied to output directory during release builds #701

Open
@eamon-keane

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:

  1. run package-webapi.ps1
  2. View webapi.zip artifact (unzip if needed)
  3. 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

Metadata

Assignees

No one assigned

    Labels

    .NETPull requests that update .net codedeploymentIssues related to deploying Chat-CopilotdocumentationImprovements or additions to documentationwebapiPull requests that update .net code

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions