I am working on legacy .net project where we are using one nuget package which is named as "ML.LeadApproval.Contract".So now I did some changes to this leadApproval project and build a new nuget package but when I installed this new package to my legacy project I am receiving build errors as "The type or namespace name 'LeadApproval' does not exist in the namespace 'ML' (are you missing an assembly reference?"
And the weird thing is when I open any file which refer something from this nuget package, error getting vanished from that file but again when build it or try to run it again I am getting same build errors.
It is working fine when I reinstalled the old package.
Not sure what's wrong.Thank you!