Esempio n. 1
0
        public void VbcHostObjectNotUsedIfToolPathSpecified()
        {
            IBuildEngine2 mockEngine = new MockEngine();
            Vbc           vbc        = new Vbc();

            vbc.BuildEngine = mockEngine;
            MockVbcHostObject vbcHostObject = new MockVbcHostObject();

            vbc.HostObject = vbcHostObject;
            vbc.UseHostCompilerIfAvailable = true;
            vbc.ToolPath = "c:\\some\\custom\\path";

            Assert.IsTrue(vbc.UseAlternateCommandLineToolToExecute());
        }