[Reshaper 4.1] Ambiguous Reference incorrect error!
Hello to everybody,
I've got an asp application, each .aspx page inherits from a page called JAPage defined as this way :
public class JaPage : System.Web.UI.Page
{
public JaPage()
{
}
protected override void InitializeCulture()
{
string lang = String.Format("{0}", Session["Lang"]);
if (!String.IsNullOrEmpty(lang))
Thread.CurrentThread.CurrentUICulture = new CultureInfo(lang);
else
Thread.CurrentThread.CurrentUICulture = CultureInfo.CurrentUICulture;
}
}
When I use it on the aspx pages for example
public partial class Administrator_AdsList : JaPage
I got a red underline....... even on the Administrator_AdsList method I get Methods as Request/Response marked red ....
How To fix It?
Thanks in advance
P.S. : I forgot to say that my Japage.cs is defined inside the App_Code folder (I've got similar problem with all the classes inserted into this folder)
Edited by: Paolo Ponzano on Sep 4, 2008 12:41 PM
Specified More information
Please sign in to leave a comment.
Paolo, could you create a small sample solution for us?
--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Hi,
I've created a new solution and the problem doesn't happen,
I've tryied with goto Declaration and on first item it doesn't make anything, on the second one, it jump to App_Code\Japage.cs
I can't send you the files I'm working on... my situation is this one
DefaultPage.aspx :JAPage.cs : System.Web.UI.Page and DefaultPage.aspx has got a MasterPage
Hope it helps..... Thanks
I attched an image about this error, it seems ReSharper is caching some
files.
"J.W." <JSunnewsgroup@gmail.com> wrote in message
news:g9oqsp$mmp$1@is.intellij.net...
>
>
>> Hi,
>> I've created a new solution and the problem doesn't happen,
>> I've tryied with goto Declaration and on first item it doesn't make
>> anything, on the second one, it jump to App_Code\Japage.cs
>>
>> I can't send you the files I'm working on... my situation is this one
>>
>> DefaultPage.aspx :JAPage.cs : System.Web.UI.Page and DefaultPage.aspx has
>> got a MasterPage
>> Hope it helps..... Thanks
>
>
Attachment(s):
Ambiguous refence.png
"Paolo Ponzano" <no_reply@jetbrains.com> wrote in message
news:10903311.101691220535810032.JavaMail.jive@app4.labs.intellij.net...
>
>
The same issue here, so you are not alone..
J.W.
Yeah , me too - the exact same problem. Also with an ASP.NET Project with Sources in the App_code-Folder ....
"amorph" <no_reply@jetbrains.com> wrote in message
news:13237989.102691220541687860.JavaMail.jive@app4.labs.intellij.net...
I hope a patch is coming soon, for now, it seems that I install too
quickly..
Count me in on people seeing this error. I get the ambiguous error regarding extending classes.
I just want JetBrains send a message to its users , it seems this bug
affects a lot of people.
"Ron Lamb" <no_reply@jetbrains.com> wrote in message
news:2921447.103571220550945874.JavaMail.jive@app4.labs.intellij.net...
Oh Yeah.. The source files it seems to effect is when I extand a file in my Controls directory with a class in App_Code.
Paolo,
what happens if you clear caches and reopen solution?
Could you describe your file structure? Is it a website or a web
application?
--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
yup, seeing this too. I've cleared all cache directories, uninstalled 4.1, reinstalled, and it's still not recognising core asp.net elements.
Attached a screenshot, this exact file was working yesterday with 4.0, and has seen no changes other than an install (clean) of 4.1.
Please resolve this asap - I'm having to actually code for a living!
Attachment(s):
vs2008.gif
Hello J.W.,
We were not able to reproduce the problem, could you please send us sample
solution with the problem, or at least describe in details your configuration,
locations of files, project kinds, etc. Thanks.
Sincerely,
Ilya Ryzhenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
J> "amorph" <no_reply@jetbrains.com> wrote in message
J> news:13237989.102691220541687860.JavaMail.jive@app4.labs.intellij.net
J> ...
J>
>> Yeah , me too - the exact same problem. Also with an ASP.NET Project
>> with Sources in the App_code-Folder ....
>>
J> I hope a patch is coming soon, for now, it seems that I install too
J> quickly..
J>
Hello Ron,
We were not able to reproduce the problem, could you please send us sample
solution with the problem, or at least describe in details your configuration,
locations of files, project kinds, etc. Thanks.
Sincerely,
Ilya Ryzhenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
IR> Count me in on people seeing this error. I get the ambiguous
IR> error regarding extending classes.
IR>
Hello.....sorry for my delayed answer..... it's a web application, I've cleaned the cache file and the problems happens to me and to the other 2 guys work with me...
I am busy today, and my solution is too large.
I will check to see if I can make a small sample solution and send to you.
Do I get "free license" if I help you troubleshoot this issue :)
J.W.
"Ilya Ryzhenkov" <orangy@jetbrains.com> wrote in message
news:76a2bd0b16074d8cadd7781ea12f0@news.intellij.net...
>
>
>
>
>
>>> Yeah , me too - the exact same problem. Also with an ASP.NET Project
>>> with Sources in the App_code-Folder ....
>>>
Paolo,
We managed to reproduce the problem and fix the case. There will be a
nightly build tomorrow morning.
Hope it fix your problem. If not, we need a sample solution. If you don't
manage to narrow it down, we could sign an NDA in order to get your complete
sample.
NB The paragraph above applies to everyone who experience problems with
ReSharper. Being able to reproduce the issue we can (and will) provide a fix
quickly. Otherwise we cannot guarantee anything :(
PS Thanks for using ReSharper.
--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Hi Sergey,
it worked for me... thanks a lot!
Bests from italy
Paolo
It worked for me too..
"Paolo Ponzano" <no_reply@jetbrains.com> wrote in message
news:2758034.121521220944805541.JavaMail.jive@app4.labs.intellij.net...
>
Is there a way to get to the nightly build so I can see if this fixes my situation? I looked on the site and could not find where to download it.
Here you go
http://www.jetbrains.net/confluence/display/ReSharper/ReSharper4.0Nightly+Builds
--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"WeeJavaDude" <no_reply@jetbrains.com> wrote in message
news:8665245.15311222276266818.JavaMail.jive@app4.labs.intellij.net...
Thanks.. Looks like that fixed my issue too and should help until the next release.
Me too, thanks.
Hello - pardon the late post. JetBrains - has this update made it into the released builds yet? I'm getting this error after downloading and installing Resharper 4.1 yesterday. I'm using VS 2008, trying to build a web folder (not application). Builds fine, but Resharper throws the 'Ambiguous Reference' errors. This appears somewhat related to file placement in the /App_Code folder.
Thanks,
wbrproductions
It happens even in 4.5 builds (1158 for example). I'll try to make a minimal soultion.
Supposed minimal web project.
Attachment(s):
test2.rar
http://www.jetbrains.net/jira/browse/RSRP-92804
Fixed. Thanks for the sample.
--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Is there any option to get a fix for this in 4.1, or is the only option available to download and install the 4.5 nightly build? From looking at the defect (http://www.jetbrains.net/jira/browse/RSRP-92804) it appears the fix should be in 4.5 build 1166 or 1167 -- can you confirm this?
Thank you
Partially fixed for 1164, fully for 1168.
I just installed build 1170 and I'm still getting this error. I can't believe you're not even attempting to fix this in version 4.1, and our only recourse is to install nightly builds of 4.5 which is still in development stages. This is a total showstopper bug and you shouldn't even be selling 4.1 while this is outstanding.
I'm going back to Resharper version 3 and not upgrading at all. Nor will the 20 other developers that work for me. What a waste of my afternoon.