fdgfdg

$(MSBuildBinPath)\msbuild.exe “$(ProjectDir)build.xml” /p:TargetDir=”$(TargetDir)

 

<?xml version=”1.0″ encoding=”utf-8″?>
<Project xmlns=”http://schemas.microsoft.com/developer/MsBuild/2003″&gt;
<UsingTask TaskName=”CssCompressorTask” AssemblyFile=”$(TargetDir)Yahoo.Yui.Compressor.Build.MsBuild.dll” />
<UsingTask TaskName=”JavaScriptCompressorTask” AssemblyFile=”$(TargetDir)Yahoo.Yui.Compressor.Build.MsBuild.dll” />
<Target Name=”Minify”>
<ItemGroup>
<CssFiles1 Include=”css\main.css”/>
<JavaScriptFiles1 Include=”JS\login.js”/>
</ItemGroup>
<CssCompressorTask SourceFiles=”@(CssFiles1)” OutputFile=”css\main.min.css” />
<JavaScriptCompressorTask SourceFiles=”@(JavaScriptFiles1)” OutputFile=”JS\login.min.js” />
</Target>
</Project>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s