I refer to this example - Project.Current.SaveAs method.
I try and save into a particular unc path location,
Example when I save into
"//unc path start/untitled1/untitled1.aprx" location,
that actually saving in like //unc path start/untitled1/untitled1.aprx/untitled1.aprx
Later I change my code for parameter value "//unc path start/untitled1" as I thought, I might make mistake.
that actually saving in like //unc path start/untitled1.aprx/untitled1.aprx
I am using pro version 2.5, project type is blank project and I called that saveas method at during project saving event.
It is related to that question https://community.esri.com/thread/258880-limiting-project-saving-location