Questions tagged [dmcs]

17 questions
12
votes
0 answers

Bug in Mono C# compiler's implementation of yield?

This code causes an internal compiler error at the if(false) statement, using the 2.10.8 dmcs as well as MonoTouch. Is this known? (This may be a bug report, but I could be doing something lame.) using System; using System.Collections; class X { …
bright
  • 4,700
  • 1
  • 34
  • 59
8
votes
1 answer

Run mono .exe with the DLL's in a different folder

I compiled the test.cs file (which references a third party library) using the dmcs executable for Mac and the following command line program: dmcs /out:program.exe test.cs /target:exe /reference:/Users/kevin/path/to/bin/Debug/project.dll This…
Kevin Burke
  • 61,194
  • 76
  • 188
  • 305
3
votes
1 answer

C# compile with 'release' option

There isn't much to say, so I'll keep it short. I have been using the MonoDevelop IDE along with the 'dmcs' (aka 'mcs') for as long as I have been using Linux. However, this is the first time I consider constructing a C# program that uses input…
3
votes
2 answers

Mono take mscorlib.dll 2.0 instead of 4.0

I am having a problem with an MONO application, I'm trying to compile the project (with MonoDevelop) so as to load the library run mscorlib.dll 4.0 instead of version 2.0. (I need System.Type.op_Equality method that is in version 4.0 but not in…
gokuhs
  • 130
  • 11
2
votes
1 answer

What does the D in DMCS stand for?

So, I was reading about the mono c# compiler. I know what the purpose of the apps are, but I was just wondering what the abbreviations stand for. (Also what does gmcs, smcs and csc stand for?) If I were to take a guess it would be (Something) Mono…
hedgesketch
  • 197
  • 1
  • 2
  • 10
1
vote
1 answer

Can a MonoDevelop user benefit from optional parameters while still targeting at 3.5?

As stated in this question, thanks to some compilation trickery, Visual Studio 2010 allows a project targeting at .Net 3.5 to benefit from optional parameters. Is it possible to achieve similar behavior with MonoDevelop 2.6b1? EDIT: This problem…
nulltoken
  • 64,429
  • 20
  • 138
  • 130
1
vote
1 answer

MonoDevelop/MonoTouch - Expression denotes a `value', where a `method group' was expected - Unable to locate error Info

Following the Tasky application's core, I created the business and database layers, however when trying to compile I get this error: Error CS0119: Expression denotes a 'value', where a 'method group' was expected (CS0119) (assales.core) The problem…
lucuma
  • 18,247
  • 4
  • 66
  • 91
1
vote
0 answers

Mono, Regex and stack size

I'm porting a piece of C# software that uses System.Text.RegularExpressions.Regex for parsing out C/C++ includes out of source files. They are fully loaded into memory as a string and then just treated with the regex. It works perfectly on Windows,…
IneQuation
  • 1,244
  • 11
  • 27
1
vote
1 answer

Mono xbuild uses dmcs instead of gmcs

I have the following code: using System; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; namespace MyTasks { public class SimpleTask : Task { public override bool Execute() { …
broersa
  • 1,656
  • 3
  • 16
  • 31
1
vote
2 answers

Mono.CSharp (Compiler as a Service) changes in version 2.10

I am running Mono version 2.10 on Ubuntu 11.10. I am trying to run the sample provided on http://blog.davidebbo.com/2012/02/quick-fun-with-monos-csharp-compiler-as.html ,but it seems to target a different version of mono. For instance Compile is a…
kristianp
  • 5,496
  • 37
  • 56
0
votes
1 answer

Unable to compile simple C# file with mono's dmcs

I'm trying to use dmcs to compile a simple C# source file. This is the source file: using System; class MainClass { public static void Main(string[] args) { Console.WriteLine("Hello World"); } } I try to compile it with dmcs…
Idan Arye
  • 12,402
  • 5
  • 49
  • 68
0
votes
0 answers

InitScanGrid: Assertion `maxExtent > 1' failed

I have a large image where I am trying to find the DMCs so I am trying to localize the Data matrix code using contour and decoding using pylibdmtx. import cv2 from pylibdmtx import pylibdmtx # Load the image image = cv2.imread('capture.jpg') #…
Bhat_Kale
  • 1
  • 1
0
votes
0 answers

drift diffusion model with flanker conflict

I'm trying to analyze my flanker data using Diffusion Model of Conflict (DMC), beside conflict/ non-conflict condition I have 2 more variable (222), and I want to know if the model parameters are different in each condition. I'm using DMCfun R…
0
votes
1 answer

What makes lastLogon attribute update in AD

I have an Active Directory query for you folks Been working at a company as a sys admin for a while now. We have 6 DMCs (2 Azure hosted, and then 2 for each of our two sites, one physical and one backup). We have had an issue in the recent months…
0
votes
1 answer

convert numpy array data matrix code to text

Let's assume i have a numpy array like [[1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0] [1 0 1 1 0 1 0 1 0 1 0 0 0 0 1 1] [1 0 1 1 0 1 1 0 1 0 1 0 1 0 1 0] [1 1 0 1 0 1 1 1 0 1 0 1 0 1 1 1] [1 0 0 1 0 0 0 1 1 1 0 1 0 0 0 0] [1 0 1 1 0 1 0 1 0 1 1 0 0 0 1 1] …
Stephan
  • 36
  • 2
1
2