Have you possibly updated PI SDK in your development environment? What library version is your Visual Studio project pointing to and what's the installed PI SDK version?
To fix the issue, you may want to remove references to PISDK, PISDKCommon and possibly PITimeserver and add them again.
I modified the properties of my project in visual studio to add the dll directory and it works.
I don't know what happened but now, it is ok.