x


Plugin Language Choices

I've seen some conflicting answers to this question across the various sources (wiki, forums, etc.), so I figured I'd ask here:

What are the language choices for creating a CLR-compatible (Mono) plugin library?

In one post someone indicated that you can only use C++ for native plugins, and not for a CLR plugin.

more ▼

asked May 17 '10 at 11:43 PM

SteveFSP gravatar image

SteveFSP
1k 8 13 29

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Most of these should work: http://en.wikipedia.org/wiki/List_of_CLI_languages

As long as it's CLI compatible, and you can compile it to .NET ~2.0, it should be ok

This includes C++ (As well as being able to use it for native plugins)

more ▼

answered May 18 '10 at 12:47 AM

Mike 3 gravatar image

Mike 3
30.5k 10 65 252

I have found an exception. It does not appear that C++ can be used if you are compiling with Visual Studio 2008. See http://answers.unity3d.com/questions/10402/considerations-gotchas-when-creating-a-c-clr-plugin-in-vs2008 for details.

Jun 16 '10 at 10:35 PM SteveFSP

Correction: C++ can be used. The link in the previous comment has been updated with the required VS2008 project configuration.

Jul 18 '10 at 09:58 PM SteveFSP
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x392
x71

asked: May 17 '10 at 11:43 PM

Seen: 1276 times

Last Updated: May 17 '10 at 11:43 PM