我的FSI脚本中有以下语句
#I @"C:\path\to\bin\Debug\myassembly.dll"
当我尝试再次构建引用的dll时,我得到了一个
Unable to copy file "obj\Debug\myassembly.dll" to "bin\Debug\myassembly.dll". The process cannot access the file 'bin\Debug\myassembly.dll' because it is being used by another process.
我试过关闭FSI窗口,仍然没有帮助。有什么想法吗?
答案 0 :(得分:2)
我找到了解决方案。而不是关闭保留状态的FSI窗口。我应该运行#quit;;
命令。