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
Please Compile This Project
#7
An alternative to using VS IDE is to just use c# command line compiler, depending on your OS and hardware, this may be possible and much lighter than using the IDE.

See this article https://learn.microsoft.com/en-us/previo...de-library.  It also shows how to create xml output, you would need to reference SmallBasicLibrary.dll as well.  

This may be a learning curve or not possible with your hardware/OS.  csc.exe c# compiler should come with .Net framework - no need for any additional VS download, see http://www.tipsntracks.com/52/get-a-free...piler.html for example.

UPDATE

I was able to compile the C# code (ZS.cs) extracted from your dll using ILSpy with additional /// comments added for xml described earlier, using the command below from a cmd window in the folder containing the ZS.cs file.  Assuming you can get this version of csc.exe which should be the same place as mine if you have .Net 4 runtime installed it should work for you too.  You can put the command in a bat file for repeat calls.

Code:
"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" /target:library /reference:"C:\Program Files (x86)\Microsoft\Small Basic\SmallBasicLibrary.dll" /out:ZS.dll /doc:ZS.xml ZS.cs
[-] The following 2 users Like litdev's post:
  • AbsoluteBeginner, stevantosic
Reply


Messages In This Thread
Please Compile This Project - by z-s - 03-13-2024, 02:51 PM
RE: Please Compile This Project - by litdev - 03-13-2024, 03:57 PM
RE: Please Compile This Project - by z-s - 03-14-2024, 02:49 AM
RE: Please Compile This Project - by litdev - 03-14-2024, 09:50 AM
RE: Please Compile This Project - by z-s - 03-14-2024, 01:37 PM
RE: Please Compile This Project - by litdev - 03-14-2024, 03:05 PM
RE: Please Compile This Project - by litdev - 03-14-2024, 03:48 PM
RE: Please Compile This Project - by z-s - 03-15-2024, 05:41 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)