예제 #1
0
        private static string WriteMethodsToPreserveBlackList(string stagingAreaData, RuntimeClassRegistry rcr)
        {
            string path = (!Path.IsPathRooted(stagingAreaData) ? Directory.GetCurrentDirectory() + "/" : string.Empty) + stagingAreaData + "/methods_pointedto_by_uievents.xml";

            File.WriteAllText(path, AssemblyStripper.GetMethodPreserveBlacklistContents(rcr));
            return(path);
        }
예제 #2
0
        private static string WriteMethodsToPreserveBlackList(RuntimeClassRegistry rcr, BuildTarget target)
        {
            string tempFileName = Path.GetTempFileName();

            File.WriteAllText(tempFileName, AssemblyStripper.GetMethodPreserveBlacklistContents(rcr, target));
            return(tempFileName);
        }