is there a way to build release versions of the dlls and samples?
i was trying it out and OgreBindings was throwing exceptions.
can you be more specific, what exceptions ?
I was able to build it all in Release and the demos ran fine. Only had a problem with the CEGUI demos didn't copy to bin/Release.
sure, this is what im doing. im opening the DemoWinForms project, change it to release mode, and hit play. it goes and compiles the OgreBindings project which does indeed make the two dlls, and then it also makes the DemoWinForms.exe. i then copy all the dlls and relevant cfg files (and make it point to the right media folder) from the OgreSDK/bin/release folder into the folder.
this is what i did for the debug mode and it works. but when running the release exe, i get this.
An unhandled exception of type 'System.TypeInitializationException' occurred in OgreDotNet.dll
Additional information: The type initializer for 'OgreDotNet.OgreBindingsPINVOKE' threw an exception.
am i missing something?
duh, i am!
i guess i forgot the release versio of the OgreBindings.dll :p
thats pretty tricky though, the Math3D and the OgreDotNet dlls are copied to the folder:
why not copy the OgreBindings.dll there as well?
I looked at the Ogrebindings project settings and release does copy to the bin folder.
CommandLine="copy $(ConfigurationName)\$(TargetName).dll $(ProjectDir)..\Bin\$(ConfigurationName)
i dont know but i guess it was there for me...