This project is read-only.

msbuld extension pack task unrecognized

Aug 3, 2010 at 3:15 PM

I am using the msbuild ext pack 4.0

<Import Project="C:\Program Files\MSBuild\ExtensionPack\4.0\MSBuild.ExtensionPack.tasks"/>
<MSBuild.ExtensionPack.UI.Dialog TaskAction="Show" Text="Hello. Press OK to continue..."/

and get the following error

Build started 08/03/2010 9:20:44 AM.
Project "C:\MSBuildScripts\DispOSVersion.proj" on node 1 (default targets).
C:\MSBuildScripts\DispOSVersion.proj(8,3): error MSB4067: The element <MSBuild.ExtensionPack.UI.Dialog> beneath element <Project> is unreco
Done Building Project "C:\MSBuildScripts\DispOSVersion.proj" (default targets) -- FAILED.

 any idesa?

Aug 3, 2010 at 3:33 PM



The task needs to be within a <Target> element


Aug 3, 2010 at 3:54 PM

that was it, thank you