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

Issues with Demo Project #63

Closed
bakerhillpins opened this issue May 17, 2023 · 1 comment · Fixed by #64
Closed

Issues with Demo Project #63

bakerhillpins opened this issue May 17, 2023 · 1 comment · Fixed by #64

Comments

@bakerhillpins
Copy link
Contributor

First off, it's unclear if I should be loading the Sample Solution in the sample dir or the Mopups Solution in the root? I opted for the Sample solution.

Tried to run the demo project SampleMopups.sln and had had several errors:

  1. NuGet downgrade error.
    Severity Code Description Project File Line Suppression State Error NU1605 Warning As Error: Detected package downgrade: Microsoft.WindowsAppSDK from 1.2.221209.1 to 1.2.221116.1. Reference the package directly from the project to select a different version. SampleMopups -> Microsoft.Maui.Graphics.Win2D.WinUI.Desktop 7.0.81 -> Microsoft.WindowsAppSDK (>= 1.2.221209.1) SampleMopups -> Microsoft.WindowsAppSDK (>= 1.2.221116.1) SampleMopups D:\Repos\Dumpster\Mopups\SampleMaui\SampleMopups.csproj 1
  2. Sample Solution doesn't include Mopups.csproj so build fails on clone. (Hence confusion)
  3. Pickers don't have Selected index set.
  4. Selected index cases for AnimationType switch start at 1, not 0, and thus the 3rd choice ScaleAnimation throws exception.
@bakerhillpins
Copy link
Contributor Author

WRT the NU1605 error. The commit adding that explicit reference doesn't have info on why. If I remove that explicit reference it seems to build and run just fine using VS2022 17.5.5

bakerhillpins added a commit to bakerhillpins/Mopups that referenced this issue May 17, 2023
Remove explicit reference as it seems to work just fine in Windows using VS 17.5.5
bakerhillpins added a commit to bakerhillpins/Mopups that referenced this issue May 17, 2023
Avoids build errors when first cloned.
bakerhillpins added a commit to bakerhillpins/Mopups that referenced this issue May 17, 2023
bakerhillpins added a commit to bakerhillpins/Mopups that referenced this issue May 17, 2023
bakerhillpins added a commit to bakerhillpins/Mopups that referenced this issue May 17, 2023
TestPage appears to be identical to the MainPage so remove it and use MainPage.
LuckyDucko added a commit that referenced this issue Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant