Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

how to solve NuGet problem of OpenCV or glag except Uninstall and reinstall #177

Open
Lvhhhh opened this issue Sep 11, 2019 · 3 comments
Open

Comments

@Lvhhhh
Copy link

Lvhhhh commented Sep 11, 2019

it often happens when i compile the libcaffe using VS2013
such as :
错误 3 error MSB4062: 未能从程序集 E:\code\caffe-master\NugetPackages\gflags.2.1.2.1\build\native\private\coapp.NuGetNativeMSBuildTasks.dll 加载任务“NuGetPackageOverlay”。未能加载文件或程序集“file:///E:\code\caffe-master\NugetPackages\gflags.2.1.2.1\build\native\private\coapp.NuGetNativeMSBuildTasks.dll”或它的某一个依赖项。另一个程序正在使用此文件,进程无法访问。 (异常来自 HRESULT:0x80070020) 请确认 声明正确,该程序集及其所有依赖项都可用,并且该任务包含实现 Microsoft.Build.Framework.ITask 的公共类。 E:\code\caffe-master\NugetPackages\gflags.2.0.1.0\build\native\gflags.targets 329 5 libcaffe

it usually happenes on OpenCV or glag

Normally, i uninstall and reinstall them in NuGet. but it happened frequently.
how to solve it in other way?? thank you for your time

@Lvhhhh
Copy link
Author

Lvhhhh commented Sep 11, 2019

错误 1 error MSB4062: 未能从程序集 E:\code\caffe-master\NugetPackages\gflags.2.1.2.1\build\native\private\coapp.NuGetNativeMSBuildTasks.dll 加载任务“NuGetPackageOverlay”。未能加载文件或程序集“file:///E:\code\caffe-master\NugetPackages\gflags.2.1.2.1\build\native\private\coapp.NuGetNativeMSBuildTasks.dll”或它的某一个依赖项。另一个程序正在使用此文件,进程无法访问。 (异常来自 HRESULT:0x80070020) 请确认 声明正确,该程序集及其所有依赖项都可用,并且该任务包含实现 Microsoft.Build.Framework.ITask 的公共类。 E:\code\caffe-master\NugetPackages\gflags.2.0.1.0\build\native\gflags.targets 346 5 libcaffe

@Lvhhhh
Copy link
Author

Lvhhhh commented Sep 11, 2019

such as this error ,i uninstall and install glog in NuGet many times and close VS open it in Administrator Mode it still has this problem. Any one can solve it???

@Lvhhhh
Copy link
Author

Lvhhhh commented Sep 11, 2019

when i choose windows caffe to do something, normally, i will uninstall and install glog or Opencv billion times, can it be solved?!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant