This commit is contained in:
mterwoord_cp 2011-01-03 10:58:45 +00:00
parent e8b53132ca
commit d523b2ffd5
2 changed files with 16 additions and 6 deletions

View file

@ -110,6 +110,7 @@ Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "Docs", "..\Docs", "{67E7DEF
Release.AspNetCompiler.ForceOverwrite = "true"
Release.AspNetCompiler.FixedNames = "false"
Release.AspNetCompiler.Debug = "False"
VWDPort = "34581"
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cosmos.Compiler.Debug", "..\source2\IL2CPU\Cosmos.IL2CPU.Debug\Cosmos.Compiler.Debug.csproj", "{9998B4EA-385E-4DA2-8905-2BBEB5B2C6E2}"
@ -1167,6 +1168,7 @@ Global
{6882C74B-3ED2-4D76-9E7B-67B6A28808BC}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{6882C74B-3ED2-4D76-9E7B-67B6A28808BC}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{6882C74B-3ED2-4D76-9E7B-67B6A28808BC}.Debug|x86.ActiveCfg = Debug|Any CPU
{6882C74B-3ED2-4D76-9E7B-67B6A28808BC}.Debug|x86.Build.0 = Debug|Any CPU
{6882C74B-3ED2-4D76-9E7B-67B6A28808BC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6882C74B-3ED2-4D76-9E7B-67B6A28808BC}.Release|Any CPU.Build.0 = Release|Any CPU
{6882C74B-3ED2-4D76-9E7B-67B6A28808BC}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU

View file

@ -48,12 +48,11 @@ namespace Cosmos.VS.Package
//var xReferenceContainer = GetReferenceContainer();
return base.Build(vsopts, config, output, target);
}
}
protected override MSBuildResult InvokeMsBuild(string target)
internal override void BuildAsync(uint vsopts, string config, IVsOutputWindowPane output, string target, Action<MSBuildResult, string> uiThreadCallback)
{
// remove it, no really function in it Trivalik
/*var xSolutionBuildManager = (IVsSolutionBuildManager)this.GetService(typeof(IVsSolutionBuildManager));
var xSolutionBuildManager = (IVsSolutionBuildManager)this.GetService(typeof(IVsSolutionBuildManager));
var xSolution = (IVsSolution)this.GetService(typeof(IVsSolution));
if (xSolutionBuildManager != null && xSolution != null)
{
@ -68,11 +67,20 @@ namespace Cosmos.VS.Package
{
if (xGuid != this.ProjectIDGuid)
{
return MSBuildResult.Successful;
uiThreadCallback(MSBuildResult.Successful, "Skipped");
output.OutputStringThreadSafe("Project skipped, as it's not necessary for running");
return;
}
}
}
}*/
}
base.BuildAsync(vsopts, config, output, target, uiThreadCallback);
}
protected override MSBuildResult InvokeMsBuild(string target)
{
// if the project is not set as startup project, don't build the iso
return base.InvokeMsBuild(target);
}