Skip to content

Cross compile using codespace from Linux to Windows #108328

Discussion options

You must be logged in to vote

Unfortunately, it doesn't seem like Codespaces will support Windows containers anytime soon.

I'm not too familiar with C#, but to share what I've done, I develop in an Ubuntu codespace, and use actions to both run test and build release assets. See this project's workflows for some examples. As far as the minutes limit is concerned, you might want to build a Windows version only when creating a release asset, and do all your testing in Linux (assuming you don't have any intended OS-specific behavior). Note that you're also consuming storage and CPU time in your codespace, so using actions may be more efficient for testing and building.

You can definitely use docker to compile a Windows ut…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@redflitzi
Comment options

@spenserblack
Comment options

Answer selected by redflitzi
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Codespaces Your development environment, in the cloud. Run VS Code and code on GitHub's cloud platform, Question
2 participants