onsdag den 27. januar 2016

Install app for SharePoint: The file exists

If you have the below error in Visual Studio when you try and debug a SharePoint App:
Severity Code Description Project File Line Error Error occurred in deployment step 'Install app for SharePoint': The file exists. (Exception from HRESULT: 0x80070050) [AppName]  0
You have properly already tried:
 - Clean the solution
 - Manually uninstall the solution
 - Upgraded the App version number
 - Retracting the solution

If none of the above works and you are pulling your hair for a solution, try and run Visual Studio in Administrative mode.

This have fixed the problem for me many times and i think it was time to share it :-).

Ingen kommentarer:

Send en kommentar