termux-packages icon indicating copy to clipboard operation
termux-packages copied to clipboard

[Bug]: [MONO Visual Basic] Can't Compile Visual Basic Source Code

Open rc-chuah opened this issue 3 years ago • 2 comments

Problem description

Microsoft (R) Visual Basic Compiler version 3.6.0-4.20224.5 (ec77c100)
Copyright (C) Microsoft Corporation. All rights reserved.

vbc : error BC2017: could not find library 'Microsoft.VisualBasic.dll'

What steps will reproduce the bug?

hello.vb

Imports System

Module Module1
       Sub Main()
           Console.WriteLine("Hello, World!")
       End Sub
End Module

Compile it vbc hello.vb -out:hello.exe

What is the expected behavior?

The Command Should Compile The Program.

System information

termux-info:

Termux Variables:
unsupported
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://termux.librehat.com/apt/termux-main stable main
# root-repo (sources.list.d/root.list)
deb https://termux.librehat.com/apt/termux-root root stable
# sources.list.d/rendiix.list
deb https://rendiix.github.io android-tools termux
# x11-repo (sources.list.d/x11.list)
deb https://termux.librehat.com/apt/termux-x11 x11 main
# sources.list.d/pointless.list
deb https://its-pointless.github.io/files/24 termux extras
# sources.list.d/abhacker.repo.list
deb [arch=all,aarch64] https://abhackerofficial.github.io/abhacker.repo/ abhacker main
# sources.list.d/kuburan.list
deb [arch=all,aarch64] https://kuburan.github.io/files/ termux external
# sources.list.d/knight-repo.list
deb [arch=aarch64] https://cyberknight777.gitlab.io/knight-repo/ knight main
# sources.list.d/ivam3-termux-packages.list
deb [trusted=yes arch=all] https://ivam3.github.io/termux-packages stable extras
Updatable packages:
All packages up to date
termux-tools version:
1.0
Android version:
11
Kernel build information:
Linux localhost 4.14.190-22524370-abA715FXXU8BVA2 #1 SMP PREEMPT Thu Jan 6 17:30:49 KST 2022 aarch64 Android
Device manufacturer:
samsung
Device model:
SM-A715F

rc-chuah avatar Jun 19 '22 12:06 rc-chuah

This issue/PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 04 '22 19:08 stale[bot]

Might be an upstream issue: https://github.com/mono/mono/issues/10679

One workaround is to:

vbc hello.vb -out:hello.exe -vbruntime*
mono ./hello.exe

truboxl avatar Aug 04 '22 22:08 truboxl

Workaround provided. Closing.

xtkoba avatar Mar 02 '23 03:03 xtkoba