fatal error CS0042: Unexpected error creating debug information fi

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Paulo Morgado [MVP]

    fatal error CS0042: Unexpected error creating debug information fi

    Hi all

    I keep getting this error while building a solution with more than 10
    projects.

    The solution/projects are open only in one instance of Visual Studio 2003
    and the application (Windows Forms) isn't runnig.

    How can I see what's loocking the files?

    --
    Paulo Morgado
    MCAD.NET (charter member)
    MVP .NET (http://support.microsoft.com/default...=fh;pt;MVPdev2)

    Responda para os grupos de discussão para toda a comunidade partilhar

  • Daniel O'Connell [C# MVP]

    #2
    Re: fatal error CS0042: Unexpected error creating debug information fi


    "Paulo Morgado [MVP]" <paulo.morgado@ community.nospa m> wrote in message
    news:3DBBFBA6-3994-4D43-B2AA-4F865D91D709@mi crosoft.com...[color=blue]
    > Hi all
    >
    > I keep getting this error while building a solution with more than 10
    > projects.
    >
    > The solution/projects are open only in one instance of Visual Studio 2003
    > and the application (Windows Forms) isn't runnig.
    >
    > How can I see what's loocking the files?
    >[/color]

    You can use http://www.sysinternals.com/ntw2k/fr.../procexp.shtml to
    determine what app has a given file open(Find->Find Handle).

    [color=blue]
    > --
    > Paulo Morgado
    > MCAD.NET (charter member)
    > MVP .NET (http://support.microsoft.com/default...=fh;pt;MVPdev2)
    >
    > Responda para os grupos de discussão para toda a comunidade partilhar
    >[/color]


    Comment

    • Kevin Yu [MSFT]

      #3
      Re: fatal error CS0042: Unexpected error creating debug information fi

      Thanks for Daniel's quick response!

      Hi Paulo,

      First of all, I would like to confirm my understanding of your issue. From
      your description, I understand that you need some tool that can tell you
      which process is using certain files. If there is any misunderstandin g,
      please feel free to let me know.

      Daniel has provided us with a good link for Process Explorer. There is
      another command line tool named handle on sysinternals site that can do the
      same thing. It can be downloaded from the following link. The usage is
      simple: handle filename.xxx



      HTH.

      Kevin Yu
      =======
      "This posting is provided "AS IS" with no warranties, and confers no
      rights."

      Comment

      • Paulo Morgado [MVP]

        #4
        Re: fatal error CS0042: Unexpected error creating debug informatio

        Thanks Daniel and Kevin

        Since I posted I never had this problem.

        I'm having other problems with the designer which says that some object
        constructers throw exceptions (which only occours in design time) even though
        they are only used after:

        if (this.DesignMod e) return;

        With the tools you directed me to I think I will be able to detect what's
        blocking my files. As soon as I can find out the origin of the problem, if I
        can't solve it, I'll start another thread.

        --
        Paulo Morgado

        "Kevin Yu [MSFT]" wrote:
        [color=blue]
        > Thanks for Daniel's quick response!
        >
        > Hi Paulo,
        >
        > First of all, I would like to confirm my understanding of your issue. From
        > your description, I understand that you need some tool that can tell you
        > which process is using certain files. If there is any misunderstandin g,
        > please feel free to let me know.
        >
        > Daniel has provided us with a good link for Process Explorer. There is
        > another command line tool named handle on sysinternals site that can do the
        > same thing. It can be downloaded from the following link. The usage is
        > simple: handle filename.xxx
        >
        > http://www.sysinternals.com/ntw2k/freeware/handle.shtml
        >
        > HTH.
        >
        > Kevin Yu
        > =======
        > "This posting is provided "AS IS" with no warranties, and confers no
        > rights."
        >
        >[/color]

        Comment

        • Kevin Yu [MSFT]

          #5
          Re: fatal error CS0042: Unexpected error creating debug informatio

          You're welcome, Paulo. Thanks for sharing your experience with all the
          people here. If you have any questions, please feel free to post them in
          the community.

          Kevin Yu
          =======
          "This posting is provided "AS IS" with no warranties, and confers no
          rights."

          Comment

          Working...