-
Notifications
You must be signed in to change notification settings - Fork 691
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
VSIX: Failure to create project with "The value is not within the expected range" #12578
Comments
@tenderodigital do you get this error if you pick either the Blank or Default options, without customizing them? |
Hello Nick : the error still appears choosing the default or blank options. Another thing I've noticed is that sometimes the Visual Studio opens but with the screen all black. And at the end the error message appears. |
Hello again: in case it helps you. I have installed the templates for dotnet. I created a basic project and a project with the recommended options from the command line. I have been able to open and debug them from Visual Studio without problems. |
Exactly the same |
Hi @Kureshik / @tenderodigital I’ve created a diagnostic build of the Wizard that’s available at the following link: If you have time and are able to, would you mind uninstalling the published version of the Uno Platform VS Extensions and installing the diagnostic build from the above link. To capture log output, for us to track down the issue, please follow these steps:
Please can comment with the entire contents of the Uno Platform output window.
|
I followed your instructions and when I created the project all errors are gone By the way, here are the logs
|
Yeh I suspected that you wouldn't get any errors but thanks for running the test. It was the replacement values that I was looking for as it seems that some combination of those is failing when run in the stable relase of the wizard (and the unoapp template) |
Hi Nick: I've followed your instructions. And the error has not appeared. With the minimum template it has worked. I have compiled and tested on Windows, Android and Wasm without problems. Then I went into Visual Studio and followed the normal process with a custom template and it also worked. I attach the log output that you ask us. If you need anything else I am at your disposal. A strange thing that appears to me (and I was already on the day of the first error) is that duplicate templates appear. I attach an image. [Wizard] Launching Uno Platform Wizard |
@tenderodigital I'm only seeing a small amount of the expected log output from the wizard. Can you check that you've got the output verbosity for the build log set to Diagnostic (Tools menu -> Options, Projects and Solution -> Build and Run). |
Same problem |
Same problem here, with both blank and default templates. |
Hello: modified following your instructions. I paste the result obtained now. [Wizard] Launching Uno Platform Wizard |
Hi @Kureshik, @tenderodigital, @Taedor, @joseluisct we pushed an updated wizard - https://marketplace.visualstudio.com/items?itemName=unoplatform.uno-platform-addin-2022 |
<PackageVersion Include="Microsoft.Extensions.Logging.Console" Version="8.0.0-rc.2.23479.6" />
<PackageVersion Include="coverlet.collector" Version="6.0.0" />
<PackageVersion Include="FluentAssertions" Version="6.12.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageVersion Include="NUnit" Version="3.13.3" />
<PackageVersion Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
<PackageVersion Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.756" />
<PackageVersion Include="Microsoft.WindowsAppSDK" Version="1.4.231008000" />
<PackageVersion Include="SkiaSharp.Skottie" Version="2.88.6" />
<PackageVersion Include="SkiaSharp.Views.Uno.WinUI" Version="2.88.6" />
<PackageVersion Include="Uno.Core.Extensions.Logging.Singleton" Version="4.0.1" />
<PackageVersion Include="Uno.Extensions.Core.WinUI" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Configuration" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Hosting" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Hosting.WinUI" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Http" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Http.WinUI" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Http.Refit" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Localization" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Localization.WinUI" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Logging.OSLog" Version="1.7.0" />
<PackageVersion Include="Uno.Extensions.Logging.WinUI" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Navigation" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Navigation.WinUI" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Navigation.Toolkit.WinUI" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Reactive" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Reactive.WinUI" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Serialization" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Serialization.Http" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Serialization.Refit" Version="3.0.11" />
<PackageVersion Include="Uno.Material.WinUI" Version="4.0.6" />
<PackageVersion Include="Uno.Dsp.Tasks" Version="1.2.8" />
<PackageVersion Include="Uno.Toolkit.WinUI" Version="5.0.19" />
<PackageVersion Include="Uno.Toolkit.WinUI.Material" Version="5.0.19" />
<PackageVersion Include="Uno.Resizetizer" Version="1.2.1" />
<PackageVersion Include="Uno.UI.Adapter.Microsoft.Extensions.Logging" Version="5.0.64" />
<PackageVersion Include="Uno.UniversalImageLoader" Version="1.9.36" />
<PackageVersion Include="Uno.WinUI" Version="5.0.64" />
<PackageVersion Include="Uno.WinUI.Lottie" Version="5.0.64" />
<PackageVersion Include="Uno.WinUI.DevServer" Version="5.0.64" />
<PackageVersion Include="Uno.WinUI.Skia.Gtk" Version="5.0.64" />
<PackageVersion Include="Uno.WinUI.Skia.Wpf" Version="5.0.64" />
<PackageVersion Include="Xamarin.Google.Android.Material" Version="1.10.0.1" />
<PackageVersion Include="Uno.UITest.Helpers" Version="1.1.0-dev.70" />
<PackageVersion Include="Xamarin.UITest" Version="4.3.0" /> |
Hello: I have the same error. I work in Spanish. Just in case I have completely uninstalled Uno Platform and Visual Studio before. I have reinstalled everything again and the error persists. When creating a new Uno Platform application after selecting the options, a dialog box appears: "The value is not within the expected range"
I have left the default folder name and application name options. The app is called unoapp2.
And it also creates for me an empty folder on the disk with the name of the application.
The error box is this:
For what it's worth, I have the error since the wizard has more options, specifically 10:
Originally posted by @tenderodigital in #12569 (comment)
The text was updated successfully, but these errors were encountered: