Exclude resource elements from Visual Studio when no resource files are present
Fix "unused parameter" warning