Home All Groups Group Topic Archive Search About

Duplicate Project GUID

Author
29 Jun 2005 1:33 AM
Doug Bell
Hi,

I have been having problems getting a Project to reference another project
in as VS Solution.

I believe that the reason the reference is not accepted is because another
project that is referenced has the same GUID in its Assembly Info.

ie
'The following GUID is for the ID of the typelib if this project is exposed
to COM

<Assembly: Guid("977736B3-AE00-4572-9443-C1001ED8486E")>



Can someone advise how I can fix this. I haven't yet tried but can I simply
change one of the Projects GUIDs or is there a checksum?

Is there someway to get the GUID to update?

Thanks



Doug

PS

This came about because I needed a similar project in this solution, one
project is the DataAccessTier retrieves data froa a BPCS database, the new
project, DataExtractTier  exports some other data into an Access Database
(or optionally CSV or XML).

I created the secon Project by renaming the first (DataAccessTier) to
DataAccessTier1, copying the directory and renaming it. Then added the
project to the solution (it had the old name DataAccessTier). I renamed it
to DataExtractTier  and then renamed DataAccessTier1 back to DataAccessTier.
Then did a fair bit of editing to DataExtractTier.

Author
29 Jun 2005 4:45 AM
Doug Bell
Solved it by hacking the .sln file

Show quoteHide quote
"Doug Bell" <d**@bigpond.com> wrote in message
news:un$vgqEfFHA.3780@TK2MSFTNGP10.phx.gbl...
> Hi,
>
> I have been having problems getting a Project to reference another project
> in as VS Solution.
>
> I believe that the reason the reference is not accepted is because another
> project that is referenced has the same GUID in its Assembly Info.
>
> ie
> 'The following GUID is for the ID of the typelib if this project is
exposed
> to COM
>
> <Assembly: Guid("977736B3-AE00-4572-9443-C1001ED8486E")>
>
>
>
> Can someone advise how I can fix this. I haven't yet tried but can I
simply
> change one of the Projects GUIDs or is there a checksum?
>
> Is there someway to get the GUID to update?
>
> Thanks
>
>
>
> Doug
>
> PS
>
> This came about because I needed a similar project in this solution, one
> project is the DataAccessTier retrieves data froa a BPCS database, the new
> project, DataExtractTier  exports some other data into an Access Database
> (or optionally CSV or XML).
>
> I created the secon Project by renaming the first (DataAccessTier) to
> DataAccessTier1, copying the directory and renaming it. Then added the
> project to the solution (it had the old name DataAccessTier). I renamed it
> to DataExtractTier  and then renamed DataAccessTier1 back to
DataAccessTier.
> Then did a fair bit of editing to DataExtractTier.
>
>
>
>
>
Author
29 Jun 2005 6:01 AM
Brian Henry
same GUID? wow... that's virtually impossible theoretically unless they
where manually edited to be the same... if they were generated they should
theoretically never repeat

Show quoteHide quote
"Doug Bell" <d**@bigpond.com> wrote in message
news:un$vgqEfFHA.3780@TK2MSFTNGP10.phx.gbl...
> Hi,
>
> I have been having problems getting a Project to reference another project
> in as VS Solution.
>
> I believe that the reason the reference is not accepted is because another
> project that is referenced has the same GUID in its Assembly Info.
>
> ie
> 'The following GUID is for the ID of the typelib if this project is
> exposed
> to COM
>
> <Assembly: Guid("977736B3-AE00-4572-9443-C1001ED8486E")>
>
>
>
> Can someone advise how I can fix this. I haven't yet tried but can I
> simply
> change one of the Projects GUIDs or is there a checksum?
>
> Is there someway to get the GUID to update?
>
> Thanks
>
>
>
> Doug
>
> PS
>
> This came about because I needed a similar project in this solution, one
> project is the DataAccessTier retrieves data froa a BPCS database, the new
> project, DataExtractTier  exports some other data into an Access Database
> (or optionally CSV or XML).
>
> I created the secon Project by renaming the first (DataAccessTier) to
> DataAccessTier1, copying the directory and renaming it. Then added the
> project to the solution (it had the old name DataAccessTier). I renamed it
> to DataExtractTier  and then renamed DataAccessTier1 back to
> DataAccessTier.
> Then did a fair bit of editing to DataExtractTier.
>
>
>
>
>
Author
29 Jun 2005 12:40 PM
Herfried K. Wagner [MVP]
"Brian Henry" <nospam@newsgroups.microsoft> schrieb:
> same GUID? wow... that's virtually impossible theoretically unless they
> where manually edited to be the same... if they were generated they should
> theoretically never repeat

Maybe the OP created a copy of the original project.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
30 Jun 2005 5:10 AM
Brian Henry
could be


Show quoteHide quote
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:On0E2eKfFHA.584@tk2msftngp13.phx.gbl...
> "Brian Henry" <nospam@newsgroups.microsoft> schrieb:
>> same GUID? wow... that's virtually impossible theoretically unless they
>> where manually edited to be the same... if they were generated they
>> should theoretically never repeat
>
> Maybe the OP created a copy of the original project.
>
> --
> M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
> V B   <URL:http://classicvb.org/petition/>