Thursday, May 7, 2015

Error occurred in deployment step 'Install app for SharePoint': Failed to install app for SharePoint. Please see the output window for details.

"Error occurred in deployment step 'Install app for SharePoint': Failed to install app for SharePoint. Please see the output window for details."

There are many reasons to get this error message..
In my case this is the reason..

if we are working with "Manage NuGet Packages.." some times a config file namely "App.Config" will be add into our solution.

This is the App.Config File

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="System.IdentityModel" publicKeyToken="b77a5c561934e089" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.ServiceModel" publicKeyToken="b77a5c561934e089" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>

</configuration>

Solution1:-
1. "App.Config" => right click => deployment type ="NoDeployment" and try to deploy.

Solution2:-
2. So delete this App.Config and try to deploy again. our will be deploy successfully.

1 comment:

Featured Post

Claude Certified Developer – Foundations

Claude Certified Developer The course arc: M1 gives the vocabulary → M2 builds the production API skills → M3 moves them into Claude Code/M...

Popular posts