Skip to content

Commit

Permalink
Simulate a successful result to "GetFrameworkPaths"
Browse files Browse the repository at this point in the history
  • Loading branch information
sharwell committed Oct 15, 2014
1 parent 70f4637 commit 306c30b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions DanTup.DartVS.Vsix/ProjectSystem/DartProjectNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
using System.Runtime.InteropServices;
using System.Text;
using Microsoft.VisualStudio.Project;
using Microsoft.VisualStudio.Shell.Interop;

using __VSHPROPID = Microsoft.VisualStudio.Shell.Interop.__VSHPROPID;
using _PersistStorageType = Microsoft.VisualStudio.Shell.Interop._PersistStorageType;
Expand Down Expand Up @@ -320,6 +321,14 @@ protected override Guid[] GetPriorityProjectDesignerPages()
};
}

public override MSBuildResult CallMSBuild(string config, string platform, IVsOutputWindowPane output, string target)
{
if ("GetFrameworkPaths".Equals(target, StringComparison.OrdinalIgnoreCase))
return MSBuildResult.Successful;

return base.CallMSBuild(config, platform, output, target);
}

internal object HandleCreateService(Type serviceType)
{
object service = null;
Expand Down

0 comments on commit 306c30b

Please sign in to comment.