Re: reference dependency warnings during build

Tech-Archive recommends: Speed Up your PC by fixing your registry



Probably another DLL that you are also referencing, that also points to
Project1. And that DLL was compiled when Project1 still had a build of
..2006.

I have 2 suggestions:

1. Fix the version number of your DLL's, and update them only during version
upgrades of your application
2. set CopyLocal to False on all your references.

<marfi95@xxxxxxxxx> wrote in message
news:1120141308.077537.309780@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> In the project I'm working on, I have a reference to another project of
> mine that is the base class objects for my system. The problem I have
> is that when I build my project, it compiles, but I get following
> warning:
>
> Warning: The dependency 'Intface1, Version=1.0.2006.32652,
> Culture=neutral' in project 'Project1' cannot be copied to the run
> directory because it would overwrite the reference 'Intface1,
> Version=1.0.2007.12912, Culture=neutral'.
>
> Here is the thing though:
>
> The version on the reference in the project is the .2007 version. I've
> looked at the version #'s on all the files and they are all the .2007
> version. I can't find anywhere on my drive where this .2006 version is
> coming from. I also looked in the registry.
>
> Where in the world is this coming from ?
>
> Thanks,
> Mark
>


.



Relevant Pages

  • Re: C++/CLI is the way to go
    ... Delphi implements reference counted objects. ... So far to the mystery that nearly everything compiles to .NET seamlessly. ... other languages do with the references. ... CLR, or make that portion of the language incompatible with other CLR ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Managed extension methods getting renamed
    ... > Everything compiles without error and I can reference the generated ... > .dll from a C# project. ... Tomas Restrepo ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Which to use VB.NET or C#?
    ... > You can simply create your class libraries in a separate project and reference them. ... > You can then just recompile them if you wish. ... Also, precompiling a Web site compiles only that site, not any child sites. ... If a Web site contains a child folder that is marked as an application in IIS, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Namespaces - broad question
    ... that way, to make it simpler to reference them during development, instead ... use with one aspx page. ... > When VS.NEt compiles your web project, it places all the classes in one ... How can you write a page that inherits ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: java.lang.VirtualMachineError: Illegal CONSTANT_Class reference
    ... It compiles fine, but at runtime I get the following: ... java.lang.VirtualMachineError: Illegal CONSTANT_Class reference ... Using EclipseME plugin in Eclipse 3.1.2 with the Sun Wireless Toolkit 2.2. ... compiler compliance level 1.4, .class file compatabillity set to 1.1, source compatability is 1.3.) ...
    (comp.lang.java.programmer)