Repeated References in Project File

C

Chris Theorin

I'm looking at one of my project files (.csdproj)... anyway, for the custom
control I created, there are many identical reference entries for it:

<VisualStudioProject>
<ECSHARP
ProjectType = "Local"
ProductVersion = "7.10.3077"
SchemaVersion = "1.0"
ProjectGuid = ...<Build>
...
<References>
...
<Reference
Platform = "Pocket PC-Designer"
Name = "design.company.app.controls"
AssemblyName = "Design.Company.App.Controls"
/>
...
</References>
</Build>
...
</ECSHARP>
</VisualStudioProject>

Any ideas?
 
B

Benjamin Wulfe

What are the 2 duplicates?
The entry you see below is the entry for your "Designer" assembly. There
should be another entry for the device version of your assembly.

-Ben

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "Chris Theorin" <[email protected]>
| Subject: Repeated References in Project File
| Date: Mon, 29 Sep 2003 14:58:32 -0500
| Lines: 33
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <[email protected]>
| Newsgroups:
microsoft.public.vsnet.ide,microsoft.public.dotnet.framework.compactframewor
k
| NNTP-Posting-Host: outbound.epicsys.com 12.148.194.126
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:34723
microsoft.public.vsnet.ide:8418
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| I'm looking at one of my project files (.csdproj)... anyway, for the
custom
| control I created, there are many identical reference entries for it:
|
| <VisualStudioProject>
| <ECSHARP
| ProjectType = "Local"
| ProductVersion = "7.10.3077"
| SchemaVersion = "1.0"
| ProjectGuid = ...
| >
| <Build>
| ...
| <References>
| ...
| <Reference
| Platform = "Pocket PC-Designer"
| Name = "design.company.app.controls"
| AssemblyName = "Design.Company.App.Controls"
| />
| ...
| </References>
| </Build>
| ...
| </ECSHARP>
| </VisualStudioProject>
|
| Any ideas?
|
| --
| Chris Theorin
| http://slurptheo.com
|
|
|
 
C

Chris Theorin

Up above it (still in the <References /> element), there is:
<Reference
Platform = "Pocket PC"
Name = "controls"
Project = "{9C99259A-662F-4472-80FB-AAC02A57AEB1}"
Package = "{20D4826A-C6FA-45DB-90F4-C717570B9F32}"
/>

But that's all I can find searching for 'controls' in the whole rest of the
project file... I mean, I'm using multiple classes within the controls
assembly... but it still looks weird to me (and like only first identical
reference would be used anyway).
 
B

Benjamin Wulfe

If the 2 entries you talk about are:

<Reference
Platform = "Pocket PC"
Name = "controls"
Project = "{9C99259A-662F-4472-80FB-AAC02A57AEB1}"
Package = "{20D4826A-C6FA-45DB-90F4-C717570B9F32}"
/>

and:
<Reference
Platform = "Pocket PC-Designer"
Name = "design.company.app.controls"
AssemblyName = "Design.Company.App.Controls"
/>

then these are not duplicate entries -- they are pointing to different
assemblies which are used differently.

Yet you say:
" Up above it (still in the <References /> element), there is:
<Reference
Platform = "Pocket PC"
Name = "controls"
Project = "{9C99259A-662F-4472-80FB-AAC02A57AEB1}"
Package = "{20D4826A-C6FA-45DB-90F4-C717570B9F32}"
/>

But that's all I can find searching for 'controls' in the whole rest of the
project file..."

which somewhat confuses me if you were talking about duplicate entries.
Please send the entire project file and I can help some more.

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "Chris Theorin" <[email protected]>
| References: <[email protected]>
<[email protected]>
| Subject: Re: Repeated References in Project File
| Date: Tue, 21 Oct 2003 21:47:52 -0500
| Lines: 82
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: outbound.epicsys.com 12.148.194.126
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:36473
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| Up above it (still in the <References /> element), there is:
| <Reference
| Platform = "Pocket PC"
| Name = "controls"
| Project = "{9C99259A-662F-4472-80FB-AAC02A57AEB1}"
| Package = "{20D4826A-C6FA-45DB-90F4-C717570B9F32}"
| />
|
| But that's all I can find searching for 'controls' in the whole rest of
the
| project file... I mean, I'm using multiple classes within the controls
| assembly... but it still looks weird to me (and like only first identical
| reference would be used anyway).
|
| | > What are the 2 duplicates?
| > The entry you see below is the entry for your "Designer" assembly.
There
| > should be another entry for the device version of your assembly.
| >
| > -Ben
| >
| > This posting is provided "AS IS" with no warranties, and confers no
| rights.
| > --------------------
| > | From: "Chris Theorin" <[email protected]>
| > | Subject: Repeated References in Project File
| > | Date: Mon, 29 Sep 2003 14:58:32 -0500
| > | Lines: 33
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| > | Message-ID: <[email protected]>
| > | Newsgroups:
| >
|
microsoft.public.vsnet.ide,microsoft.public.dotnet.framework.compactframewor
| > k
| > | NNTP-Posting-Host: outbound.epicsys.com 12.148.194.126
| > | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
| > | Xref: cpmsftngxa06.phx.gbl
| > microsoft.public.dotnet.framework.compactframework:34723
| > microsoft.public.vsnet.ide:8418
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
| > |
| > | I'm looking at one of my project files (.csdproj)... anyway, for the
| > custom
| > | control I created, there are many identical reference entries for it:
| > |
| > | <VisualStudioProject>
| > | <ECSHARP
| > | ProjectType = "Local"
| > | ProductVersion = "7.10.3077"
| > | SchemaVersion = "1.0"
| > | ProjectGuid = ...
| > | >
| > | <Build>
| > | ...
| > | <References>
| > | ...
| > | <Reference
| > | Platform = "Pocket PC-Designer"
| > | Name = "design.company.app.controls"
| > | AssemblyName = "Design.Company.App.Controls"
| > | />
| > | ...
| > | </References>
| > | </Build>
| > | ...
| > | </ECSHARP>
| > | </VisualStudioProject>
| > |
| > | Any ideas?
| > |
| > | --
| > | Chris Theorin
| > | http://slurptheo.com
| > |
| > |
| > |
| >
|
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top