References Issue!

142 views
Skip to first unread message

Ruba

unread,
Mar 9, 2012, 7:28:16 AM3/9/12
to Activate3D-ICM
Hey Guys,

While Calling another project (Windows Forms Project) from the
MimickEventGenerator Script I got this message:
"Assets/New folder/MimickEventGenerator.cs(7,14): error CS0234: The
type or namespace name `Windows' does not exist in the namespace
`System'. Are you missing an assembly reference?"

I've added the reference to the project but still having the same
problem!!
Even though the System.Windows.Forms is recognized by the C# code when
opened!!
but can't start the game because this compile error keeps showing!!

Can anyone help me please?!

Thanks,
Ruba Al-Sa'di

Dan

unread,
Mar 13, 2012, 1:55:10 PM3/13/12
to Activate3D-ICM
Since Unity is using Mono for its .NET implementation, most of
System.Windows is not available.

dba

Ruba

unread,
Mar 17, 2012, 3:22:17 PM3/17/12
to Activate3D-ICM
aha!
I made the thing I want in another project, but when calling it I get
the following message "Could not register the window class, win32
error 0"
So I can't even open a project that is based on windows application?!

Dan Amerson

unread,
Mar 19, 2012, 2:41:23 PM3/19/12
to activat...@googlegroups.com
It's finer-grained than that. Unity via Mono supports a subset of .NET
classes and members. The full listing can be found here:
http://unity3d.com/support/documentation/ScriptReference/MonoCompatibility.h
tml

dba

Reply all
Reply to author
Forward
0 new messages