I have an .aspx page (using MVC 2)
When i'm trying to make an actionlink i get an error (you can see below). This code worked already, but since i updated my project (it's a silverlight project) to .net 4.0 it gives me that error..
Error:
CS0012: The type 'System.Xml.IXmlLineInfo' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Xml, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'.
Code:
<ul>
<% foreach (var item in dossier.Flows){%>
<li title='<%=item.Name %>' >
<%if (item.Name.Length > 30) item.Name = item.Name.Substring(0, 30); %>
<%= Html.ActionLink(item.Name, "Index", "Main" , new { token = Model.Token, dossiersId = dossier.Id, usersId = Model.usersId, flowsid = item.Id }, null)%>
</li>
<%} %>
</ul>
someone who knows what to do? or had this problem before and fixed it?