What comparison mechanism does Nuget use during update operation to check if package content files were modified in the host project?
What comparison mechanism does Nuget use during update operation to check if package content
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Nuget uses CRC (cyclic redundancy check) to compare original package files with versions already extracted in the host project.
It calculates 32-bit CRC for package file and extracted file and compare those values. Following Stream extension method is used for comparison: