Page 1 of 1
MantisConnect - Instalation does not work
Posted: 09 Jun 2007, 12:31
by dial0g
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 ?
Posted: 09 Jun 2007, 21:25
by vboctor
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.
windows as well
Posted: 14 Jun 2007, 01:55
by dingfelder
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>
opened a bug:
Posted: 15 Jun 2007, 00:14
by dingfelder
no response
Posted: 29 Jun 2007, 02:09
by dingfelder
no responses? nobody using the mylar connector?
I have not gotten any feedback on the issue tracker as well :(
Posted: 02 Jul 2007, 06:20
by vboctor
Checkout the Mylar connector referenced on the related tools wiki page:
http://www.mantisbt.org/wiki/doku.php/m ... ated_tools
Posted: 01 Aug 2007, 12:40
by ignius.sako.kalbam
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..

Re: MantisConnect - Instalation does not work
Posted: 23 Jan 2009, 20:09
by mzenns
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.