Add warning if packages.config is used#46
Conversation
|
Not getting any warning in my sample project: ConsoleApp1.zip But I think I added it correctly because after using the VS feature to convert packages.config to |
|
Is the implication here that consuming applications would be encouraged to migrate away from the use of a |
|
Yes. Source generators just don't seem to work at all with packages.config, so I don't think they'd have much of a choice 😅 |
|
Alrighty then! I'll annotate that on my unit test repo for future reference. :) It's fine with me, since NuGet restore in Azure Devops pipelines seems to have a problem restoring packages from a Packages.config for project references anyway. So I'm with you. |
663c24e to
971e368
Compare
7228b48 to
210120c
Compare
|
Hey @cremor, I've updated the .targets file with new logic to check for packages.config, it should work correctly now 😄 |
Closes #45
Description
This PR adds a warning if packages.config is used in consuming projects.