Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Assembly Deployment Target : WebApplication

$
0
0

Hi all,

i have a Empty SharePoint Project without anything, I change on the project properties the: Assembly Deploymnet Target to WebApplication.

Now I publish the solution to c:\ drive and I add the solution :

$SolParameters = [PSCustomObject]@{
      Identity = 'SP_WebApplicationV3.wsp'
      Literalpath = 'C:\SP_WebApplicationV3.wsp'
      WebApplication =  'http://srv2013/'
}

Add-SPSolution $SolParameters.Literalpath

I can Add the Solution.

No I want install the solution:

Install-SPSolution -Identity $SolParameters.Identity -WebApplication $SolParameters.WebApplication -Force

and I get following error:

Install SPSolution: The Solution "sp_webapplicationv3.wsp" assemblies installed in the directory "bin". The "bin" directory is
outdated, and installed in this directory assemblies are no longer partial trust, but they are full
Trustworthiness granted. This solution should be updated so that their assemblies in the global assembly cache instead
(GAC) to be installed. If you install fully trust this solution and it continues in the legacy directory "bin"
want to give the "-FullTrustBinDeployment" parameter to suppress this warning.
Line: 1 Char: 1
+ Install SPSolution -Identity $ SolParameters.Identity -WebApplication $ SolParamet ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     + Info Category: InvalidOperation: (Microsoft.Share ... Install Solution: SPCmdletInstallSolution) [Install-SPSolution], SPC
    mdletException
     + FullyQualifiedErrorId: Microsoft.SharePoint.PowerShell.SPCmdletInstallSolution


can anyone maybe help me?

thanks in advance!

Best regards
Ahmad


SP 2013 & SPD 2013 & VS 2013 & MSSQL 2012


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>