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

Show relative path of addin assemblies that are being loaded #3733

Closed
augustoproiete opened this issue Dec 6, 2021 · 1 comment · Fixed by #3734
Closed

Show relative path of addin assemblies that are being loaded #3733

augustoproiete opened this issue Dec 6, 2021 · 1 comment · Fixed by #3734
Assignees
Milestone

Comments

@augustoproiete
Copy link
Member

When Cake loads assemblies of an addin, it displays a diagnostic message that looks like this:

The addin Cake.MyAddin will reference Cake.MyAddin.dll.

Addins often target multiple TFMs and have a folder structure that looks similar like this:

tools\Addins\Cake.MyAddin.2.0.0\lib\net6.0\Cake.MyAddin.dll
tools\Addins\Cake.MyAddin.2.0.0\lib\net5.0\Cake.MyAddin.dll
tools\Addins\Cake.MyAddin.2.0.0\lib\netcoreapp3.1\Cake.MyAddin.dll

The current diagnostic message does not show which of these assemblies were loaded, which is very useful when troubleshooting compatibility issues.

Proposal

Show relative path of the assembly being loaded. E.g.:

The addin Cake.MyAddin will reference tools/Addins/Cake.MyAddin.1.0.0/lib/net6.0/Cake.MyAddin.dll.
@augustoproiete augustoproiete added this to the v2.1.0 milestone Dec 6, 2021
@augustoproiete augustoproiete self-assigned this Dec 6, 2021
augustoproiete added a commit to augustoproiete-forks/cake-build--cake that referenced this issue Dec 6, 2021
augustoproiete added a commit to augustoproiete-forks/cake-build--cake that referenced this issue Dec 6, 2021
@cake-build-bot
Copy link

🎉 This issue has been resolved in version v2.1.0 🎉

The release is available on:

Your GitReleaseManager bot 📦🚀

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