-
Notifications
You must be signed in to change notification settings - Fork 255
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
(UWP) Platform Dependent UWP Library fails due to Compile-Time Reference Assembly Missing #5606
Comments
@WilliamABradley would you share the list of files in your nupkg? The runtime assembly check is done by verifying that each assembly file name under |
@emgarten |
This doesn't tell me the actual names and paths. A flat list of files would be helpful here. |
I have already discovered one issue, where the Lib-Core.dll were all in one runtimes folder, however, it is also saying that message for Lib-UWP.dll, which is in all runtime folders. |
For Lib-UWP.dll on |
Do I need to make a duplicate of Assemblies for AOT? |
@emgarten I tried again after fixing my Lib-Core.dll, I'm still getting the same Error for all Runtime Types (Including ARM, x86 and x64 which I do have runtime assemblies for). |
@emgarten any news? |
Thank for you reporting this issue. |
Details about Problem
NuGet product used (NuGet.exe | VS UI | Package Manager Console | dotnet.exe):
Nuget Package Manager
NuGet version:
Package Manager Console Host Version 4.3.0.4199
VS version (if appropriate):
Visual Studio Community 2017 + Preview
OS version (i.e. win10 v1607 (14393.321)):
Windows 10 Pro Insider Preview 16237
Detailed repro steps so we can see the same problem
I'm trying to package and use my UWP Shared Code Library into NuGet so that I can use it on my apps. Since it references FFmpegInterop and the Microsoft Advertising SDK and other Platform Dependent Code, I can't use lib/uap10.0, so I have the 3 runtime folders and one folder for Reference (Here are my nuspec file references):
I am aware of #1221, which is why I have Reference assemblies, (Both run through CorFlags before added to my package as a reference Assembly, all using a Cake Build Script).
However,
If I try to add the Package to my UWP apps, I get:
I can force the Package by opening the Project.json file and adding the reference (I used to use Package Reference, but I switched back because I thought it might cause problems for my test app).
It seems to compile and run from Debug and Release on all Platform variants, so I'm not sure what is going on here, although Package Restore will always fail, and wont download anymore Packages with this Package here :(
Could it be that the Output folder of the runtime assemblies don't match the reference assemblies, and it is getting confused?
Sample Project
I can provide a link to anyone requiring my Library and the Test App via email if needed.
The text was updated successfully, but these errors were encountered: