This repo is the official home of .NET on GitHub. It's a great starting point to find many .NET OSS projects from Microsoft and the community, including many that are part of the .NET Foundation.
Hello
I was seeking a language with the following parameters:
Simple and readable syntax.
Capability to effortlessly create Windows user interfaces.
Native support for Windows applications.
Superior performance and quick startup times.
Portability, eliminating the need for extensive installations like the 10-20 GB Visual Studio IDE.
It should already be widely used and possess a substantial community.
I discovered that VB6 meets my needs, but unfortunately, it is no longer supported. Therefore, I tried VB .NET. I found the transition to be quite easy, and the VB code was far more readable and concise compared to C#/C++. As I had mentioned, I did not want to install anything, so I did not try .NET 6 and 7. I aim to utilize built-in tools like vbc.exe or portable tools as much as possible. However, the problem with .NET framework is that the startup time remains consistently between 1-2 seconds, regardless of the code's weightiness or the language used (VB or C#). In contrast, VB6 applications start immediately. Here's an example that is written in VB .NET:
Imports System.Windows.Forms
Imports System.Drawing
Public Class Form1
Inherits Form
Private WithEvents button As New Button()
Private WithEvents textBox As New TextBox()
Public Sub New()
button.Text = "Browse"
button.Location = New Point(10, 10)
Me.Controls.Add(button)
textBox.Location = New Point(10, 40)
Me.Controls.Add(textBox)
End Sub
End Class
Module Module1
Sub Main()
Application.Run(New Form1)
End Sub
End Module
What I did:
1.
CD C:\Windows\Microsoft.NET\Framework64\v4.0.30319
NGEN update
I tried various options for the vbc.exe (and csc.exe) compilers, such as /optimize[+|-] and /platform.
Different versions of the .NET framework (both 32-bit and 64-bit) including versions 2, 3.5, and 4.x.x.
Using msbuild.exe to compile my application with the following command:
msbuild /property:Configuration=Release;UseDotNetNativeToolchain=true MyFile.vbproj
Hello I was seeking a language with the following parameters:
I discovered that VB6 meets my needs, but unfortunately, it is no longer supported. Therefore, I tried VB .NET. I found the transition to be quite easy, and the VB code was far more readable and concise compared to C#/C++. As I had mentioned, I did not want to install anything, so I did not try .NET 6 and 7. I aim to utilize built-in tools like vbc.exe or portable tools as much as possible. However, the problem with .NET framework is that the startup time remains consistently between 1-2 seconds, regardless of the code's weightiness or the language used (VB or C#). In contrast, VB6 applications start immediately. Here's an example that is written in VB .NET:
What I did:
1.
msbuild /property:Configuration=Release;UseDotNetNativeToolchain=true MyFile.vbproj
here is content of MyFile.vbproj:
Thanks in advance.