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

BinaryCache causes incorrect results when DLL is updated #271

Closed
ClxS opened this issue Jul 2, 2024 · 1 comment
Closed

BinaryCache causes incorrect results when DLL is updated #271

ClxS opened this issue Jul 2, 2024 · 1 comment

Comments

@ClxS
Copy link

ClxS commented Jul 2, 2024

This is an issue I ran into when working on exporting a third party library as a DLL. My first attempt failed at setting up the dllexport failed, I verified this with Dependencies.
I then fixed my issue, rebuilt, and to my surprise Dependencies still reports that the DLL has no exported symbols.

I did not know about the binary caching mechanism at the time so assumed I had made a mistake, causing a wild goose chase. I eventually figured it out when I copied the DLL somewhere else and then re-checked with Dependencies, and magically it showed the dllexports I had been looking for!

Should BinaryCache at very least verify that the datetime of the cache entry is newer than the file being checked to prevent this issue in the future? or have the caching behaviour as a UI configurable option.

@ClxS
Copy link
Author

ClxS commented Jul 2, 2024

Just discovered #54 which this is a duplicate of, closing.

@ClxS ClxS closed this as completed Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant