Jump to content

Quick set up?


Marleys Ghost
 Share

Recommended Posts

Ok, I have MSV C# Express just lying dormant on my HDD in a "virginal" state .. whats the quickest way to set up a project to try out LE using C#?

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

Link to comment
Share on other sites

Create a new Windows project (somehow LE won't use the console window anyway when writing in .NET), add a reference to the DLL, check "Allow unsafe code" in the project properties and you're set.

 

EDIT: If you have a 64-bit OS, make sure you set your target platform to x86 instead of Any CPU.

Link to comment
Share on other sites

Thanks Laurens, any other considerations with regard to paths and dll placement?

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

Link to comment
Share on other sites

Nope. The Console/Window setting is because LE doesn't write to the console for some reason in C#. You can still call "System.Console.WriteLine(string text);" though.

I didn't check unsafe code and do not feel like I need it, but feel free to check it if you want.

 

Placement doesn't matter at all. If you have a reference to a DLL, a copy of it will be created in your executable's folder automatically.

Your executable will be located in Project/bin/Debug or Project/bin/Release.

 

Enjoy C# ;P

Link to comment
Share on other sites

ok .. finally got the little "twirling box thingy" code on the wiki to run .. next a basic scene loader and camera..

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

Link to comment
Share on other sites

  • 3 weeks later...

I meant it was as interesting information regarding the problem, although it could not lead to a solution. This is actually false, as we could perhaps trace the differences between the build methods and make it work for debug too, but it wasn't in my schedule of priorities.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...