Skip to content
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

Can't open pdb file ...\packages\sqlite-net-pcl.1.4.118\lib\netstandard1.1\SQLite-net.pdb #614

Closed
aphex3k opened this issue Aug 15, 2017 · 7 comments
Assignees
Labels

Comments

@aphex3k
Copy link

aphex3k commented Aug 15, 2017

I'm trying to build a Windows Phone 8 project from command line using MSBuild. Using Visual Studio 2015 everything seems to be working ok, but from command line I get the following error:

_GenerateAppxSymbolPackage:
Can't open pdb file <redacted>.mobile\packages\sqlite-net-pcl.1.4.118\lib\netstandard1.1\SQLite-net.pdb

I fails creating the debug symbols and subsequently errors out at the CreateAppStoreContainer step due to the missing .appxsym.

This is the command line i use to kick of the build:

"C:\Program Files (x86)\MSBuild\14.0\bin\amd64\MSBuild.exe" /target:<redacted>_WindowsPhone8 /p:Configuration=Release "/p:Platform=Any CPU" /m /p:DebugSymbols=false /p:DebugType=None <redacted>.mobile.sln

Please let me know if what more information you need or maybe I'm doing it wrong?

FWIW the Windows 10 UWP build works fine from command line...

@aphex3k
Copy link
Author

aphex3k commented Aug 16, 2017

I think when using Visual Studio to add the nuget package it adds the wrong reference. It adds lib\netstandard1.1 when it should add lib\portable-net45+wp8+wpa81+win8+MonoAndroid10+MonoTouch10+Xamarin.iOS10?!

@praeclarum
Copy link
Owner

Yeah darn. The PDB file is the new portable format - perhaps VS 2015 can't understand it. I would have assumed it would just ignore it then. I guess I could remove it?

@praeclarum praeclarum self-assigned this Aug 16, 2017
@praeclarum praeclarum added the Bug label Aug 16, 2017
@aphex3k
Copy link
Author

aphex3k commented Aug 16, 2017

other pdbs seem to work ok though? Im not to familiar with msbuild so I can only guess but I have a hunch your question was rethorical?

@praeclarum
Copy link
Owner

Yeah the format changed but the extension remained the same. Unfortunately I use mono to build everything and can't generate the old format. I'll strip them out.

@aphex3k
Copy link
Author

aphex3k commented Aug 16, 2017

Thanks Frank!

@schuettecarsten
Copy link
Contributor

schuettecarsten commented Aug 26, 2017

Please reopen this issue because the problem is still there in the latest NuGet release

@SBortz
Copy link

SBortz commented Sep 21, 2017

Same problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants