Get help from other users here.
Moderators: Developer , Contributor
dial0g
Posts: 1 Joined: 08 Jun 2007, 05:02
Post
by dial0g » 09 Jun 2007, 12:31
Hi
I use linux in my server and when I try run
nant all I receive an error message that I don't know how to fix.
dapires@ligamagic:/mnt/hd2/workspace/MantisConnect$
nant All
NAnt 0.85 (Build 0.85.2478.0; release; 10/14/2006)
Copyright (C) 2001-2006 Gerry Shaw
http://nant.sourceforge.net
Buildfile: file:///mnt/hd2/workspace/MantisConnect/
everything.build
Target framework: Mono 2.0 Profile
Target(s) specified: All
BUILD FAILED
/mnt/hd2/workspace/MantisConnect/everything.build(3,3):
Target framework could not be changed. "net-1.1" is not a valid framework identifier. Valid values are: mono-2.0, mono-1.0.
Total time: 0.1 seconds.
How can I fix this ?
vboctor
Site Admin
Posts: 1304 Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:
Post
by vboctor » 09 Jun 2007, 21:25
The build assumes Windows platform and hence it has several references for Microsoft .NET Framework. You will want open the build file and see if you can come up with a build file that only uses such builds when they are available. You will also want to add support for the Mono builds.
dingfelder
Posts: 100 Joined: 14 Aug 2005, 22:47
Location: new zealand
Contact:
Post
by dingfelder » 14 Jun 2007, 01:55
I am getting this on windows as well.
Code: Select all
C:\Dev\MantisConnect-1.0a5\everything.build(3,3):
Target framework could not be changed. "net-1.1" is not a valid framework identifier. Valid values are: net-2.0.
Total time: 0.1 seconds.
Windows says I have the following versions of .net:
• v1.0.3705
• v1.1.4322
• v2.0.50727
If I change it manually to 2.0
Code: Select all
<!-- property name="nant.settings.currentframework" value="net-1.1" / -->
<property name="nant.settings.currentframework" value="net-2.0" />
I get:
Code: Select all
C:\Dev\MantisConnect-1.0a5>nant all
NAnt 0.85 (Build 0.85.2478.0; release; 14/10/2006)
Copyright (C) 2001-2006 Gerry Shaw
http://nant.sourceforge.net
Buildfile: file:///C:/Dev/MantisConnect-1.0a5/everything.build
Target framework: Microsoft .NET Framework 2.0
Target(s) specified: all
Built-in property 'nant.platform.name' is deprecated. Use the platform::get-name() function instead.
[echo] Using 'net-2.0' framework on 'win32' platform.
all:
debug:
build-flavour:
[copy] Copying 1 file to 'C:\Dev\MantisConnect-1.0a5\mantisconnect.snk'.
[copy] Copying 1 file to 'C:\Dev\MantisConnect-1.0a5\mantisfilters\mantisfilters.exe.config'.
[copy] Copying 1 file to 'C:\Dev\MantisConnect-1.0a5\mantisnotify\mantisnotify.exe.config'.
[copy] Copying 1 file to 'C:\Dev\MantisConnect-1.0a5\mantissubmit\mantissubmit.exe.config'.
[solution] Starting solution build.
[solution] Building 'MantisConnect' [Debug] ...
[solution] mantisconnect\AssemblyInfo.cs(70,12): error CS1699: Warning as Error: Use command line option '/keyfile' or appropriate project settings instead of 'AssemblyKeyFile'
[solution] error CS1606: Assembly signing failed; output may not be signed -- The system cannot find the file specified.
[solution] Build failed.
[solution] Project 'MantisConnect' failed!
[solution] Continuing build with non-dependent projects.
[solution]
[solution] Solution failed to build! Failed projects were:
[solution] - MantisConnect
BUILD FAILED - 6 non-fatal error(s), 1 warning(s)
C:\Dev\MantisConnect-1.0a5\everything.build(25,4):
Project build failed.
Total time: 4.7 seconds.
C:\Dev\MantisConnect-1.0a5>
dingfelder
Posts: 100 Joined: 14 Aug 2005, 22:47
Location: new zealand
Contact:
Post
by dingfelder » 29 Jun 2007, 02:09
no responses? nobody using the mylar connector?
I have not gotten any feedback on the issue tracker as well :(
ignius.sako.kalbam
Posts: 3 Joined: 31 Jul 2007, 13:20
Contact:
Post
by ignius.sako.kalbam » 01 Aug 2007, 12:40
Ha ha..... that Milar conector is pretty cool, one of my favorites. It really helped me on this problem.
I'm sugesting you to use it also. Chears..
mzenns
Posts: 11 Joined: 23 Jan 2009, 20:03
Location: N. Central PA
Post
by mzenns » 23 Jan 2009, 20:09
I am getting the same error as the OP. Running Ubuntu 8.04 server with Apache, php5, MySQL and Mantis 1.2.0a3. Installed NAnt from the Ubuntu repository.