【发布时间】:2017-02-21 19:29:00
【问题描述】:
我正在开发一个使用 libgit2sharp 的库,并且我正在尝试将其包含在一个 asp.net WEB API 项目中。
库本身的构建没有任何问题。此外,使用我开发的库的控制台和 WPF 项目编译没有任何问题。但是,当我在 ASP.NET Web API 项目中包含该库时,会出现以下错误。
Failed to make the following project runnable: MYAPI(.NETFramework,Version=v4.5.2) reason: The process cannot access the file 'c:\path\to\project\packages\libgit2sharp.nativebinaries.1.0.164\libgit2\libgit2sharp.dll.config'
because it is being used by another process. MYAPI C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Common.Targets 262
【问题讨论】:
标签: c# asp.net asp.net-web-api libgit2sharp