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

[BUG] Update Xamarin Forms Samples to work with latest Xamarin #288

Closed
parthchopra opened this issue Jan 19, 2021 · 4 comments
Closed

[BUG] Update Xamarin Forms Samples to work with latest Xamarin #288

parthchopra opened this issue Jan 19, 2021 · 4 comments
Labels

Comments

@parthchopra
Copy link
Contributor

Update Xamarin Forms Samples to work with latest Xamarin

Build Errors

Project "/Users/pchopra/Projects/ReactiveUI.Samples/xamarin-forms/MasterDetail/MasterDetail/MasterDetail.csproj" (Build target(s)):

Target WinUICheckTargetPlatformVersion:
    /Users/pchopra/.nuget/packages/xamarin.forms/4.3.0.991250/build/Xamarin.Forms.targets(189,5): warning : Xamarin.Forms recommends TargetPlatformMinVersion >= 10.0.14393.0 (current project is -1)
    /Users/pchopra/.nuget/packages/xamarin.forms/4.3.0.991250/build/Xamarin.Forms.targets(195,5): warning : Xamarin.Forms recommends TargetPlatformVersion >= 10.0.17763.0 (current project is -1)
Done building target "WinUICheckTargetPlatformVersion" in project "MasterDetail.csproj".
Target ResolvePackageAssets:
    /Users/pchopra/Projects/ReactiveUI.Samples/xamarin-forms/MasterDetail/MasterDetail/MasterDetail.csproj : error NU1605: Detected package downgrade: Xamarin.Forms from 4.7.0.1351 to 4.3.0.991250. Reference the package directly from the project to select a different version. 
    /Users/pchopra/Projects/ReactiveUI.Samples/xamarin-forms/MasterDetail/MasterDetail/MasterDetail.csproj : error NU1605:  MasterDetail -> ReactiveUI.XamForms 12.1.5 -> Xamarin.Forms (>= 4.7.0.1351) 
    /Users/pchopra/Projects/ReactiveUI.Samples/xamarin-forms/MasterDetail/MasterDetail/MasterDetail.csproj : error NU1605:  MasterDetail -> Xamarin.Forms (>= 4.3.0)
Done building target "ResolvePackageAssets" in project "MasterDetail.csproj" -- FAILED.

Done building project "MasterDetail.csproj" -- FAILED.

Build FAILED.

/Users/pchopra/.nuget/packages/xamarin.forms/4.3.0.991250/build/Xamarin.Forms.targets(189,5): warning : Xamarin.Forms recommends TargetPlatformMinVersion >= 10.0.14393.0 (current project is -1)
/Users/pchopra/.nuget/packages/xamarin.forms/4.3.0.991250/build/Xamarin.Forms.targets(195,5): warning : Xamarin.Forms recommends TargetPlatformVersion >= 10.0.17763.0 (current project is -1)
/Users/pchopra/Projects/ReactiveUI.Samples/xamarin-forms/MasterDetail/MasterDetail/MasterDetail.csproj : error NU1605: Detected package downgrade: Xamarin.Forms from 4.7.0.1351 to 4.3.0.991250. Reference the package directly from the project to select a different version. 
/Users/pchopra/Projects/ReactiveUI.Samples/xamarin-forms/MasterDetail/MasterDetail/MasterDetail.csproj : error NU1605:  MasterDetail -> ReactiveUI.XamForms 12.1.5 -> Xamarin.Forms (>= 4.7.0.1351) 
/Users/pchopra/Projects/ReactiveUI.Samples/xamarin-forms/MasterDetail/MasterDetail/MasterDetail.csproj : error NU1605:  MasterDetail -> Xamarin.Forms (>= 4.3.0)
    2 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.09

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Cloned the repo and tried to build main branch but fails with the below errors

image

Environment
VS Mac version: 8.8.5 (build 18)
Mono 6.12.0.113
Xamarin.iOS Version: 14.8.0.3
Xamarin.Android Version: 11.1.0.26

@parthchopra
Copy link
Contributor Author

I can update the solutions and create a PR

@glennawatson
Copy link
Contributor

PR will be appreciated thanks

@parthchopra parthchopra changed the title [BUG] Summary of item [BUG] Update Xamarin Forms Samples to work with latest Xamarin Jan 19, 2021
@glennawatson
Copy link
Contributor

glennawatson commented Jan 20, 2021

Closing this issue, fixed by #289

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants