WinWrap.Basic.Server 10.53.0.19

There is a newer version of this package available.
See the version list below for details.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package WinWrap.Basic.Server --version 10.53.0.19
                    
NuGet\Install-Package WinWrap.Basic.Server -Version 10.53.0.19
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="WinWrap.Basic.Server" Version="10.53.0.19" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="WinWrap.Basic.Server" Version="10.53.0.19" />
                    
Directory.Packages.props
<PackageReference Include="WinWrap.Basic.Server" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add WinWrap.Basic.Server --version 10.53.0.19
                    
#r "nuget: WinWrap.Basic.Server, 10.53.0.19"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package WinWrap.Basic.Server@10.53.0.19
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=WinWrap.Basic.Server&version=10.53.0.19
                    
Install as a Cake Addin
#tool nuget:?package=WinWrap.Basic.Server&version=10.53.0.19
                    
Install as a Cake Tool

WinWrap® Basic for .NET 5+ Everywhere

WinWrap® Basic for .NET 5+ Everywhere provides VB.NET scripting in a .NET/8+ object. Any .NET/8+ application can extend the scripting language using .NET/8+ classes.

For more infomation follow this link: https://www.winwrap.com/).

Licensing

WinWrap® Basic is licensed by PolarEngineering®, Inc.

History

PolarEngineering®, Inc. has been marketing WinWrap® Basic for Windows since 1993. Now, with WinWrap® Basic for .NET 5+ Everywhere any .NET 8+ application can utilized WinWrap® Basic scripting. Use WinWrap® Basic to provide VB.NET scripting on Windows, Linux, Macintosh, etc.

Evaluation

Request a WinWrap® Basic evaluation certificate from the "Evaluate" link at https://www.winwrap.com/web2/evaluate/.

Sample Console Application utilizing WinWrap® Basic

using System.Diagnostics;
using System.Reflection;
using WinWrap.Basic.Server;

namespace Test1
{
    internal class Program
    {
        static void Main(string[] args)
        {
            string root = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + Path.DirectorySeparatorChar;

            using BasicNoUIObj basic_ = new();
            basic_.DebugClear += (sender, e) => Console.Clear();
            basic_.DebugPrint += (sender, e) => Console.Write(e.Text);
            basic_.ErrorAlert += (sender, e) => Console.WriteLine(basic_.Error.ToString());

            // not required for evaluation
            // basic_.Secret = new Guid("<secret>");

            basic_.Initialize();

            bool result;

            basic_.FileName = root + "NoSyntaxError.vb";
            result = basic_.SyntaxCheck();
            Debug.Assert(result);

            basic_.FileName = root + "SyntaxError.vb";
            result = basic_.SyntaxCheck();
            Debug.Assert(!result);

            basic_.HiddenCode =
@"'#Language ""WWB.NET""
Sub DoIt
Debug.Print Now
End Sub";
            result = basic_.LoadModule(root + "Module1.vb");
            Debug.Assert(result);

            result = basic_.AddSafeReference(typeof(ClassLibrary1.Class1).Assembly, "ClassLibrary1");
            Debug.Assert(result);
            var c1 = new ClassLibrary1.Class1();
            result = basic_.AddExtensionObject("c1", c1);
            Debug.Assert(result);

            result = basic_.AddSafeReference(typeof(ClassLibrary2.Class2).Assembly, "ClassLibrary2");
            Debug.Assert(result);
            var c2 = new ClassLibrary2.Class2();
            result = basic_.AddExtensionObject("c2", c2);
            Debug.Assert(result);

            result = basic_.AddSafeReference(typeof(ClassLibrary3.Class3).Assembly, root + "Macro.vb|ClassLibrary3");
            Debug.Assert(result);
            var c3 = new ClassLibrary3.Class3();
            result = basic_.AddExtensionObject(root + "Macro.vb|c3", c3);
            Debug.Assert(result);

            result = basic_.RunFile(root + "Macro.vb");
            Debug.Assert(result);

            result = basic_.UnloadModule(root + "Module1.vb");
            Debug.Assert(result);
        }
    }
}

Macro.vb script

'#Language "WWB.NET"
Sub Main
    Debug.Print Now
    Debug.Print c1.Info
    Debug.Print c2.Info
    Debug.Print c3.Info
    Debug.Print GetType(Class1).FullName
    Debug.Print GetType(Class2).FullName
    Debug.Print GetType(Class3).FullName
    DoIt
    DoIt1
End Sub

Module1.vb script

'#Language "WWB.NET"

'#Uses "Module2.vb"

Module Module1
    Sub DoIt1
        Debug.Print "Module1.DoIt1"
        DoIt2
    End Sub
End Module

Module2.vb script

'#Language "WWB.NET"

Module Module2
    Sub DoIt2
        Debug.Print "Module2.DoIt2"
    End Sub
End Module

NoSyntaxError.vb script

'#Language "WWB.NET"

Sub Main
    Debug.Print Now
End Sub

SyntaxError.vb script

'#Language "WWB.NET"

Sub Main
    x
End Sub
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.53.27.1 213 6/26/2025
10.53.26.1 185 5/28/2025
10.53.23.1 152 5/2/2025
10.53.22.2 194 4/27/2025