From npanday-users-return-214-apmail-incubator-npanday-users-archive=incubator.apache.org@incubator.apache.org Wed Oct 12 06:56:56 2011 Return-Path: X-Original-To: apmail-incubator-npanday-users-archive@minotaur.apache.org Delivered-To: apmail-incubator-npanday-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D17647E2C for ; Wed, 12 Oct 2011 06:56:56 +0000 (UTC) Received: (qmail 68060 invoked by uid 500); 12 Oct 2011 06:56:56 -0000 Delivered-To: apmail-incubator-npanday-users-archive@incubator.apache.org Received: (qmail 68006 invoked by uid 500); 12 Oct 2011 06:56:55 -0000 Mailing-List: contact npanday-users-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: npanday-users@incubator.apache.org Delivered-To: mailing list npanday-users@incubator.apache.org Delivered-To: moderator for npanday-users@incubator.apache.org Received: (qmail 56875 invoked by uid 99); 12 Oct 2011 06:42:53 -0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jocaba@exist.com designates 72.26.105.223 as permitted sender) X-Virus-Scanned: amavisd-new at cell.g2ix.net Date: Tue, 11 Oct 2011 23:42:22 -0700 (PDT) From: Josimpson Ocaba To: npanday-users@incubator.apache.org Message-ID: <1253237398.6931.1318401742763.JavaMail.root@cell.g2ix.net> In-Reply-To: <8873D68A7463A74BBE63AC2CF367CBBBE9A2B5E201@MEL-EXCL-01.hyro.global> Subject: Re: aspx compilation error: found different/older .NET framework version MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6930_1938265763.1318401742762" X-Originating-IP: [58.71.19.178] X-Mailer: Zimbra 6.0.5_GA_2213.RHEL5_64 (ZimbraWebClient - FF3.0 (Win)/6.0.5_GA_2213.RHEL5_64) X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_6930_1938265763.1318401742762 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi Damian, Can you please put the environment variable of your Path here. It is most likely that it is detecting the older .net version. I'm not sure if this behavior has been changed already but I seem to recall that this is happening in 1.4.0 You could also try changing your environment variable to have .net 4.0 first HTH, -- Joe Ocaba ----- Original Message ----- From: "Damian Pooley" To: npanday-users@incubator.apache.org Sent: Wednesday, October 12, 2011 1:44:57 PM Subject: aspx compilation error: found different/older .NET framework version Hi all, I am getting an a build failure during the maven-aspx-plugin compile step, because it has found an earlier version of the .NET framework (2) and not the one that the project is written with (4). The maven-compile-plugin compile uses the correct (4) version of .NET. I am using 1.4.0-incubating. Maven-compile-plugin messages: [INFO] NPANDAY-066-013: Found Vendor = Vendor = MICROSOFT, Vendor Version = 4.0, Framework Version = 4.0, Executable Paths = [C:\Windows\Microsoft.NET\Framework64\v4.0.30319, C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools] [INFO] NPANDAY-068-003: Compiling Artifact: Vendor = MICROSOFT, Language = MICROSOFT, Assembly Name = .dll [INFO] NPANDAY-068-005: Found executable path for csc: C:\Windows\Microsoft.NET\Framework64\v4.0.30319 Maven-aspx-plugin messages: [INFO] NPANDAY-066-013: Found Vendor = Vendor = MICROSOFT, Vendor Version = 2.0.50727, Framework Version = 2.0.50727, Executable Paths = [C:\Windows\Microsoft.NET\Framework64\v2.0.50727, C:\Program Files (x86)\Microsoft SDKs\Windows\v6.0A\bin] [INFO] NPANDAY-068-003: Compiling Artifact: Vendor = MICROSOFT, Language = ASP, Assembly Name = .dll [INFO] NPANDAY-068-005: Found executable path for aspnet_compiler: C:\Windows\Microsoft.NET\Framework64\v2.0.50727 Why would the .NET version detected be different? How can the aspx plugin be forced to use the latest version? Regards, Damian Pooley ------=_Part_6930_1938265763.1318401742762--