Skip to content

Can't get it working on Ubuntu 16.04.1 #53

@wouterh-dev

Description

@wouterh-dev

First of all the releases are msi files which make them hard to use with mono. Seems no way to run them.

I've both tried with the mono that comes with my distribution and xamarin mono and the results are the same. When trying to run the extracted .exe I get (libmono-system-windows-forms4.0-cil is installed):

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'StopWatch.NativeMethods' threw an exception. ---> System.EntryPointNotFoundException: RegisterWindowMessage
  at (wrapper managed-to-native) StopWatch.NativeMethods:RegisterWindowMessage (string)
  at StopWatch.NativeMethods..cctor () <0x40b525e0 + 0x00013> in <filename unknown>:0 
  --- End of inner exception stack trace ---
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'StopWatch.NativeMethods' threw an exception. ---> System.EntryPointNotFoundException: RegisterWindowMessage
  at (wrapper managed-to-native) StopWatch.NativeMethods:RegisterWindowMessage (string)
  at StopWatch.NativeMethods..cctor () <0x40b525e0 + 0x00013> in <filename unknown>:0 
  --- End of inner exception stack trace ---

So then I tried compiling, but this gives me:

/home/ubuntu/jirastopwatch/StopWatch.sln (default targets) ->
(Build target) ->
/home/ubuntu/jirastopwatch/source/StopWatch/StopWatch.csproj (default targets) ->
/usr/lib/mono/4.5/Microsoft.Common.targets (GenerateResources target) ->

	/usr/lib/mono/4.5/Microsoft.Common.targets: error : Tool exited with code: 1. Output: Error: Exception has been thrown by the target of an invocation.
Inner exception: AND data length expected 512, read 0
Parameter name: stream

Any thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions