OfficeDev / teams-toolkit

Developer tools for building Teams apps
Other
457 stars 188 forks source link

Toolkit v5 support for Visual Studio/.Net #8962

Closed ashikns closed 4 months ago

ashikns commented 1 year ago

Is your feature request related to a problem? Please describe. I have been developing Teams app on Visual Studio + .Net Core. The latest documentation for toolkit only mentions support for Visual Studio Code.

Describe the solution you'd like Is there any plan to bring the toolkit v5 update to Visual Studio? Or add support for C#/.Net Core in the Visual Studio Code version of the toolkit?

Describe alternatives you've considered None.

Additional context None.

ghost commented 1 year ago

Thank you for contacting us! Any issue or feedback from you is quite important to us. We will do our best to fully respond to your issue as soon as possible. Sometimes additional investigations may be needed, we will usually get back to you within 2 days by adding comments to this issue. Please stay tuned.

ashikns commented 1 year ago

I was able to get this working. The most important change was to the .yml files. Modify the deploy command for dotnet instead of npm:

deploy:
  # Run dotnet command
  - uses: cli/runDotnetCommand
    with:
      args: publish /property:GenerateFullPaths=true

  # Generate runtime environment variables
  - uses: file/createOrUpdateJsonFile
    with:
      target: ./appsettings.Development.json
      appsettings:
        BOT_ID: ${{BOT_ID}}
        BOT_PASSWORD: ${{SECRET_BOT_PASSWORD}}

There are also a few adjustments needed to tasks.json and launch.json, but it's a little bit of "tweak it till it works" situation. Thanks for including the dotnet commands already on release, would love to see some official documentation as well.

summzhan commented 1 year ago

release, would love to see some official documentation as well.

@ashikns Hey, glad to know that you are working on Teams Toolkit for Visual Studio. V5 support is available in VS 2022 17.6 Preview 3 and VS 2022 17.7 Preview 2, you can try it out in preview track.

We are planning to officially ship V5 support in Teams Toolkit for Visual Studio when VS 17.7 GA version goes public. That will be in Augest. And by then will together update our docusmentations as well.

Please stick around and thanks for your reach out!

summzhan commented 1 year ago

Hi @ashikns , think you are really a prefessional user of our products. I would like to kindly ask if you want to spend some time to have a customer interview with us, to provide your great feedbacks which may help us improve and build real good products for developers. If you are ok, please send me emails at zhany@microsoft.com. I will set up a call for us to chat. Thanks in advance!

summzhan commented 4 months ago

@ashikns V5 documentation is already published to doc site. Hope you having fun with Teams Toolkit

github-actions[bot] commented 4 months ago

The issue is milestoned with sprint milestone CY24Q2-2Wk03 (May 05 - May 18) and a work item created: https://msazure.visualstudio.com/9660fff2-2363-48b0-9e15-64df2283e932/_workitems/edit/28290344