question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

UAP target doesn't have package references properly generated/used

See original GitHub issue

When trying to cross compile with a project that includes a uap10.0 target, the csc task doesn’t have the package references resolved correctly and put on the CSC task.

To repro, look at the vs2017 branch of https://github.com/onovotny/Zeroconf/tree/vs2017

In there you’ll see it cross-compiling to netstandard1.3 and uap10.0. The problem is that it’s using the wrong mscorlib reference for uap10.0 and when you look at the msbuild log and csc task invocation, it’s not passing the correct /reference’s that include all of the package dependencies that come from both the NETStandard.Library and the Microsoft.NETCore.UniversalWindowsPlatform reference. The RAR task seems to not generate anything.

Not sure if this is in the SDK tasks or the NuGet tasks?

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
clairernovotnycommented, Dec 13, 2016

@nguerrera adding that line to disable the local lock file copy did the trick. The LanguageTargets did not.

0reactions
clairernovotnycommented, May 15, 2017

maybe?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Nuget Package won't install in UAP
The target doesn't just rely on the NuSpec file, it would depend on the C# project and the dll itself. Go to:.
Read more >
nuspec File Reference for NuGet
The .nuspec file contains package metadata used when building a package and to provide information to package consumers.
Read more >
Your Project Does Not Reference Uap
Reference your desktop console application from the packaging project by right-clicking on the "Application" node under the "Package" project and selecting ...
Read more >
[UWP][ARM][.Net] VS2019 fails building project generated ...
I am trying to support a customer of ours on Hololens 2. They (have to) use .Net as scripting backend, so I got...
Read more >
Msbuild clear cache. Traversal
The Build and Run > Projects and Solutions > Options dialog box opens. For a single package, delete the package folder and use...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found