vuuvv / fizzler

Automatically exported from code.google.com/p/fizzler
GNU General Public License v3.0
0 stars 0 forks source link

Nant Build Fails on OSX #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Update to revision 184.
2. Run nant in the project dir
3. Build fails

What is the expected output? What do you see instead?

build-consolefizzler:

      [csc] Compiling 10 files to
'/Users/colinramsay/Downloads/fizzler/fizzler-read-only/build/fizz.exe'.
      [csc]
/Users/colinramsay/Downloads/fizzler/fizzler-read-only/ConsoleFizzler/Command.cs
(31,28):
error CS0103: The name `ConfigurationManager' does not exist in the current
context
      [csc]
/Users/colinramsay/Downloads/fizzler/fizzler-read-only/ConsoleFizzler/Command.cs
(32,52):
error CS1928: Type `object' does not contain a member `Narrow' and the best
extension method overload
`ConsoleFizzler.NameValueCollectionExtensions.Narrow(this
System.Collections.Specialized.NameValueCollection, string)' has some
invalid arguments
      [csc]
/Users/colinramsay/Downloads/fizzler/fizzler-read-only/ConsoleFizzler/NameValueC
ollectionExtensions.cs(40,43):
(Location of the symbol related to previous error)
      [csc]
/Users/colinramsay/Downloads/fizzler/fizzler-read-only/ConsoleFizzler/Command.cs
(32,52):
error CS1929: Extension method instance type `object' cannot be converted
to `System.Collections.Specialized.NameValueCollection'
      [csc]
/Users/colinramsay/Downloads/fizzler/fizzler-read-only/ConsoleFizzler/Command.cs
(33,25):
error CS1502: The best overloaded method match for
`ConsoleFizzler.CommandLine.ParseTo(System.Collections.Generic.IEnumerable<strin
g>,
object)' has some invalid arguments
      [csc]
/Users/colinramsay/Downloads/fizzler/fizzler-read-only/ConsoleFizzler/CommandLin
e.cs(54,32):
(Location of the symbol related to previous error)
      [csc]
/Users/colinramsay/Downloads/fizzler/fizzler-read-only/ConsoleFizzler/Command.cs
(33,25):
error CS1503: Argument `#1' cannot convert `object' expression to type
`System.Collections.Generic.IEnumerable<string>'
      [csc] Compilation failed: 5 error(s), 0 warnings

BUILD FAILED - 0 non-fatal error(s), 7 warning(s)

/Users/colinramsay/Downloads/fizzler/fizzler-read-only/default.build(41,4):
External Program Failed:
/Library/Frameworks/Mono.framework/Versions/2.0.1/lib/mono/2.0/gmcs.exe
(return code was 1)

Original issue reported on code.google.com by info%colinramsay.co.uk@gtempaccount.com on 5 May 2009 at 4:56

GoogleCodeExporter commented 8 years ago
Fixed. This was down to two issues:

1. System.Configuration was not referenced for the ConsoleFizzler project
2. PlatformID.MacOSX is apparently not implemented in some Mono versions

Original comment by info%colinramsay.co.uk@gtempaccount.com on 11 May 2009 at 8:01