RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Script cache hashing

Jeff

Lord
Suil Ban;817605 said:
VB has its niche. VB.NET has actually proved terrific at keeping VB relevant for all these years.

Sure, but that is only cause so many ppl learned VB before .Net came out.
 

MarciXs

Sorceror
Jeff;817568 said:
The only downside to vb script is the C# scripts cant reference anything made in them due to the compilation order.

or if you add this if( File.Exists( "Scripts/Output/Scripts.VB.dll" ) ) (for c#) or if( File.Exists( "Scripts/Output/Scripts.CS.dll" ) ) for VB.

and then m_AdditionalReferences.Add("the path to it");

inside the both c# and vb compiling methods.

Which would do the trick.
 

Jeff

Lord
MarciXs;818166 said:
or if you add this if( File.Exists( "Scripts/Output/Scripts.VB.dll" ) ) (for c#) or if( File.Exists( "Scripts/Output/Scripts.CS.dll" ) ) for VB.

and then m_AdditionalReferences.Add("the path to it");

inside the both c# and vb compiling methods.

Which would do the trick.

Won't work since the VB compiles 2nd. C# compiles first and doesnt know about the VB classes..
 
Top