[Mono-dev] Testing Compatibility

Zymus lord.zymus at yahoo.com
Sun Feb 21 05:50:31 EST 2010


Hello, I'm testing out a simple program I'm making, for compatibility with
Windows, but i get a  File does not contain a valid CIL image. error.

Console:
zyle at zephyrion:~/Test/Release$ mono Test
Cannot open assembly 'Test': File does not contain a valid CIL image.


Source:
Program.cpp:
/*
 * Program.cpp
 *
 *  Created on: Feb 19, 2010
 *      Author: zyle
 */

#include "Program.h"
#include <iostream>

using namespace zephyrion;

int main() {
	cout << "Testing" << endl;
	return 0;
}


Program.h:
/*
 * Program.h
 *
 *  Created on: Feb 19, 2010
 *      Author: zyle
 */

#ifndef PROGRAM_H_
#define PROGRAM_H_

namespace zephyrion {
	class Program {
	public:
		Program();
		virtual ~Program();
	};
}

#endif /* PROGRAM_H_ */


What am I doing wrong?

-- 
View this message in context: http://n4.nabble.com/Testing-Compatibility-tp1563435p1563435.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list