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

Symbols missing for microsoft.extensions.commandlineutils 1.1.1 #2499

Closed
IlyaBiryukov opened this issue Oct 11, 2019 · 8 comments
Closed

Symbols missing for microsoft.extensions.commandlineutils 1.1.1 #2499

IlyaBiryukov opened this issue Oct 11, 2019 · 8 comments

Comments

@IlyaBiryukov
Copy link

Our VS payload depends on microsoft.extensions.commandlineutils 1.1.1.
When we do insertion into VS, it complains that it cannot find symbols for microsoft.extensions.commandlineutils.dll, see VS #958010
The PDB signature hash it's looking for is D1A06F78-7E8D-400B-ACA1-15CC3DA0A798

@Pilchie
Copy link
Member

Pilchie commented Oct 12, 2019

@aspnet/build anyone have any ideas? @IlyaBiryukov I'm going to guess that you should be on a MUCH newer version as 1.1 has been out of support for a while know.

@dougbu
Copy link
Member

dougbu commented Oct 12, 2019

We no longer support Microsoft.Extensions.CommandLineUtils. We have a similar shared source package but only for use within ASP.NET Core projects.

@IlyaBiryukov what "VS payload" are you talking about?

@IlyaBiryukov
Copy link
Author

We use Microsoft.Extension.CommandLineUtils in our Live Share extension, and when we insert it into VS (e.g. This insertion), VS complains about missing symbols.

What newer version would you recommend? The one you still support that is.

@dougbu
Copy link
Member

dougbu commented Oct 14, 2019

I don't recommend using either Microsoft.Extension.CommandLineUtils or the newer Microsoft.Extension.CommandLineUtils.Sources outside ASP.NET Core repos. I'm surprised you took a dependency on the Microsoft.Extension.CommandLineUtils package.

Microsoft.Extension.CommandLineUtils.Sources is still in use for our repos but it's a shared source package, meaning you'll need to disable VS insertions and compile against the new package instead.

@IlyaBiryukov
Copy link
Author

So, your recommendation would be to switch to Microsoft.Extension.CommandLineUtils.Source? I don't see it on NuGet.org.

We cannot disable our insertions into VS. We ship with VS, and our package is enabled by default in several setup workflows.

The NuGet package Microsoft.Extensions.CommandLineUtils is public on NuGet.org and has 6K downloads per day and 2M total downloads for 1.1.1. Widely used by community it looks like. Are you sure it's discontinued?

@dougbu
Copy link
Member

dougbu commented Oct 15, 2019

Are you sure it's discontinued?

Yup. We last updated Microsoft.Extensions.CommandLineUtiils more than 2 years ago.

We cannot disable our insertions into VS

Sorry, I wasn't clear. I was talking about not inserting just Microsoft.Extensions.CommandLineUtiils while building your code against Microsoft.Extensions.CommandLineUtiils.Sources.

Mid-term I'd prefer you transition to

I don't see it on NuGet.org.

It's available in a couple of feeds, including


Overall this short-term change would give you symbols and allow your code to remain unchanged (modulo whatever we've fixed in the .Sources package). But, I recommend moving to another option mid-term because we're talking about an implementation detail of ASP.NET Core that isn't supported outside our small group.

@Pilchie please jump in to confirm, deny or change what I'm saying here. (We certainly can do things differently going forward.)

@pranavkm
Copy link

AspNetCore did not publish symbols to feeds as part of the 1.1 release, but I might be able to wrangle the symbol from the build drop share. Taking this offline. For all other users, #257 has some suggestions for alternative command line parsers to use.

@jmarolf
Copy link

jmarolf commented Nov 9, 2019

Just want to chime in that there are still no symbols uploaded for this nuget package. We were also bitten by this while inserting into VS. @pranavkm would you consider de-listing the package from nuget if no one is supposed to use it?

@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants