Home All Groups Group Topic Archive Search About

Anyone know what could cause the following error messages?

Author
1 Apr 2005 4:05 AM
Just Me
Anyone know what could cause the following error messages?
Note the versions are:
A...B
B...A

Warning: The dependency 'LibraryCs, Version=1.0.1916.39646, Culture=neutral'
in project 'CAG ControlCapture' cannot be copied to the run directory
because it would overwrite the reference 'LibraryCs, Version=1.0.1916.35045,
Culture=neutral'.

Warning: The dependency 'LibraryCs, Version=1.0.1916.35045, Culture=neutral'
in project 'CAG ExecutableStudio' cannot be copied to the run directory
because it would overwrite the reference 'LibraryCs, Version=1.0.1916.39646,
Culture=neutral'.


Thanks in advance

Author
1 Apr 2005 8:54 AM
Bob Powell [MVP]
Remove all the asterisks from the version definition lines in the
AssemblyInfo file so that the version you create is the same for successive
builds.

You might like to check out the Windows Forms Tips and Tricks article on
debugging controls.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.





Show quoteHide quote
" Just Me" <gro***@a-znet.com> wrote in message
news:%23zjmbAnNFHA.1040@TK2MSFTNGP12.phx.gbl...
> Anyone know what could cause the following error messages?
> Note the versions are:
> A...B
> B...A
>
> Warning: The dependency 'LibraryCs, Version=1.0.1916.39646,
> Culture=neutral'
> in project 'CAG ControlCapture' cannot be copied to the run directory
> because it would overwrite the reference 'LibraryCs,
> Version=1.0.1916.35045,
> Culture=neutral'.
>
> Warning: The dependency 'LibraryCs, Version=1.0.1916.35045,
> Culture=neutral'
> in project 'CAG ExecutableStudio' cannot be copied to the run directory
> because it would overwrite the reference 'LibraryCs,
> Version=1.0.1916.39646,
> Culture=neutral'.
>
>
> Thanks in advance
>
>
>
Author
1 Apr 2005 1:59 PM
Just Me
That did it!
I replaced
<Assembly: AssemblyVersion("1.0.*")>

with

<Assembly: AssemblyVersion("1.0.0")>

I hope that's what you meant by remove asterisks

I've been putting up with this for a long time, I feel badly now that I
didn't ask sooner.

I'm often amazed by how much some of you guys know - and are willing to take
the time to share.



Thanks again




Show quoteHide quote
"Bob Powell [MVP]" <bob@_spamkiller_bobpowell.net> wrote in message
news:OwOFAgpNFHA.1268@TK2MSFTNGP14.phx.gbl...
> Remove all the asterisks from the version definition lines in the
> AssemblyInfo file so that the version you create is the same for
> successive builds.
>
> You might like to check out the Windows Forms Tips and Tricks article on
> debugging controls.
>
> --
> Bob Powell [MVP]
> Visual C#, System.Drawing
>
> Find great Windows Forms articles in Windows Forms Tips and Tricks
> http://www.bobpowell.net/tipstricks.htm
>
> Answer those GDI+ questions with the GDI+ FAQ
> http://www.bobpowell.net/faqmain.htm
>
> All new articles provide code in C# and VB.NET.
> Subscribe to the RSS feeds provided and never miss a new article.
>
>
>
>
>
> " Just Me" <gro***@a-znet.com> wrote in message
> news:%23zjmbAnNFHA.1040@TK2MSFTNGP12.phx.gbl...
>> Anyone know what could cause the following error messages?
>> Note the versions are:
>> A...B
>> B...A
>>
>> Warning: The dependency 'LibraryCs, Version=1.0.1916.39646,
>> Culture=neutral'
>> in project 'CAG ControlCapture' cannot be copied to the run directory
>> because it would overwrite the reference 'LibraryCs,
>> Version=1.0.1916.35045,
>> Culture=neutral'.
>>
>> Warning: The dependency 'LibraryCs, Version=1.0.1916.35045,
>> Culture=neutral'
>> in project 'CAG ExecutableStudio' cannot be copied to the run directory
>> because it would overwrite the reference 'LibraryCs,
>> Version=1.0.1916.39646,
>> Culture=neutral'.
>>
>>
>> Thanks in advance
>>
>>
>>
>
>