Pharmacist: [BUG] Can't get pharmacist to work in an Uno UWP app

I’m trying to get Pharmacist to work on an Uno Platform app. The app consists of 4 platform-specific projects: UWP, Xamarin.Droid, Xamarin.iOS and WASM (.NET Standard).

Here’s a repro app that contains a newly generated Uno app (using the Uno Templates Extension), whose project files have been modified to add the following two lines before any other PackageReference declarations, as of this commit:

<PackageReference Include="Pharmacist.MsBuild" Version="1.*" PrivateAssets="all" />
<PackageReference Include="Pharmacist.Common" Version="1.*" />

When trying to build the project, I’m getting errors such as:

error MSB4044: The “PharmacistNuGetTask” task was not given a value for the required parameter “TargetFramework”.

image

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 21 (12 by maintainers)

Most upvoted comments

with some of these nuget packages it can take a while to update unless you do a nuget cache clean you can clean it with dotnet so like

dotnet nuget locals all --clear

Thanks, I’ll have a look at it today.