Uno.WindowsCommunityToolkit icon indicating copy to clipboard operation
Uno.WindowsCommunityToolkit copied to clipboard

7.0.0-gf2e29a45be cannot be use. Not possible to attached to project..

Open michalss opened this issue 3 years ago • 7 comments

Describe the bug

Cannot be include to project. I did try to change targets, but it is same for all possible targets..

  • [ ] Is this bug a regression in the toolkit? If so, what toolkit version did you last see it work:

Steps to Reproduce

  • [ ] Can this be reproduced in the Sample App? (Either in a sample as-is or with new XAML pasted in the editor.) If so, please provide custom XAML or steps to reproduce. If not, let us know why it can't be reproduced (e.g. more complex setup, environment, dependencies, etc...)

Steps to reproduce the behavior:

  1. Given the following environment (Sample App w/ XAML, Project with Isolated setup, etc...)
  2. Go to '...'
  3. Click on '....'
  4. Scroll down to '....'
  5. See error

Expected behavior

To be able to attach to project..

Screenshots

If applicable, add screenshots to help explain your problem. image

Environment

NuGet Package(s): 

Package Version(s): 

Device form factor:
- [x] Windows
- [] macOS
- [] iOS
- [] Android
- [x] WebAssembly
- [x] WebAssembly renderers for Xamarin.Forms

Visual Studio 
- [ ] 2017 (version: )
- [x] 2019 (version: ) 
- [ ] 2019 Preview (version: )

Additional context

Add any other context about the problem here.

michalss avatar Mar 18 '21 14:03 michalss

no matter what target i try

image

michalss avatar Mar 18 '21 14:03 michalss

one new information, to droid platform i was finally able to install it...

michalss avatar Mar 18 '21 14:03 michalss

It looks like it's only installable on UAP 10.0.17763 instead of also later platforms. The strange thing is that the previous 6x version had support for UAP 10.0.16299.

IsmailHassani avatar Mar 19 '21 17:03 IsmailHassani

The published versions for 7.0.0 were incorrectly tagged and have been unlisted, you should be able to use the 7.0.0-build.2+0136fc104d package pretty soon (it's publishing).

Let us know if this one works better for you.

jeromelaban avatar Mar 19 '21 20:03 jeromelaban

There is still an issue. There is also an exclamation mark on this package with UAP 18362 and UAP 19041 projects

Error occurred while restoring NuGet packages: Invalid restore input. The original target frameworks value must match the aliases. Original target frameworks: net5.0;netstandard2.0;uap10.0.18362;uap10.0.19041, aliases: net5.0;netstandard2.0;uap10.0.19041. Input files: C:\Projects\I-Synergy.Framework\src\ISynergy.Framework.UI\ISynergy.Framework.UI.csproj. NU1701: Package 'Uno.Microsoft.Toolkit.Uwp.UI.Controls 7.0.0-build.2.g0136fc104d' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework 'UAP,Version=v10.0.18362'. This package may not be fully compatible with your project.

IsmailHassani avatar Mar 19 '21 21:03 IsmailHassani

Try using the Uno package only on Uno targets, and use the official packages on UWP only.

jeromelaban avatar Mar 20 '21 00:03 jeromelaban

It works.

IsmailHassani avatar Mar 20 '21 13:03 IsmailHassani