-
Notifications
You must be signed in to change notification settings - Fork 105
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
Publishing symbols with releases #461
Comments
@OsirisTerje How do you feel about this one and 3.10? NUnit Framework 3.10 is adding it, so there could be a nice symmetry, and we get to debug against it that much sooner. If you have any concerns about it, it can certainly wait. |
@jnm2 What is the size impact? That is my concern. |
The NUnit Framework NuGet increased from 1.5 MB to 3.75 MB if the numbers in the issue are correct. |
Wow, this is way better than the NUnit package!
At those great ratios, the selling point of embedded source is that it works without network access and having to ask for permission. Downside is that only VS 2017.5 and newer are aware of it. The selling point of GitLink is that VS2005 and newer are aware of it. Should I do a PR to add GitLink, which will add 13% to the current size? Also, I added the results for the VSIX. So long as we keep shipping the VSIX, I don't know why we wouldn't treat it the same. I would have already found VSIX PDBs useful. |
IIRC we were starting to move away from VSIX. |
Oops, didn't see that I know Brad has dropped the xUnit VSIX, so it wouldn't be terrible if we followed his lead there. If we do remove the VSIX in 3.10, the order in which that issue and this one would be implemented probably wouldn't matter a whole lot. I'm involved in a number of .NET Framework projects, and for those you don't need to reference the VSTest SDK and the VSTest adapter from each project. I've always disliked adding them in .NET Framework projects because I considered that an implementation detail of build.cake, if you were even tied to VSTest in the first place (I prefer NUnit console). And the adapter VSIX is the best place for an implementation detail of the IDE Test Explorer window; as a ReSharper and NCrunch user, the adapter isn't even necessary there. |
@OsirisTerje I may be remembering wrong but I seem to remember wanting to step into the VSIX source. However, if you see value in not including the PDB in the VSIX, that's fine and I'll come back and start complaining later if I really need it. The only other thing is that we will have to draw that distinction in the docs so that VSIX users who read the docs don't waste time trying to source-step. |
I don't have any strong opinions on it, just being careful of it not being too big, but thinking about it, size is probably less important with the vsix than the nuget since it is not downloaded for every build and every solution. So, perhaps better to just include it. About VSIX, IIRC NUnit is now the only adapter with a vsix version, and seeing the download numbers I feel we should continue with it until 1) users are dropping off significantly 2) something technical prevents us from updating it further. |
To put the numbers above in perspective, the nupkg was 486 KB and the VSIX was 298 KB prior to the Mono.Cecil removal. That's 1.2× and 1.3× what it is now. |
@OsirisTerje That seems like a good plan for the VSIX documentation. Which way are you leaning—GitLink like the framework, or SourceLink or embedded source? |
No strong opinion, but as small as possible, which seems to indicate sourcelink, but frankly, if you used gitlink with the framework and are happy with that, the adapter should follow suit. Embedded source is bigger, and I don't think we should go that way. This is not something everyone would use anyway, right? |
SourceLink is the least fiddly besides embedded source. If source-stepping in VS2015 and earlier is not important to you, I'd say SourceLink for sure. |
To repeat the blurb from nunit/nunit#2421:
While wanting to step into adapter code might be less common than wanting to step into the framework,
it's still something that would benefit those of us who do.
What do you think of packaging either a GitLinked or source-linked PDB for the adapter assembly into the VSIX and NuGet packages?
I'm happy to do (a few) size comparisons like I did at nunit/nunit#2421 (comment). We went with GitLink for the framework which increased the nupkg size to 2.51× the original.
The text was updated successfully, but these errors were encountered: