C# - Resharper - Cannot Resolve Symbol 'Eval' In VS2010 SP1

Apr 4, 2011

I just installed SP1 for VS2010, and since then I get error messages from Resharper for stuff that used to work and be ok for Resharper (5.1) before.

The error messages are "Cannot resolve symbol 'Eval'" and some other methods other than Eval.

How do I solve this?

Is there a fix?

Is there some resharper cache that I must delete/clear?

(The code compiles and runs as usual)

View 2 Replies


Similar Messages:

C# - Error - Cannot Resolve Symbol 'symbolname' In ReSharper

Apr 4, 2011

Using VS2008 and R# 5 I'm running into an odd situation, where on an aspx page I keep getting

Cannot resolve symbol 'symbolname'

But the code compiles and runs fine. While having a fix for this would be great, I'm just trying to figure out if I'm losing my mind.

The CodeFile directive and Inherits directives are fine. If I compile the app or just let devenv sit for a bit it'll go away, but as soon as I save the aspx [via ctrl+s] R# suddenly has trouble with the Inherits attribute and flips out on every method in the page (OnClick etc).

// Anonymized of course but otherwise intact
<%@ Page AutoEventWireup="true" CodeFile="TestPage.aspx.cs" Inherits="TestPage" Language="C#" MasterPageFile="~/MasterPage.master" Title="Test Page Title" %>

This is mostly just a grievance, because since the code compiles it doesn't stop me from doing what I need.

I would post a bug report to the JetBrains site but first I would like to know I'm not alone. It could be my machine. Maybe when I roll to VS2010 in a couple weeks this will go away?

View 1 Replies

MVC :: Error - Cannot Resolve Symbol 'Resources'

Jan 19, 2010

I am currently localizing my MVC website, using the Html.Encode method.

I've got a global resouce named "Localization" and using it by e.g. <%= Html.Encode(Resources.Localization.FirstName) %>

When compiled and viewing in the browser it works perfectly, but in VS 2008 Development Edition it marks it red and displays Cannot resolve symbol 'Resources' when hovering it.

View 3 Replies

Localization :: Error: Cannot Resolve Symbol DesignTimeResourceProviderFactory

Nov 13, 2010

This is a head-scratcher. I've got two projects open. In one of them I have no trouble incorporating DesignTimeResourceProviderFactory but in the second project I get the above error. Adding using System.Web.UI.Design does no good; "Design" is red and the rest is grayed out. No problem importing System.Web.UI though.

View 1 Replies

AJAX :: Error - Cannot Resolve Symbol 'AjaxControlToolkit'

May 2, 2010

I was working with the previous version of the AjaxControlToolkit (I had the source project in my solution, just in case I needed to debug something) and everything worked ok, now I've downloaded the lastest build (40412) and I've choosen to remove that project and only use the binaries (of 40412). I added this line in the web.config (inside <controls>) to have it prepared for all the pages, and avoid the need to use the @register in each one of them <add namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" tagPrefix="ajaxtoolkit"/>

Now, only have the binaries I think I should used

<add tagPrefix="ajaxToolkit" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit, Version=3.5.40412.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

and inside <assemblies> this line

<add assembly="AjaxControlToolkit, Version=3.5.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e"/>

I don't know what should I write as PublicKeyToken, I'm getting Cannot resolve symbol 'AjaxControlToolkit' and, of course, my UserControls that use the AjaxControlToolkit are giving me error.

View 13 Replies

Cannot Find Typenames ("cannot Resolve Symbol")?

Jan 30, 2010

I have a site in ASP.NET using Telerik AJAX controls.Despite the latest binary being added to the website project, my code (eg myRadGrid.Datasource = "";) shows a red line on type names as they cannot be found for some reason.possibly explain why or have experience in this sort of problem?

View 2 Replies

AJAX :: Accordion Control Add "+" Symbol In Collapesed And "-" Symbol In Expanded Panes

Feb 23, 2011

I'm Using Ajax Accordion i want Collapsed Panes Start with "+" Symbol and When It Expanded Change That Symbol to "-" When Collapsed Again Start with + .... and Continue like that...

Note : I'm Using Header Tempalte and Content Template and Pass Data Source to it.

View 5 Replies

C# - If Statement Inside A ListView With Eval() Or DataBinder.Eval()?

Nov 11, 2010

I have a listview control on an .aspx page. Inside this list view i want to check "Type" property which comes from database. here is the example code :

[code]...

As a last resort i tried to user DataBinder.Eval() but i get the exception "Expected class, delegate, enum, interface, or struct". What can i be doing wrong? Writing a function in code-behind isn't an option for me.

View 3 Replies

C# - Some Alternatives To Resharper?

May 14, 2010

I'm considering purchasing a resharper license but would like to know if there are any possible alternatives to resharper and how would you rate these compared to reharper? It doesn't necessarily have to be a free alternative but I would just like to know how good equivalent products are.

View 8 Replies

C# - ReSharper Stops Working - VB.NET & C#

Aug 13, 2010

Running solution with VB.NET & C#, ASP.NET, VS 2008 with ReSharper 5 Most of the time, ReSharper is working (redundant code grayed out, squiggles, etc.) Sometimes, on the same code where it was working, nothing is highlighted to show ReSharper is enabled. I haven't done anything except modify code and debug. What is going on that turns it on/off?

View 1 Replies

MVC :: Using VS 2010 Ultimate And Resharper 5.0.1659.36?

Aug 4, 2010

I just installed ASP.NET MVC Preview 3 and created a new Razor ViewEngine project. The site works fine, but I have no Syntax Highlighting or Code Completion in the views. Is this a bug or a known limitation in the Preview? I am using VS 2010 Ultimate and Resharper 5.0.1659.36

View 2 Replies

C# - An Online Code Cleaner/Helper Like Resharper?

Oct 29, 2010

Basically until i had resharper i noticed my code quality was good...but due to tight deadlines I hardly payed any attention to why the code was modified and what the new code did better. I would like to write my own code, but check it once in a while at my leisure to see how things can be made better.Is there any online tool which helps clean code or write smaller code somewhat like what resharper does?Something similar to JSlint.com for JavascriptIs there any online tool which can do this on C# code snippets?

View 1 Replies

Visual Studio :: Inbuilt Features Similar To Resharper?

Dec 28, 2010

I was recently told by a colleague that VS 2010 has inbuilt features similar to Resharper (e.g. Ctrl T to find a class etc...). I have been experimenting with VS 2010 Ultimate edition but cannot seem to find these features.If the features exist could somebody point me in the right direction?

View 1 Replies

Making ReSharper Highlight Custom HtmlHelper Parameters?

Nov 18, 2010

In the new ReSharper 5.0 there is some MVC specific features for highlighting View and Controllers in views when you type them as strings.

So with ReSharper the string below called "ViewName" will get highlighted and clickable for navigation.

Html.RenderPartial("ViewName", model);

My question is if its possible to write custom patterns for custom extension methods. In my case i have a extension method called:

Html.RenderPartialIf(myCondition, "ViewName", model);

But when I do this ReSharper wont find my view. So can it be done?

View 1 Replies

Encode The Plus (+) Symbol In URL?

Mar 27, 2011

The URL link below will open a new Google mail window. The problem I have is that Google replaces all the plus (+) sign in the email body with blank space. It looks like it only happens with the + sign. ( I am working the ASP.NET web page)

[URL]

(In the body email, "Hi there+Hello there" will show up as "Hi there Hello there")

View 2 Replies

Use Same Currency Symbol And Formats?

Apr 4, 2011

I have a field that I display via:

String.Format({0:c},amount)

This produces the string "$28.28" However, when I try to convert back to a decimal amount, I get an incorrect format exception:

amount = Decimal.Parse(amount.Text, NumberStyles.Currency)

I also tried it with NumberStyles.AllowCurrencySymbol with the same results. I verified that the value in amount.Text is "$28.28". Am I missing something? Shouldn't these two operations use the same currency symbol and formats?

View 2 Replies

Resolve URL In Bound Data

Mar 17, 2011

i want to show a menu in some pages.

the menu is build from db with repeater

[code]....

when i am in "folder/page1.aspx" all the link are ok [URL]. when i'm in a folder "folder/folder2/page1.aspx" the links are [URL]

UPDATED:

i change it to

<a href="<%# VirtualPathUtility.ToAbsolute("~/admin/"+(string)Eval("TD_PageName"))%>"><%# Eval("TD_Name")%></a>

View 2 Replies

How To Resolve Conflicting Assemblies In C#

Jun 15, 2010

In my web application I am using NHibernate.dll. This has a dependency on folowing assembly.

'Antlr3.Runtime, Version=3.1.0.39271,
Culture=neutral,
PublicKeyToken=3a9cab8f8d22bfb7'

Now in the same project for another requirement I have to introduce Antlr3.StringTemplate.dll. Which has a dependency on another version of the above assembly.

If I use the version of Antlr3.Runtime.dll which satisfies NHibernate , Antlr3.StringTemplate starts complaining and vice-versa.

View 4 Replies

Resolve Url In Facade Or Controller Class

Jan 28, 2010

I have a facade class that my controller class calls out to and in that facade class, for whatever reason, I'm building a string a href element. And it resolves fine in casini but when it gets out in the real world like localhost it doesn't work. Is there a way to do this?

string goBackLinkForErrorMessage = "<br /><a href='/MyController/Action?id=" + blah + "'>Go Back</a>";

View 1 Replies

C# - Show Currency Symbol After Values?

Mar 11, 2011

I am using CultureInfo methods to successfully format all different currencies into their correct format.

But on some exceptions, such as EUR and SEK currencies I need to be able to add them after the value. At the moment my CultureInfo is formatting them in the following way: "SEK 1.00,00" when it needs to be "1.00,00 SEK".

View 2 Replies

Display EURO Symbol In UTF-8 Format?

May 31, 2010

Im wondering how I can display a Euro symbol in UTF-8 Format ?

View 2 Replies

Localization :: How To Hide The Currency Symbol

Apr 10, 2010

I used the culture in my project. i want currency format only. i dont' want to shows the currency symbol.

View 3 Replies

Resolve Code Blocks At Runtime (C#)?

Feb 3, 2011

I am writing a dynamic control that I want to pass in something along the lines of the following:

HyperLink myLink = new HyperLink();
myLink.NavigateUrl = "/Home.aspx?id=<%= DataBinder.Eval("PageId") %>";
myLink.Text = "The link";
myControl.Controls.Add(myLink);

I want to be able to resolve the myLink.NavigateUrl at run-time according to the context that myControl puts the control into in the end (this is not a WebControl and therefore adding to the collection of controls doesn't output to page).

View 2 Replies

JQuery :: Get A Html Text From The Symbol?

Jan 27, 2011

I want the html text back from symbol. I paste here the sample code.

<script type = "text/javascript" >
$(document).ready(function() {
$('#button1').click(function() {

[code]...

View 10 Replies

AJAX :: Cannot Resolve Control ToolkitScriptManager1?

Apr 9, 2010

I m receiving the following error when adding toolkitscriptmanager to my asp.net, thus i have installed all the needed dll's and if i create a new solution and use them it will work perfectly but if i add them to an exsting project it is giving me this errormoreover if i will run the application it will run without errors but the problem is if i add any new asp control likt textbox will not be available in the code behind but wheni remove the toolkitscriptmanager it works fine VS 2008 if any one know what is the solution

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved