We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Writing extensions - ?
#1
Hi there:

Is there an updated guide for writing SB extension?  My son knows abit of C#, and when we follow the instruction guide on how to write extension for SB using visual c# 2010 the message keeps on popping up that the .net fram work we are targeting is 3.5 but the smallbasic .DLL reference is for .NET 4.5 .  Is there any new tutorial available or what people is using to write the extension? 

Regards

YUMDA
Reply
#2
Hi Yumda,
this is information from litdev's homepage:


The extensions are written in C# and use the .Net 3.5 framework for versions of Small Basic up to 1.0.  Small Basic version 1.1 onwards and its extensions require .Net 4.5 which is available for Vista onwards and pre-installed on Windows 8 onwards. 

Currently using .Net 4.8.  If required, you can download .NET Framework 4.8 runtime from official MS site.

I haven't found any more recent documentation for creating SB extensions.
The existing one should be sufficient.

However, the target framework in the project properties must be set to ".NET Framework 4.5" or ".NET Framework 4.8."

If they don't appear in the selection, they must be downloaded first.
Reply
#3
Because of heavy workload of VS I use sharpdeveloper with . Net 4.8
ZS
Reply
#4
Do you mean sharpdevelop v5.1?
Reply
#5
Yes but 5.1 only support till. Net4.5
there is unofficial build which can compile . Net 4.8
https://github.com/mgeee35/SharpDevelop-5.2.1
you will be able to use libs for. Net4. 8 and can compile to .Net4.8
but will use csharp5 which lack new features of .Net4.8 csharp.
ZS
Reply
#6
Massive file, will pass along to my kid.

Thanks!!
[-] The following 1 user Likes Yumda's post:
  • z-s
Reply
#7
I did write a simple SharpDevelop getting started writing extension (for ZS I think originally).

https://litdev.uk/mybb/showthread.php?ti...379#pid379
[-] The following 1 user Likes litdev's post:
  • z-s
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)