The command "attrib -R ..\Bin\FintalBI.dll attrib -R ..\Bin\FintalBI.pdb" exited with code 9009._FintalBI


  • Hello, I have created library called fintalBI, but when build the solution file i am getting the below error in VS 2008. please can you help on this. 


    The command "attrib -R ..\Bin\FintalBI.dll attrib -R ..\Bin\FintalBI.pdb" exited with code 9009.

    Thursday, April 08, 2010 10:18 AM


  • Hello,

    Do you want to do some post-build event? Please open the properties page of your class library project and click Build Events tab on the left (C# development settings). You could specify the following to clear the readonly attribute of the dll and pdb files:

    attrib -R $(TargetDir)$(TargetFileName)
    attrib -R $(TargetDir)$(ProjectName).pdb

    If you don't want to do any post-build event, please clear the post-build event comand line box.

    Best regards

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback, please tell us.
    Welcome to the All-In-One Code Framework!
    • Marked as answer by liurong luo Monday, April 12, 2010 10:12 AM
    Thursday, April 08, 2010 11:14 AM