diff --git a/Code/Editor/MenuItems/BaseMenuItems.cs b/Code/Editor/MenuItems/BaseMenuItems.cs index 009156ce..dcec60c7 100644 --- a/Code/Editor/MenuItems/BaseMenuItems.cs +++ b/Code/Editor/MenuItems/BaseMenuItems.cs @@ -136,5 +136,13 @@ private static void GenerateGuid() { Debug.Log(Guid.NewGuid().ToString("N")); } + + [MenuItem(MAIN_MENU_NAME + "Misc/Create csc.rsp")] + private static void CreateRspFile() + { + string text = "-nowarn:8632,8524/n/r-warnaserror:0108,0114,8509"; + File.WriteAllText($"{AssetDatabaseExt.ASSET_FOLDER}csc.rsp", text); + AssetDatabase.Refresh(); + } } }