473,545 Members | 2,004 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Custom mscorlib.dll

Hi

I'm currently in the process of writing my own mscorlib.dll, this in order to write my own Virtual Machine. Now all may seem a bit useless, but I'd like to use C# as scripting for our game engine, since basically all needed feature are already available in C#, and hell... why think of something new, if something else is already available
Mono, dotGNU and Rotor are totally useless for me, since they are GPL or some custom microsoft license thingie, that make them useless for commercial stuff, so I started writing my own

The ECMA 335 Standardized class description XML describe a huge amount of classes that are needed in order to be ECMA 335 compliant... well, oke, I don't really need that, but I want to be able to test our code with the VC 7.1 compiler/debugger, and so I need at least a number of classes in there, since the compiler complains about classes missing if I compile with the "do not use mscorlib.dll" flag enabled
Implementing just these classes the compiler complains about results in an internal compiler error, so something is wrong

No here comes the question... What classes are REALLY REALLY needed in order to make the following application compile and work, without using the standard mscorlib.dll. ("do not use mscorlib.dll" flag enabled

namespace bl

class blee

bleep() {
static void Main(string[] args

bleep blah = new bleep()

if you have any answers, please email me at: to*@NOSPAM.mudg e.nl.BLABLEEP (remove the uppercase parts)
Nov 22 '05 #1
2 3595
Hi,

Maybe this will be of help.
http://www.codeproject.com/dotnet/Do...rget=scripting

Ken
---------------------
"Tom van Dijck" <an*******@disc ussions.microso ft.com> wrote in message
news:29******** *************** ***********@mic rosoft.com...
Hi,

I'm currently in the process of writing my own mscorlib.dll, this in order to write my own Virtual Machine. Now all may seem a bit useless, but I'd
like to use C# as scripting for our game engine, since basically all needed
feature are already available in C#, and hell... why think of something new,
if something else is already available. Mono, dotGNU and Rotor are totally useless for me, since they are GPL or some custom microsoft license thingie, that make them useless for commercial
stuff, so I started writing my own.
The ECMA 335 Standardized class description XML describe a huge amount of classes that are needed in order to be ECMA 335 compliant... well, oke, I
don't really need that, but I want to be able to test our code with the VC
7.1 compiler/debugger, and so I need at least a number of classes in there,
since the compiler complains about classes missing if I compile with the "do
not use mscorlib.dll" flag enabled. Implementing just these classes the compiler complains about results in an internal compiler error, so something is wrong.
No here comes the question... What classes are REALLY REALLY needed in order to make the following application compile and work, without using the
standard mscorlib.dll. ("do not use mscorlib.dll" flag enabled)
namespace bla
{
class bleep
{
bleep() {}
}

static void Main(string[] args)
{
bleep blah = new bleep();
}
}

if you have any answers, please email me at: to*@NOSPAM.mudg e.nl.BLABLEEP

(remove the uppercase parts)
Nov 22 '05 #2
Hi,

Maybe this will be of help.
http://www.codeproject.com/dotnet/Do...rget=scripting

Ken
---------------------
"Tom van Dijck" <an*******@disc ussions.microso ft.com> wrote in message
news:29******** *************** ***********@mic rosoft.com...
Hi,

I'm currently in the process of writing my own mscorlib.dll, this in order to write my own Virtual Machine. Now all may seem a bit useless, but I'd
like to use C# as scripting for our game engine, since basically all needed
feature are already available in C#, and hell... why think of something new,
if something else is already available. Mono, dotGNU and Rotor are totally useless for me, since they are GPL or some custom microsoft license thingie, that make them useless for commercial
stuff, so I started writing my own.
The ECMA 335 Standardized class description XML describe a huge amount of classes that are needed in order to be ECMA 335 compliant... well, oke, I
don't really need that, but I want to be able to test our code with the VC
7.1 compiler/debugger, and so I need at least a number of classes in there,
since the compiler complains about classes missing if I compile with the "do
not use mscorlib.dll" flag enabled. Implementing just these classes the compiler complains about results in an internal compiler error, so something is wrong.
No here comes the question... What classes are REALLY REALLY needed in order to make the following application compile and work, without using the
standard mscorlib.dll. ("do not use mscorlib.dll" flag enabled)
namespace bla
{
class bleep
{
bleep() {}
}

static void Main(string[] args)
{
bleep blah = new bleep();
}
}

if you have any answers, please email me at: to*@NOSPAM.mudg e.nl.BLABLEEP

(remove the uppercase parts)
Nov 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
306
by: Tom van Dijck | last post by:
Hi I'm currently in the process of writing my own mscorlib.dll, this in order to write my own Virtual Machine. Now all may seem a bit useless, but I'd like to use C# as scripting for our game engine, since basically all needed feature are already available in C#, and hell... why think of something new, if something else is already available...
3
26247
by: StGo | last post by:
How can i read/write file's custom attributs(like subject,author...) in C#??? Thanks :))
3
1629
by: Laura T. | last post by:
The following code is driving me so crazy, that I'm thinking it's a "feature" or a.. ....dare I say it... a BUG. I'm using VS 2003. I've created a new value type (struct) called MyInt. MyInt has all(?) the conversion routines necessary to convert from Int32 and string. (see the listing at the end) When I cast directly from a value of...
6
3235
by: mccoyn | last post by:
I have a header that is included from some files that use mscorlib and some that don't use it. One of the macros in this file uses the __pin keyword. When this header is compiled with a source file that doesn't use mscorlib I get the following error: fatal error C1190: managed targeted code requires '#using <mscorlib.dll>' and '/clr' optio ...
4
6876
by: Earl | last post by:
Created a .dll to use in multiple projects. Very simple, one class to return a purpose for a particular version. But when I added it as a reference to one of my other projects, I get a build error (even before I try to build it): "Error: The dependency 'mscorlib, Version= 1.0.5000.0, Culture=neutral," I put the dll in the bin directory...
3
7186
by: DJTN | last post by:
I'm getting the following error when I try to compile my setup project in VS 2002. I have re-installed the .net framework 1.1 and it didnt solve the problem. WARNING: Unable to find dependency 'mscorlib' (Signature='B77A5C561934E089' Version='1.0.5000.0') of assembly 'System.dll' WARNING: Unable to find dependency 'mscorlib'...
1
4125
by: David Herbst | last post by:
Enterprise Library Jan 2006 with Visual Studio 2005 on Windows 2000 Server sp4. My custom exception formatter fails with a "Unable to handle exception: 'LoggingExceptionHandler'." exception. When I attached the debugger to the process and stepped into the code it executed without error. In both cases I was running a Debug build, the only...
0
1359
by: paulodonnell99 | last post by:
Hi, I am trying to build an installer application to run on the compact framework, I want to produce a netmodule using CSC.exe, then use AL.exe to embed resouce files and produce an exe. My problem is, when I use CSC.exe to produce my netmodule it keeps throwing in an extra reference to mscorlib - such that when the netmodule is...
0
2103
by: Atul Thombre | last post by:
Hello, I am developing a custom membership provider. For that I built a prototype that uses a SQL Server 2005 database as a backend store. I implemented the class System.Web.Security.MembershipProvider and implemented few necessary methods. The methods use SQL for interacting with the SQL Server database. I put all this code in a class...
3
12036
by: Mike | last post by:
Hi I have problem as folow: Caught Exception: System.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. (machine.config) --->...
0
7415
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7440
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7775
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5997
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5344
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3470
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3451
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1030
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
726
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.