This solution contains no resources scoped for a Web application and cannot be deployed to a .....
来源:互联网 发布:matlab矩阵的取值 编辑:程序博客网 时间:2024/06/06 03:56
Today when i use PowerShell to run Install-SPSolution:
Install-SPSolution –Identity MySolution.wsp -AllWebApplications -GACDeployment
for deploying one solution, it occures the following message:
This solution contains no resources scoped for a Web application and cannot be deployed to a particular Web application
Resolved:
Option1:
Install-SPSolution –Identity MySolution.wsp -GACDeployment
or
Install-SPSolution –Identity MySolution.wsp -GACDeployment -Confirm:$false
Option 2:
Go to Solution Properties, Change Assembly Deployment Target from GlobalAssemblyCache to WebApplication.
- This solution contains no resources scoped for a Web application and cannot be deployed to a .....
- cannot be resolved in either web.xml or the jar files deployed with this application
- cannot be resolved in either web.xml or the jar files deployed with this application
- cannot be resolved in either web.xml or the jar files deployed with this application
- 报错: LINQ to Entities does not recognize the method...and this method cannot be translated into a sto
- The CD-ROM drive contains a CD which cannot be used for installation.
- The project you are trying to remove is currently deployed to a running application server.解决方案
- Error "The form cannot be rendered. This may be due to a misconfiguration......"的解决方案
- This application has no explicit mapping for /error, so you are seeing this as a fallback.
- This application has no explicit mapping for /error, so you are seeing this as a fallback
- This application has no explicit mapping for /error, so you are seeing this as a fallback
- Solution for :Cannot make a static reference to the non-static method
- This Task Is Currently Locked by a Running Workflow and Cannot Be Edited
- Multiple annotations found at this line: - String cannot be resolved to a type
- android Toast报错 Activity context.this cannot be resolved to a variable
- android Toast报错 Activity context.this cannot be resolved to a variable
- android Toast报错 Activity context.this cannot be resolved to a variable
- a build only device cannot be used to run this targe
- Amlogic修改LCD亮度最小值与去掉设置---平板电脑---系统更新
- C++ 异常处理 catch(...)
- 贪心 CF 332 C 好题 赞
- JSON学习
- ASIHttpRequest学习笔记(1):创建队列、下载请求、断点续传、解压缩
- This solution contains no resources scoped for a Web application and cannot be deployed to a .....
- dcom配置
- python 装饰器
- Android 对话框(三)自定义对话框
- 少奋斗10年的经验
- 反射实际运用
- C++完美实现Singleton模式
- STL中sort函数的用法
- Android实现全屏显示的方法