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);
		}