Skip to content
This repository has been archived by the owner on Apr 16, 2020. It is now read-only.

AllowedOutputExtensionsInPackageBuildOutputFolder .pdb #282

Closed
ctaggart opened this issue Nov 15, 2017 · 11 comments
Closed

AllowedOutputExtensionsInPackageBuildOutputFolder .pdb #282

ctaggart opened this issue Nov 15, 2017 · 11 comments
Milestone

Comments

@ctaggart
Copy link
Owner

@jnm2 mentioned a nice workaround for the pdb packing problem NuGet/Home#4142 (comment)

<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>

Can/should we just incorporate this?

@jnm2
Copy link
Contributor

jnm2 commented Nov 16, 2017

Incorporate into a package published from this repo, or just incorporate into the codebase here?

I can't count the number of MSBuild workaround snippets I've posted around the place in the last year so I think of each as a hopefully very temporary stopgap till the SDKs get their act together. Reserving a NuGet package name for each shortcoming of an SDK isn't the first thing that comes to my mind. But neither do I have anything against someone else doing so. 😃

@ctaggart
Copy link
Owner Author

I was thinking directly into the targets.

@jnm2
Copy link
Contributor

jnm2 commented Nov 16, 2017

Ah, I'm sorry for being slow. You'd just add it to all the .targets of the existing packages you publish?
(Can I vote for .props so I can override it in a .csproj if I feel like it?)

@ctaggart
Copy link
Owner Author

Correct, existing packages. Yes, props is the right way.

@ctaggart ctaggart added this to the 2.6.0 milestone Nov 16, 2017
@ctaggart
Copy link
Owner Author

I'll tag a 2.6.0 after this is fixed. FYI, I expect SourceLink to get a lot of attention tomorrow.

@jnm2
Copy link
Contributor

jnm2 commented Nov 16, 2017

FYI, I expect SourceLink to get a lot of attention tomorrow.

Oh? ...oh, congratulations! =D

@jnm2
Copy link
Contributor

jnm2 commented Nov 16, 2017

I did not know this:

AllowedOutputExtensionsInPackageBuildOutputFolder requires VS 2017 15.4 / .NET Core 2.0.2 SDK to work. Perhaps VSTS hasn't updated yet?

NuGet/Home#4142 (comment)

Does that change anything?

@ctaggart
Copy link
Owner Author

No, as long as it is benign.

@ctaggart ctaggart modified the milestones: 2.6.0, 2.7.0 Nov 17, 2017
@ctaggart
Copy link
Owner Author

I released 2.6.0 with the previous changes. I added this information to the readme.

@ctaggart
Copy link
Owner Author

@jnm2, any chance you could look at #291? It isn't working for me at the moment and I'm not sure why. No rush.

@ctaggart
Copy link
Owner Author

Fixed by #291.

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

2 participants