/// <summary>
        /// Loads a generic file for all classes in project
        /// </summary>
        private static ViewActionMap GetDefaultViewActionMap()
        {
            var path = Path.Combine(System.Environment.CurrentDirectory, "default.mvcmap");

            if (File.Exists(path))
            {
                ViewActionMap result = ViewActionMap.Load(path);
                return(result);
            }
            else
            {
                return(new ViewActionMap(true)); //fallback
            }
        }
        /// <summary>
        /// Loads a specific file
        /// </summary>
        private static ViewActionMap GetNamedViewActionMap(string className, bool useDefaltIfNotFound)
        {
            var path = Path.Combine(System.Environment.CurrentDirectory, String.Format("{0}.mvcmap", className));

            if (File.Exists(path))
            {
                ViewActionMap result = ViewActionMap.Load(path);
                return(result);
            }
            else if (useDefaltIfNotFound)
            {
                return(GetDefaultViewActionMap());
            }
            else
            {
                throw new Exception("The mvcmap file specified was not found");
            }
        }