Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nant Build Fails on OSX #19

Closed
atifaziz opened this issue Aug 23, 2015 · 1 comment
Closed

Nant Build Fails on OSX #19

atifaziz opened this issue Aug 23, 2015 · 1 comment

Comments

@atifaziz
Copy link
Owner

Originally reported on Google Code with ID 19

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/NameValueCollectionExtensions.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<string>,
object)' has some invalid arguments
      [csc]
/Users/colinramsay/Downloads/fizzler/fizzler-read-only/ConsoleFizzler/CommandLine.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)

Reported by info%colinramsay.co.uk@gtempaccount.com on 2009-05-05 16:56:23

@atifaziz
Copy link
Owner Author

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

Reported by info%colinramsay.co.uk@gtempaccount.com on 2009-05-11 20:01:25

  • Status changed: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant