6
私はビルドを行うと、それは私のdllファイルをロックし、それ以降はで失敗ビルドをポストビルドステップでウィックス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" />
をウィックスHeatFileタスクを使用しています:
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