[Mono-aspnet-list] asp.net 4.0, vs 2010, C# pre-compilation error

Petrelli jarnodejager at gmail.com
Mon Nov 29 08:56:32 EST 2010


Hello,

I've build a asp.net 4.0 website with C# and AJAX in Visual Studio 2010 on
windows 7 professional 32bit, including 2 class library's in the solution.
Now I would like to run it on a Linux server (or WAMP), but when I try to
build the solution I get the following error when it tries to pre-compile:

http://i53.tinypic.com/atrkoj.png
http://mono.1490590.n4.nabble.com/file/n3063612/atrkoj.png 

It contains dutch text but it says that it doesn't recognize the attribute
'targetFramework'

This is my web.config:

<?xml version="1.0"?>
<!--
	For more information on how to configure your ASP.NET application, please
visit
	http://go.microsoft.com/fwlink/?LinkId=169433
	-->
<configuration>
	<system.web>
		<sessionState timeout="60"></sessionState>
		<authentication mode="Forms"/>
		<compilation debug="true" targetFramework="4.0" defaultLanguage="c#">
			<assemblies>
				<add assembly="System.Design, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A"/>
				<add assembly="System.Web.Extensions.Design, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
				<add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=B77A5C561934E089"/>
			</assemblies>
		</compilation>
		<!--<customErrors mode="RemoteOnly"/>-->
	</system.web>

I'm using MONO for Visual Studio 2010 from this download page: 
http://mono-tools.com/download/

and I've installed the Latest Version from MONO: 2.8.1

What can I do about this?
-- 
View this message in context: http://mono.1490590.n4.nabble.com/asp-net-4-0-vs-2010-C-pre-compilation-error-tp3063612p3063612.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.


More information about the Mono-aspnet-list mailing list