BuildMsm() публичный статический Метод

Builds the MSM file from the specified Project instance.
public static BuildMsm ( Project project ) : string
project Project The instance.
Результат string
Пример #1
0
 /// <summary>
 /// Builds the MSM file from the specified <see cref="Project"/> instance.
 /// </summary>
 /// <param name="path">The path to the MSM file to be build.</param>
 /// <returns>Path to the built MSM file.</returns>
 public string BuildMsm(string path = null)
 {
     if (path == null)
     {
         return(Compiler.BuildMsm(this));
     }
     else
     {
         return(Compiler.BuildMsm(this, path));
     }
 }
Пример #2
0
        /// <summary>
        /// Builds the MSM file from the specified <see cref="Project"/> instance.
        /// </summary>
        /// <param name="path">The path to the MSM file to be build.</param>
        /// <returns>Path to the built MSM file.</returns>
        public string BuildMsm(string path = null)
        {
            if (Compiler.ClientAssembly.IsEmpty())
            {
                Compiler.ClientAssembly = System.Reflection.Assembly.GetCallingAssembly().GetLocation();
            }

            if (path == null)
            {
                return(Compiler.BuildMsm(this));
            }
            else
            {
                return(Compiler.BuildMsm(this, path));
            }
        }