You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found this project today, and stumbled upon the following sentence in the documentation:
Note that your application must be built using “Prefer 32-bit” unchecked if the Platform Target is set to Any CPU. Also note that your application must be built for 64-bit to work on a 64-bit system (or Any CPU with Prefer 32-bit off), and in 32-bit to work on a 32-bit system.
After a quick look at the source it seems to me, that the name of the loaded platform binary is built in GetPlatformSpecificAssemblyShortName() which checks Environment.Is64BitOperatingSystem.
I would suggest replacing this check with the following code:
Yes, but I don't want the process bitness, I need the operating system bitness, so to speak. So I do need Environment.Is64BitOperatingSystem. If this would differ the process bitness, then VSS will not work, hence the comment that the process must be built for (or run in) the same bitness as the operating system.
I've found this project today, and stumbled upon the following sentence in the documentation:
After a quick look at the source it seems to me, that the name of the loaded platform binary is built in GetPlatformSpecificAssemblyShortName() which checks
Environment.Is64BitOperatingSystem
.I would suggest replacing this check with the following code:
The documentation clearly states, that this property can be used to detect the process bitness:
The text was updated successfully, but these errors were encountered: