Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

BizTalk Assembly copy error

Error 1 Unable to Copy file "obj\Debug\Ceridian.Fin.Ora.Lockbox.Pipeline.dll" to "bin\Debug\Ceridian.Fin.Ora.Lockbox.Pipeline.dll". The process cannot access the file 'bin\Debug\Ceridian.Fin.Ora.Lockbox.Pipeline.dll' because it is being used by another process. Pipeline

It basically happens to me bacause i grab it from TFS and the dll is locked to copy.

Solution:

go to your visual studio application properties
2.Select build events
3.copy this code
if exist "$(TargetPath).locked" del "$(TargetPath).locked"
if not exist "$(TargetPath).locked" move "$(TargetPath)" "$(TargetPath).locked"

to prebuild events

Now deploy again and see whether you can deploy or not.



This post first appeared on Technology Zone, please read the originial post: here

Share the post

BizTalk Assembly copy error

×

Subscribe to Technology Zone

Get updates delivered right to your inbox!

Thank you for your subscription

×