我想将.net库从框架版本4.5降级到.net 4.0.
我使用nuget安装了几个库:
我做以下事情:
在我的解决方案中的每个项目的设置中,我将目标框架设置为4.0.之后我尝试重建我的解决方案但当然没有成功因为错误The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?),HTTP Client libs也是如此
使用nuget ui manager我删除了依赖项并尝试重新安装.但是有一个错误Could not install package 'Microsoft.AspNet.WebApi.Client 5.1.1'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.0', but the
package does not contain any assembly references or content files that are compatible with that framework. For more information, …
我有生产Rails 3.2.3应用程序,我用它来使用capistrano进行部署.当我决定将rails升级到3.2.11时,我做了以下步骤:
Capistrano现在失败并出现错误:
* 2013-01-11 15:58:25 executing `deploy:assets:precompile'
triggering before callbacks for `deploy:assets:precompile'
* 2013-01-11 15:58:25 executing `deploy:assets:update_asset_mtimes'
* executing "[ -e /home/deploy/projects/otv/shared/assets/manifest.yml ] && cat /home/deploy/projects/otv/shared/assets/manifest.yml || echo"
servers: ["xxx.xxx.99.51"]
[xxx.xxx.99.51] executing command
command finished in 28ms
* executing "cd -- /home/deploy/projects/otv/releases/20130111095812 && export LANG=en_US.UTF-8 && /usr/local/bin/bundle exec rake RAILS_ENV=production RAILS_GROUPS=assets assets:precompile && cp -- /home/deploy/projects/otv/shared/assets/manifest.yml /home/deploy/projects/otv/releases/20130111095812/assets_manifest.yml"
servers: ["xxx.xxx.99.51"]
[xxx.xxx.99.51] executing command
** [out :: xxx.xxx.99.51] cp: cannot stat ‘/home/deploy/projects/otv/shared/assets/manifest.yml’: No such file or directory …Run Code Online (Sandbox Code Playgroud)