2012-02-27 19 views
6
Ben bir post inşa adımda Wix HeatFile görevi kullanıyorum

Wix HeatFile Görev Kilitler 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" /> 

, benim dll kilitler ve sonraki başarısız oluşturur:

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'yu yeniden başlatana kadar

.

Wix görevini bu soruna neden engelleyebilirim?

cevap