Skip to content

Conversation

@kennystrawnmusic
Copy link

@kennystrawnmusic kennystrawnmusic commented Nov 22, 2025

With these changes, one would be able to use the following command to cross-compile Rubeus for a Windows target from a Linux dev machine running VS Code and the C# Dev Kit:

$ dotnet build ./Rubeus/Rubeus.csproj -c Release -f net48 -r win-x64
/usr/share/dotnet/sdk/9.0.110/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(32,5): warning NETSDK1138: The target framework 'net6.0-windows' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
/home/htb-ac-1424625/Desktop/Rubeus/Rubeus/Rubeus.csproj : warning NU1903: Package 'Microsoft.Windows.Compatibility' 6.0.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-555c-2p6r-68mm
  Rubeus net48 succeeded with 1 warning(s) (0.2s) → Rubeus/bin/Release/net48/win-x64/Rubeus.exe
    /home/htb-ac-1424625/Desktop/Rubeus/Rubeus/Rubeus.csproj : warning NU1903: Package 'Microsoft.Windows.Compatibility' 6.0.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-555c-2p6r-68mm

Build succeeded with 1 warning(s) in 0.3s

@kennystrawnmusic kennystrawnmusic changed the title Allow cross-compilation for Windows from Linux VS Code Allow cross-compilation for Windows targets from Linux VS Code Nov 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant