Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WASDK Nuget Package cannot be installed if there is no internet connection! #9535

Open
ghost1372 opened this issue Apr 10, 2024 · 1 comment · May be fixed by microsoft/WindowsAppSDK#4327
Open
Labels
team-Markup Issue for the Markup team

Comments

@ghost1372
Copy link
Contributor

Describe the bug

i am using Latest Visual Studio and WASDK Project Template (which uses Dynamic Retrieval of Microsoft.WindowsAppSDK Version for C# Single-Project Templates

this feature works fine if you have an internet connection. (although the installation process takes a little time and it is slow)

But if the internet is down and there is no connection, WASDK nuget package will not be installed.

image

Unfortunately, the cached packages are ignored and i think every time it is tried to download and install the package completely.That is why, even with the presence of the Internet, the installation process of the project takes more time

Steps to reproduce the bug

1.Update Visual Studio to Latest
2.Update WASDK Project Template to Latest
3.Turn of your Wifi/Internet
4.Create a new Project (Test Project, because uses Dynamic Retreval... method)

Expected behavior

I expect we can use the latest cached version even if the internet is not available/available.
Why do we have to do the time-consuming process every time if the package is already cached on the system?

Screenshots

No response

NuGet package version

Windows App SDK 1.5.2: 1.5.240404000

Packaging type

Packaged (MSIX), Unpackaged

Windows version

Windows 11 version 22H2 (22621, 2022 Update)

IDE

Visual Studio 2022-preview, Visual Studio 2022

Additional context

No response

@bpulliam bpulliam transferred this issue from microsoft/WindowsAppSDK Apr 11, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Apr 11, 2024
@bpulliam bpulliam added team-Markup Issue for the Markup team and removed needs-triage Issue needs to be triaged by the area owners labels Apr 11, 2024
@ghost1372
Copy link
Contributor Author

Hi @bpulliam
This is a wasdk related issue and not winui 3.
I added a pr to fix this issue
microsoft/WindowsAppSDK#4327

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Markup Issue for the Markup team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants