```lua target("usbview") add_rules("win.sdk.application") add_files("*.c", "*.rc") add_files("xmlhelper.cpp", {rule = "win.sdk.dotnet"}) ``` If you want to known more information, you can see [#173](https://github.com/xmake-io/xmake/issues/173).