213: Ambiguous references with Folder Projects?

I noticed that a class in our solution with 213 ended up with a number
of ambiguous references to members within itself! It seemed to be
related to the use of Folder Projects in the solution - I recreated the
solution without using Folder Projects and the ambiguous reference
errors went away.

Is this a known issue? If it isn't reproducible or known, I can try to
put together a solution that illustrates the problem.

Matt.

4 comments
Comment actions Permalink

Hello Matthew,

not sure what you mean by Folder Projects, but a small solution illustrating
this problem would
defifinitely help us to diagnose and fix the issue.


Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I noticed that a class in our solution with 213 ended up with a number
of ambiguous references to members within itself! It seemed to be
related to the use of Folder Projects in the solution - I recreated
the solution without using Folder Projects and the ambiguous reference
errors went away.

Is this a known issue? If it isn't reproducible or known, I can try
to put together a solution that illustrates the problem.

Matt.



0
Comment actions Permalink

I think Folder Projects are called "Solution Folders" in VS.NET
(right-click solution, "add solution folder"). I've been testing large
solutions with and without them and it seems that it takes significantly
longer to start a large solution with them. There's also a Resharper
bug with those folders that shows up as bug 10986:

http://www.intellij.net/tracker/resharper/viewSCR?publicId=10986

My very approximate timings for restarting a solution with 100 projects are:

With 5 solution folders (all projects under folders): 5 minutes
With no solution folders (all projects rooted under solution): < 1 minute

I don't know if this slowness just because of the above exception, however.

I tried to reproduce my ambiguous reference error, but it hasn't shown
up. It might have been triggered from another bug.

Matt.

Dmitry Shaporenkov (JetBrains) wrote:

Hello Matthew,

not sure what you mean by Folder Projects, but a small solution
illustrating this problem would
defifinitely help us to diagnose and fix the issue.


Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>> I noticed that a class in our solution with 213 ended up with a number
>> of ambiguous references to members within itself! It seemed to be
>> related to the use of Folder Projects in the solution - I recreated
>> the solution without using Folder Projects and the ambiguous reference
>> errors went away.
>>
>> Is this a known issue? If it isn't reproducible or known, I can try
>> to put together a solution that illustrates the problem.
>>
>> Matt.
>>


0
Comment actions Permalink

Hello Matthew,

I've received your test solution and will check it ASAP. Concerning your
timings,
what exactly were the differences between the solution with Solution Folders
and
the solution without them? In particular, what was contained in solution
folders?

Thanks.


Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I think Folder Projects are called "Solution Folders" in VS.NET
(right-click solution, "add solution folder"). I've been testing
large solutions with and without them and it seems that it takes
significantly longer to start a large solution with them. There's
also a Resharper bug with those folders that shows up as bug 10986:

http://www.intellij.net/tracker/resharper/viewSCR?publicId=10986

My very approximate timings for restarting a solution with 100
projects are:

With 5 solution folders (all projects under folders): 5 minutes With
no solution folders (all projects rooted under solution): < 1 minute

I don't know if this slowness just because of the above exception,
however.

I tried to reproduce my ambiguous reference error, but it hasn't shown
up. It might have been triggered from another bug.

Matt.

Dmitry Shaporenkov (JetBrains) wrote:

>> Hello Matthew,
>>
>> not sure what you mean by Folder Projects, but a small solution
>> illustrating this problem would
>> defifinitely help us to diagnose and fix the issue.
>> Regards,
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> I noticed that a class in our solution with 213 ended up with a
>>> number of ambiguous references to members within itself! It seemed
>>> to be related to the use of Folder Projects in the solution - I
>>> recreated the solution without using Folder Projects and the
>>> ambiguous reference errors went away.
>>>
>>> Is this a known issue? If it isn't reproducible or known, I can try
>>> to put together a solution that illustrates the problem.
>>>
>>> Matt.
>>>


0
Comment actions Permalink

Update: we've fixed the exception and duplicate items.
Please check the next build when it is available.

Thank you a lot for your help, it was really valuable!


Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Hello Matthew,

I've received your test solution and will check it ASAP. Concerning
your
timings,
what exactly were the differences between the solution with Solution
Folders
and
the solution without them? In particular, what was contained in
solution
folders?
Thanks.

Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>> I think Folder Projects are called "Solution Folders" in VS.NET
>> (right-click solution, "add solution folder"). I've been testing
>> large solutions with and without them and it seems that it takes
>> significantly longer to start a large solution with them. There's
>> also a Resharper bug with those folders that shows up as bug 10986:
>>
>> http://www.intellij.net/tracker/resharper/viewSCR?publicId=10986
>>
>> My very approximate timings for restarting a solution with 100
>> projects are:
>>
>> With 5 solution folders (all projects under folders): 5 minutes With
>> no solution folders (all projects rooted under solution): < 1 minute
>>
>> I don't know if this slowness just because of the above exception,
>> however.
>>
>> I tried to reproduce my ambiguous reference error, but it hasn't
>> shown up. It might have been triggered from another bug.
>>
>> Matt.
>>
>> Dmitry Shaporenkov (JetBrains) wrote:
>>
>>> Hello Matthew,
>>>
>>> not sure what you mean by Folder Projects, but a small solution
>>> illustrating this problem would
>>> defifinitely help us to diagnose and fix the issue.
>>> Regards,
>>> Dmitry Shaporenkov
>>> JetBrains, Inc
>>> http://www.jetbrains.com
>>> "Develop with pleasure!"
>>>> I noticed that a class in our solution with 213 ended up with a
>>>> number of ambiguous references to members within itself! It seemed
>>>> to be related to the use of Folder Projects in the solution - I
>>>> recreated the solution without using Folder Projects and the
>>>> ambiguous reference errors went away.
>>>>
>>>> Is this a known issue? If it isn't reproducible or known, I can
>>>> try to put together a solution that illustrates the problem.
>>>>
>>>> Matt.
>>>>


0

Please sign in to leave a comment.