I am using "Yahoo.Yui.Compressor.dll" to create minified js with help of MSBuild.exe
and I have visual studio 2008 and framework 3.5. But when I try to build my project, I am getting below error.
The "CompressorTask" task was not found. Check the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface.
3.) The task is correctly declared with <UsingTask> in the project file, or in the *.tasks files located in the "C:\Windows\Microsoft.NET\Framework\v3.5" directory.
FYI, My prebuild event command is,