Why do I keep getting a warning that a reference cannot be overwritten when I compile?

  • Thread starter Thread starter nfr
  • Start date Start date
N

nfr

I keep getting the following warning in my compile:
Warning: The dependency 'WBWebServices, Version=1.0.1289.13943,
Culture=neutral' in project 'WBWin' cannot be copied to the run directory
because it would overwrite the reference 'WBWebServices,
Version=1.0.1289.15088, Culture=neutral'.

If I delete and readd the reference, it compiles fine but when I come leave
and return to Visual Studio.NET, the error pops up again when I recompile
the project.
 
nfr,

You are trying to compile a version of your assembly someplace where a
later version is already in place. Are you using automatic version
numbering on your assembly? In other words, are you explicitly controlling
the version number through the AssemblyVersion attribute?

Hope this helps.
 
Nicholas Paldino said:
nfr,

You are trying to compile a version of your assembly someplace where a
later version is already in place. Are you using automatic version
numbering on your assembly? In other words, are you explicitly controlling
the version number through the AssemblyVersion attribute?

I don't know. Everythihng is defaulted. Could that cause a problem?
 
Back
Top