c# - Is there a correct method or quick way for changing the name of my application/solution -
i have made application, wondering if there way change name of application/.sln . because namespaces need changed etc.
but curious whether theres correct proceedure/easy method go it?
you can rename project right-clicking project in solution explorer , select rename. doesn’t change physical folder name. change physical folder name, first right-select “open folder in window explorer”, close solution (file> close solution), rename folder contains project (the folder in *.csproj file resides). when reopen solution, vs won’t able load project. fix this, remove stale project entry in solution explorer, right-select properties of solution > add > existing project , navigate select *.csproj file.
caveat: namespaces classes stay same before rename.
Comments
Post a Comment