You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to build the advanced-topics/ReactiveUI UWP project, I get the build errors quoted below. One suspicious thing is use of deprecated nuget package Nuget.Protocol.Core.v3 and it shows up a lot in the build errors.
I'm using Visual Studio 2019 Professional 16.7.2 and I can build all the other Prism sample projects I've tried so far.
NU1605: Detected package downgrade: System.Collections from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.
PrismSample.UWP -> PrismSample -> NuGet.Protocol.Core.v3 4.2.0 -> NuGet.Protocol.Core.Types 4.2.0 -> System.Net.Http 4.1.0 -> System.Net.Primitives 4.0.11 -> runtime.win.System.Net.Primitives 4.3.0 -> System.Collections (>= 4.3.0)
PrismSample.UWP -> PrismSample -> NuGet.Protocol.Core.v3 4.2.0 -> NuGet.Protocol.Core.Types 4.2.0 -> System.Net.Http 4.1.0 -> System.Collections (>= 4.0.11)
NU1605: Detected package downgrade: System.Diagnostics.Tracing from 4.3.0 to 4.1.0. Reference the package directly from the project to select a different version.
PrismSample.UWP -> PrismSample -> NuGet.Protocol.Core.v3 4.2.0 -> NuGet.Protocol.Core.Types 4.2.0 -> System.Net.Http 4.1.0 -> System.Net.Primitives 4.0.11 -> runtime.win.System.Net.Primitives 4.3.0 -> System.Diagnostics.Tracing (>= 4.3.0)
PrismSample.UWP -> PrismSample -> NuGet.Protocol.Core.v3 4.2.0 -> NuGet.Protocol.Core.Types 4.2.0 -> System.Net.Http 4.1.0 -> System.Diagnostics.Tracing (>= 4.1.0)
[Lots more of NU1605 stuff omitted]
1>------ Build started: Project: PrismSample, Configuration: Debug Any CPU ------
1>C:\Users\jegner\.nuget\packages\pharmacist.msbuild\1.6.4\buildTransitive\netstandard2.0\Pharmacist.MSBuild.targets(48,5): error : PharmacistNuGetTask: Package NuGet.Client does not have a valid Version.
1>C:\Users\jegner\.nuget\packages\pharmacist.msbuild\1.6.4\buildTransitive\netstandard2.0\Pharmacist.MSBuild.targets(48,5): error : PharmacistNuGetTask: Package NuGet.Protocol.Core.v3 does not have a valid Version.
1>C:\Users\jegner\.nuget\packages\pharmacist.msbuild\1.6.4\buildTransitive\netstandard2.0\Pharmacist.MSBuild.targets(48,5): error : PharmacistNuGetTask: Package Prism.DryIoc.Forms does not have a valid Version.
1>C:\Users\jegner\.nuget\packages\pharmacist.msbuild\1.6.4\buildTransitive\netstandard2.0\Pharmacist.MSBuild.targets(48,5): error : PharmacistNuGetTask: Package ReactiveUI.XamForms does not have a valid Version.
1>C:\Users\jegner\.nuget\packages\pharmacist.msbuild\1.6.4\buildTransitive\netstandard2.0\Pharmacist.MSBuild.targets(48,5): error : PharmacistNuGetTask: Package Xamarin.Forms does not have a valid Version.
1>C:\Users\jegner\.nuget\packages\pharmacist.msbuild\1.6.4\buildTransitive\netstandard2.0\Pharmacist.MSBuild.targets(48,5): error : PharmacistNuGetTask: Package Xamarin.Essentials does not have a valid Version.
1>C:\dev\ahg\Prism-Samples-Forms\advanced-topics\ReactiveUI\src\PrismSample\Views\NugetPackageDetailPage.xaml.cs(28,18,28,24): error CS1061: 'ListView' does not contain a definition for 'Events' and no accessible extension method 'Events' accepting a first argument of type 'ListView' could be found (are you missing a using directive or an assembly reference?)
1>C:\dev\ahg\Prism-Samples-Forms\advanced-topics\ReactiveUI\src\PrismSample\Views\NugetPackageListPage.xaml.cs(41,18,41,24): error CS1061: 'ListView' does not contain a definition for 'Events' and no accessible extension method 'Events' accepting a first argument of type 'ListView' could be found (are you missing a using directive or an assembly reference?)
1>C:\dev\ahg\Prism-Samples-Forms\advanced-topics\ReactiveUI\src\PrismSample\Views\NugetPackageListPage.xaml.cs(49,18,49,24): error CS1061: 'ListView' does not contain a definition for 'Events' and no accessible extension method 'Events' accepting a first argument of type 'ListView' could be found (are you missing a using directive or an assembly reference?)
1>C:\dev\ahg\Prism-Samples-Forms\advanced-topics\ReactiveUI\src\PrismSample\Views\NugetPackageListPage.xaml.cs(57,18,57,24): error CS1061: 'ListView' does not contain a definition for 'Events' and no accessible extension method 'Events' accepting a first argument of type 'ListView' could be found (are you missing a using directive or an assembly reference?)
1>C:\dev\ahg\Prism-Samples-Forms\advanced-topics\ReactiveUI\src\PrismSample\Services\NugetPackageService.cs(13,43,13,68): warning CS0169: The field 'NuGetPackageService._sourceRepositoryProvider' is never used
1>Done building project "PrismSample.csproj" -- FAILED.
2>------ Build started: Project: PrismSample.UWP, Configuration: Debug x86 ------
2>C:\dev\ahg\Prism-Samples-Forms\advanced-topics\ReactiveUI\src\PrismSample.UWP\PrismSample.UWP.csproj : XamlCompiler error WMC1006: Cannot resolve Assembly or Windows Metadata file 'C:\dev\ahg\Prism-Samples-Forms\advanced-topics\ReactiveUI\src\PrismSample\bin\Debug\netstandard2.0\PrismSample.dll'
2>CSC : error CS0006: Metadata file 'C:\dev\ahg\Prism-Samples-Forms\advanced-topics\ReactiveUI\src\PrismSample\bin\Debug\netstandard2.0\PrismSample.dll' could not be found
2>C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\XamlCompiler\Microsoft.Windows.UI.Xaml.Common.targets(482,5): error MSB4181: The "CompileXaml" task returned false but did not log an error.
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
The text was updated successfully, but these errors were encountered:
When trying to build the advanced-topics/ReactiveUI UWP project, I get the build errors quoted below. One suspicious thing is use of deprecated nuget package Nuget.Protocol.Core.v3 and it shows up a lot in the build errors.
I'm using Visual Studio 2019 Professional 16.7.2 and I can build all the other Prism sample projects I've tried so far.
The text was updated successfully, but these errors were encountered: