Botframework-solutions: [C#] Template placeholder not replaced.

Created on 2 Oct 2020  路  5Comments  路  Source: microsoft/botframework-solutions

When creating a skill project in C# from "VA and Skills Template", inside the ci-cd file ./Pipeline/[SkillSample].yml, the variable $safeprojectname$ is not replaced with the actual value.

Bot Services Needs Triage Bug customer-replied-to customer-reported

All 5 comments

Thanks @GitDruid for reporting this issue. Which version of the VSIX are you using?

We will be reviewing the Pipeline/SkillSample.yml in order to reproduce this issue and we will back to you as soon as we have any update 馃槉.

Template 4.9.1.2 (see screenshot)

VAAST

Thanks @GitDruid for your quick reply, we will have that in mind to replicate the issue!

Hi @GitDruid, sorry for the delay. We successfully reproduced the mentioned issue. We confirmed that the variable $safeprojectname$ is not replaced with the actual value using [email protected].

Repro Steps:

  1. Install [email protected]
  2. Create a new Skill using the installed Virtual Assistant and Skill Templates
  3. Check that the $safeprojectname$ placeholder is not replaced in the .yml file

As soon as we have any update, we will back to you 馃槉.

image

@GitDruid - we created the PR #3679 fixing the replacement of the $safeprojectname$ placeholder with the actual value.

To validate the changes of the PR you can follow these steps using the branch(feature/southworks/fix-template-placeholder-not-replaced):

  1. Uninstall your current VSIX version
  2. Open the Template.sln in a Visual Studio
  3. Build the solution
  4. Go to the generated /templates/csharp/VSIX/bin/debug
  5. Execute the generated BotTemplatesVSIX.vsix
  6. Create a new Skill using the executed VSIX
  7. Check that the聽$safeprojectname$聽placeholder is replaced in the聽.yml聽file

Feel free to add your feedback in the Pull Request 馃槉.

_Before changes made_
image

_After changes made_
image

_Changes made in the SkillProjectTemplate.vstemplate_
image

Was this page helpful?
0 / 5 - 0 ratings