25 lines
645 B
Bash
25 lines
645 B
Bash
#!/bin/bash
|
|
|
|
echo "Testing Wine + .NET integration..."
|
|
|
|
# Test 1: Check if .NET works natively
|
|
echo "1. Testing native .NET:"
|
|
dotnet --version
|
|
|
|
# Test 2: Check if Wine works
|
|
echo "2. Testing Wine:"
|
|
wine --version
|
|
|
|
# Test 3: Test Wine with .NET (this will use .NET through Wine)
|
|
echo "3. Testing .NET through Wine:"
|
|
wine dotnet --version
|
|
|
|
# Test 4: Create a simple .NET console app and run it through Wine
|
|
echo "4. Creating and running a simple .NET app through Wine:"
|
|
dotnet new console -n TestApp -o /tmp/testapp
|
|
cd /tmp/testapp
|
|
dotnet build
|
|
wine dotnet /tmp/testapp/bin/Debug/net9.0/TestApp.dll
|
|
|
|
echo "Wine + .NET integration test completed!"
|