Paket doesnt support UWP application
Nobody has claimed this yet.
- Dominant language
- F#
- Stars
- 2.1k
- Forks
- 528
- Avg merge
- 1d 12m
- Merged PRs (30d)
- 54
Description
Description
Trying to use Paket with a UWP application. I had previously logged #2465, and the resolution of that allowed the convert-from-nuget command to complete.
However, after the command has completed, when I then try to then build the application, I get this error:
C:\Users\me\Documents\paket-uwp-repro\paket-uwp-repro\paket-uwp-repro.csproj : XamlCompiler error WMC1006: Cannot resolve Assembly or Windows Metadata file 'System.Private.ServiceModel.dll'
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\WindowsXaml\v15.0\8.2\Microsoft.Windows.UI.Xaml.Common.targets(266,5): Xaml Internal Error error WMC9999: Type universe cannot resolve assembly: System.Private.ServiceModel, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
(Sorry there's such a time delay between these 2 issues - I'm switching between projects)
Repro steps
Create a new blank UWP application in Visual Studio
Add paket
Run paket convert-from-nuget
Try to build application
This can be reproduced with the same Git repo as #2465
Expected behavior
Application has all required dependencies referenced, and builds successfully
Actual behavior
Build error, as above
Known workarounds
None
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure using the linked paket-uwp-repro repository: create the blank UWP application, run paket convert-from-nuget, and build the generated .csproj in Visual Studio. Compare the generated dependency references with the System.Private.ServiceModel error and verify that the application builds successfully without the reported XamlCompiler errors.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100