6
我使用的维克斯HeatFile任务后生成步骤维克斯HeatFile任务锁住的Dll
<HeatFile OutputFile="Interop.dll.wxs" File="..\Interop\bin\x86\$(Configuration)\Interop.dll" DirectoryRefId="INSTALLDIR" ComponentGroupName="Interop_Dll" AutogenerateGuids="true" SuppressFragments="true" SuppressRootDirectory="true" ToolPath="$(WixToolPath)" PreprocessorVariable="var.InteropBinDir" />
一旦我做一个构建,它锁定我的DLL和后续构建失败:
Error 6 Unable to copy file "obj\x86\Debug\Interop.dll" to "bin\x86\Debug\dll". The process cannot access the file 'bin\x86\Debug\Interop.dll' because it is being used by another process. Interop
直到我重新启动Visual Studio。
如何阻止Wix任务导致此问题?
太棒了。谢谢!!! – Jeff 2012-04-05 12:49:09