Last post Nov 06, 2008 07:45 AM by anonymouse
Oct 07, 2008 11:18 AM|ArmedJimmy|LINK
I've ran into a bit of a problem. I've got Visual Studio 2005 and Visual Studio 2008 Express Edition installed and I'm working on a project with another developer who only has VS2005. More importantly I have .Net 3.5 and .Net 2.0 installed while the other
developer only has 2.0.
I haven't told the project to compile to 3.5, and I haven't changed references to point new versions of the assemblies.
However I'm seeing different functionality to the other developer. For a start HtmlForm.Action can be set for me, it shows up in intellisense and works as expected. However this was added in 3.5 so that when the other developer tries to build something I've
written they get an error. Action is not a valid property of HtmlForm.
It didn't seem like that big a deal when it first came up, but I've found the following html breaks:
<form id="exampleform" action="<%=Request.Path%>" runat="server">
when I submit the form I get forwarded to http://mydomain.com/<%=Request.Path%>
Any ideas on how to fix this? I could try uninstalling 3.5 but I sort of need it for another project. Installing 3.5 isn't really an option either because our product servers don't have it.
Oct 07, 2008 03:56 PM|Bruce L|LINK
In vs 2008, you can change the target framework in the project property page.
Oct 07, 2008 06:25 PM|ArmedJimmy|LINK
Sorry if i wasn't clear, this is in Visual Studio 2005 this is happening. I can't convert to project to 2008 as other developer only has 2005.
Nov 06, 2008 06:14 AMemail@example.com|LINK
Please explain more clear
Nov 06, 2008 07:45 AM|anonymouse|LINK