Kudos to jreininger and geob! This thread was on point for me this week. A few tidbits for anyone that may follow. Code: I needed to remove the Begin/End Region statements to get this to c...
See more...
Kudos to jreininger and geob! This thread was on point for me this week. A few tidbits for anyone that may follow. Code: I needed to remove the Begin/End Region statements to get this to compile. Compiler [Microsoft Windows 10 Build 1909] The command-line Visual Basic compiler, when .NET is installed, lives at C:\Windows\Microsoft.NET\<Framework>\<.NETVersion>\vbc.exe where <Framework> is one of: • Framework • Framework64 where <.NETVerison> is one of: • v1.0.3705 • v1.1.4322 • v1.1.4322 • v2.0.50727 • v3.0 • v3.5 • v4.0.30319 https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/versions-and-dependencies Compilation C:\Users\rdkoziel\Publish>dir Directory of C:\Users\rdkoziel\Publish 12/31/2019 10:04 AM <DIR> . 12/31/2019 10:04 AM <DIR> .. 12/31/2019 09:41 AM 2,589 cpubusymt.vb 1 File(s) 2,589 bytes 2 Dir(s) 742,713,499,648 bytes free C:\Users\rdkoziel\Publish>c:\Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe cpubusymt.vb /out:cpubusymt.exe /target:exe Microsoft (R) Visual Basic Compiler version 14.8.3752 for Visual Basic 2012 Copyright (c) Microsoft Corporation. All rights reserved. This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to Visual Basic 2012, which is no longer the latest version. For compilers that support newer versions of the Visual Basic programming language, see http://go.microsoft.com/fwlink/?LinkID=533241 C:\Users\rdkoziel\Publish>dir 12/31/2019 10:06 AM <DIR> . 12/31/2019 10:06 AM <DIR> .. 12/31/2019 10:06 AM 8,192 cpubusymt.exe 12/31/2019 09:41 AM 2,589 cpubusymt.vb 2 File(s) 10,781 bytes 2 Dir(s) 742,713,257,984 bytes free C:\Users\rdkoziel\Publish> • Note that the source code filename is the first argument after the path to vbc.exe • /out: specifies the resulting filename • /target:exe specifies the executable type; in this case, a console application https://docs.microsoft.com/en-us/dotnet/visual-basic/reference/command-line-compiler/how-to-invoke-the-command-line-compiler