Windows Vista Forums

The referenced component could not be found (C#, VS2005-SP1)

  1. #1


    StefanM Guest

    The referenced component could not be found (C#, VS2005-SP1)

    Hi,

    every now and then I get this warning on a simple C# project which
    just contains one .cs-file for some base classes. The only referenced
    DLL is for a typed dataset. The project of the typed dataset is also
    included in the solution.

    When I try to rebuild my project I get this warning and the referenced
    DLL gets marked with an exclamation mark in the solution explorer. If
    I click on the reference the mark disappears. I already tried to
    delete then add the refenrence again. But still "rebuild" brings up
    the warning.

    The property "Specific version" is set to "false". The DLL exists in
    the given path. It makes no difference wether "Copy Local" is set to
    true or false. Normaly I use "true".

    Can somebody tell me what I have to do to get rid og this warning?

    TIA,
    Stefan

      My System SpecsSystem Spec

  2. #2


    Pavel Minaev Guest

    Re: The referenced component could not be found (C#, VS2005-SP1)


    "StefanM" <stefan.spam@xxxxxx> wrote in message
    news:c91202f2-d3d9-4e23-a04a-1b89c26f6c01@xxxxxx

    > Hi,
    >
    > every now and then I get this warning on a simple C# project which
    > just contains one .cs-file for some base classes. The only referenced
    > DLL is for a typed dataset. The project of the typed dataset is also
    > included in the solution.
    >
    > When I try to rebuild my project I get this warning and the referenced
    > DLL gets marked with an exclamation mark in the solution explorer. If
    > I click on the reference the mark disappears. I already tried to
    > delete then add the refenrence again. But still "rebuild" brings up
    > the warning.
    It sounds like you have two projects in your solution, and you've referenced
    a DLL built by one project from another project directly as a file (i.e.,
    you added a file reference, not a project reference).

    In this case, I wonder if what actually happens is that you rebuild the
    entire solution (and not just the second project). When it builds the first
    project, it deletes the .dll before rebuilding it - perhaps at that moment
    VS itself detects it, and displays that warning? Of course, by the time you
    click on it, the first project has finished building, and the DLL is already
    there...




      My System SpecsSystem Spec

The referenced component could not be found (C#, VS2005-SP1)

Similar Threads
Thread Forum
Prevent DLL from being referenced
How can I prevent a third-party user from referencing the object that i1ve created? Strong name will prevent from diasemblying only, right?? i...
.NET General
The instruction at “0x73dd11c7” referenced memory at “0x00000004
I hope someone can help me. I was trying to open a program the other day on my Gateway MX3702 with Windows XP Verison 5.1 Service Pack 3 laptop and...
.NET General
Runtime error 429 active x component cannot be found
:confused: trying to print a sheet from a third party software program in vista with home premium 32 bit and i get runtime error 429 active x...
Vista print fax & scan
referenced memory at “0x00000004”
I hope someone can help me. I was trying to open a program the other day on my Gateway MX3702 with Windows XP Version 5.1 Service Pack 3 laptop and...
.NET General
RunspaceInvoke does not load referenced assemblies?
I've got a custom application which uses RunspaceInvoke to execute scripts. I'm referencing a custom assembly in the my project. When I try to use...
PowerShell
How to debug component written in VS2003 in a VS2005 application
I have a component that was developed in VS2003 that I need to debug in a VS2005 application. Basic steps are: Build the component for Debug...
.NET General
copying files referenced in an array...help?
How would i create an array with a list of files in it, then have those files copied to a specific location? would you use a ForEach statement? ...
PowerShell