Ambiguous References Fix: Temporary ASP.NET Files


I've been in Ambiguous Reference hell all morning since upgrading to
236. Whereas the problem normally fixed itself after some seemingly
random combination of restarting Studio and deleting the Resharper
cache, nothing worked today.

Deleting the "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NET Files" directory fixed the issue instantly.

Is there some way to get Resharper to ignore this source of assemblies
when building its database?

- Casey

4 comments
Comment actions Permalink

Thanks !

I had the same problem, deleting the contents of Temporary ASP.NET Files
helped me too.

- Dag


"Casey Barton" <bartoncasey@gmail.com> wrote in message
news:ht8f42l3m9hpg5er6do28ugshtms37qsb0@4ax.com...
>

I've been in Ambiguous Reference hell all morning since upgrading to
236. Whereas the problem normally fixed itself after some seemingly
random combination of restarting Studio and deleting the Resharper
cache, nothing worked today.

>

Deleting the "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NET Files" directory fixed the issue instantly.

>

Is there some way to get Resharper to ignore this source of assemblies
when building its database?

>

- Casey



0
Comment actions Permalink

Casey,

Frankly speaking, R# does not look into that folders by itself. The only
exception is referenced projects, that are built into this folder by
default. Maybe, this is the root of the problem.

After You deleted the temporary files folder, did the hell the stop?
If You encounter the same problem next time, could You create a small sample
solution for us?

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0
Comment actions Permalink

When I had the problem,. restarting VS + rebuild didn't help.

Shutting down VS, deleting Temporary ASP files and starting VS didn't help
either
Recompiling after deleting the files and restarting VS got rid of the
problem.

Restoring the deleted (ASP) folders and recompiling brought the warning back
again.

My solution consists of three projects (A, B, C). It's project B that gives
the warning.
Opening just project B by itself (outside the solution) didn't give any
warnings.

Project A have R# cache directories in both its project directory (old
files) and in the system temp directory (recent files).
Project B have a R# cache directory (old files) in the project's directory.
I haven't found any recent files for this project.
Project C have a R# cache directory (recent files) located in the system
temporary directory.

I deleted B's private cache directory (the one located in the project's
directory), reloaded & rebuilt my solution and the problem disappeared.

I restored B's (deleted) private cache directory, deleted the newly created
cache folder in system temp directory and the problem came back.

While trying different combinations to pin down the problem (clearing R#
cache using Resharper options, deleting all R# folders in the system temp
directory, deleting and restoring B's private R# cache directory) the
problem disappeared permanently and I've not been able to reproduce it.

I changed R# to store cached files in system temp directory few weeks ago.
I'm using build 236.

I hope this info can help you :-P

- Dag


"Sergey V. Coox (JetBrains)" <qx@intellij.com> wrote in message
news:e289vg$o4e$1@is.intellij.net...

Casey,

>

Frankly speaking, R# does not look into that folders by itself. The only
exception is referenced projects, that are built into this folder by
default. Maybe, this is the root of the problem.

>

After You deleted the temporary files folder, did the hell the stop?
If You encounter the same problem next time, could You create a small
sample solution for us?

>

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"



0
Comment actions Permalink

Dag,

please try 237 when it comes out.
We fixed a number of problems which might lead to your symptoms :)

Friendly,
Dmitry

Dag Christensen wrote:

When I had the problem,. restarting VS + rebuild didn't help.

Shutting down VS, deleting Temporary ASP files and starting VS didn't help
either
Recompiling after deleting the files and restarting VS got rid of the
problem.

Restoring the deleted (ASP) folders and recompiling brought the warning back
again.

My solution consists of three projects (A, B, C). It's project B that gives
the warning.
Opening just project B by itself (outside the solution) didn't give any
warnings.

Project A have R# cache directories in both its project directory (old
files) and in the system temp directory (recent files).
Project B have a R# cache directory (old files) in the project's directory.
I haven't found any recent files for this project.
Project C have a R# cache directory (recent files) located in the system
temporary directory.

I deleted B's private cache directory (the one located in the project's
directory), reloaded & rebuilt my solution and the problem disappeared.

I restored B's (deleted) private cache directory, deleted the newly created
cache folder in system temp directory and the problem came back.

While trying different combinations to pin down the problem (clearing R#
cache using Resharper options, deleting all R# folders in the system temp
directory, deleting and restoring B's private R# cache directory) the
problem disappeared permanently and I've not been able to reproduce it.

I changed R# to store cached files in system temp directory few weeks ago.
I'm using build 236.

I hope this info can help you :-P

- Dag


"Sergey V. Coox (JetBrains)" <qx@intellij.com> wrote in message
news:e289vg$o4e$1@is.intellij.net...

>> Casey,
>>
>> Frankly speaking, R# does not look into that folders by itself. The only
>> exception is referenced projects, that are built into this folder by
>> default. Maybe, this is the root of the problem.
>>
>> After You deleted the temporary files folder, did the hell the stop?
>> If You encounter the same problem next time, could You create a small
>> sample solution for us?
>>
>> --
>> Sergey V. Coox
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>




--
Dmitry Lomov
Senior Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop With Pleasure!"

0

Please sign in to leave a comment.