RE: build error - locked file

Discussion in 'ASP .Net' started by Steven Cheng[MSFT], Dec 8, 2006.

  1. Hello Dave,

    Have you tried checking the indexing service issue Rad has mentioned?
    Also, I found that the problem assembly has a strong-name key token. Is
    this problem assembly(strong-named) put in the private bin dir of your
    ASP.NET web application or in GAC? If it is in private bin dir, I suggest
    you install it into GAC since ASP.NET does not support strong-named
    assembly in private bin dir and this could cause potential file locking or
    other expected issue.

    Sincerely,

    Steven Cheng

    Microsoft MSDN Online Support Lead


    This posting is provided "AS IS" with no warranties, and confers no rights.
     
    Steven Cheng[MSFT], Dec 8, 2006
    #1
    1. Advertising

  2. Hi Dave,

    So far I haven't found any built-in setting in VS IDE that can
    automatically add assembly into GAC. I think you need to use the post-build
    event to add the build assembly into GAC. BTW, is those problem assembly
    originally put in BIN dir?

    Sincerely,

    Steven Cheng

    Microsoft MSDN Online Support Lead


    This posting is provided "AS IS" with no warranties, and confers no rights.
     
    Steven Cheng[MSFT], Dec 11, 2006
    #2
    1. Advertising

  3. Thanks for your reply Dave,

    Yes, you are right. This limitation is specific to ASP.NET 1.0/1.1, in
    ASP.NET 2.0, there is no longer such limitation, since no matter the
    assembly is strong-named or not(in bin dir), it will be loaded per
    app-domain and shadow copied. I've get confirmation from some other dev
    team engineers.


    Sincerely,

    Steven Cheng

    Microsoft MSDN Online Support Lead


    This posting is provided "AS IS" with no warranties, and confers no rights.
     
    Steven Cheng[MSFT], Dec 12, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mark Kamoski
    Replies:
    1
    Views:
    2,466
  2. Matthew Louden
    Replies:
    0
    Views:
    494
    Matthew Louden
    Dec 4, 2003
  3. David W. Deley

    What is HTTP error code 423 "Locked"?

    David W. Deley, Jun 30, 2003, in forum: HTML
    Replies:
    7
    Views:
    10,634
    Andy Dingley
    Jul 1, 2003
  4. Rad [Visual C# MVP]

    Re: build error - locked file

    Rad [Visual C# MVP], Dec 6, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    487
    Rad [Visual C# MVP]
    Dec 6, 2006
  5. Juan T. Llibre

    Re: build error - locked file

    Juan T. Llibre, Dec 6, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    545
    Juan T. Llibre
    Dec 6, 2006
Loading...

Share This Page