IVsSolution3::UpdateProjectFileLocationForUpgrade Method (String^, String^)
Visual Studio 2015
Notifies a solution to update project file locations.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
int UpdateProjectFileLocationForUpgrade(
String^ pszCurrentLocation,
String^ pszUpgradedLocation
)
Parameters
- pszCurrentLocation
-
Type:
System::String^
[in] The current project file location.
- pszUpgradedLocation
-
Type:
System::String^
[in] The updated project file location.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
This method will tell the solution to update the internal filenames it is keeping for a project. This is used, for example, when a web project is upgraded so the solution knows the correct path to the upgraded web.
From vsshell80.idl:
HRESULT UpdateProjectFileLocationForUpgrade(
[in] LPCOLESTR pszCurrentLocation,
[in] LPCOLESTR pszUpgradedLocation
);
Show: