WindowsAppSDK icon indicating copy to clipboard operation
WindowsAppSDK copied to clipboard

Add Support Offline Mode for VSIX ProjectTemplate

Open ghost1372 opened this issue 1 year ago • 3 comments

Fix microsoft/microsoft-ui-xaml#9535

If there is no internet connection, the project will not be created Because of adding nuget package (wasdk) dynamically

This PR checks the internet connection:

  • If the internet is available And the latest version is available as a cache/Locally, Installs the latest cached version.
  • If the cached/Local version is not available, the latest version will be installed from nuget.org
  • If the internet is not available, then the latest version will be installed from cache/Local

Also i Changed IVsPackageInstaller to IVsPackageInstaller2 because there is a Method Called InstallLatestPackage which can install latest version.

A microsoft employee must use /azp run to validate using the pipelines below.

WARNING: Comments made by azure-pipelines bot maybe inaccurate. Please see pipeline link to verify that the build is being ran.

For status checks on the main branch, please use TransportPackage-Foundation-PR (https://microsoft.visualstudio.com/ProjectReunion/_build?definitionId=81063&_a=summary) and run the build against your PR branch with the default parameters.

ghost1372 avatar Apr 10 '24 18:04 ghost1372

@ghost1372 thanks so much for this contribution! we'll look at getting it merged very soon.

Scottj1s avatar Apr 15 '24 17:04 Scottj1s

I merged latest changes. can anyone review this pr? @bpulliam @Scottj1s

ghost1372 avatar May 05 '24 10:05 ghost1372

I believe this PR should be merged.

mominshaikhdevs avatar Jul 28 '24 12:07 mominshaikhdevs