Visual Studio: The Operation could not be completed. The parameter is incorrect July 11, 2023 by Tarik Dan (the original poster) mentioned in a comment above that running Visual Stuio as admin solved this for him.