CallMSBuild() публичный Метод

Calls MSBuild if it is not suspended. Does not log and uses current configuration. If it is suspended then it will remeber to call when msbuild is resumed.
public CallMSBuild ( string target ) : MSBuildResult
target string
Результат MSBuildResult
Пример #1
0
        public virtual void Initialize(ProjectNode projectNode)
        {
            if (projectNode == null)
            {
                throw new ArgumentNullException("projectNode");
            }

            if (projectNode.CallMSBuild("GetFrameworkPaths") != MSBuildResult.Successful)
            {
                throw new InvalidOperationException("Build of GetFrameworkPaths failed.");
            }

            this.rarInputs = new RarInputs(projectNode.CurrentConfig);
        }
		public virtual void Initialize(ProjectNode projectNode)
		{
			if (projectNode == null)
			{
				throw new ArgumentNullException("projectNode");
			}

			if (projectNode.CallMSBuild("GetFrameworkPaths") != MSBuildResult.Successful)
			{
				throw new InvalidOperationException("Build of GetFrameworkPaths failed.");
			}

			this.rarInputs = new RarInputs(projectNode.CurrentConfig);
		}