Always wondered how to get the task to do console output of informations and errors?
I am using the following for the build in my .csproj file (a slight variation of the recomended)
<!-- {sa} protection step -->
<UsingTask TaskName="SmartAssembly.MSBuild.Tasks.Build" AssemblyName="SmartAssembly.MSBuild.Tasks, Version=5.0.0.0" />
<Target Name="BeforeBuild" Condition=" '$(Configuration)' == 'Release' ">
<CreateProperty Value="true">
<Output TaskParameter="Value" PropertyName="RunSmartAssembly" />
</CreateProperty>
</Target>
<Target Name="AfterCompile" Condition=" '$(RunSmartAssembly)' != '' ">
<Copy SourceFiles=".\obj\Release\$(TargetFileName)" DestinationFiles=".\obj\Release\$(TargetName).temp$(TargetExt)" />
<SmartAssembly.MSBuild.Tasks.Build ProjectFile="$(SolutionDir)Build\$(TargetName).{sa}proj" OverwriteAssembly="True" />
</Target>
<!-- {sa} protection step -->
Are there any properties to force console output? Its quite annoying when i have to fire up the GUI app just to see an error or use the .com version, both do not always agree on the error either.
It would really be helpful to have the build task give the information.
I am using the following for the build in my .csproj file (a slight variation of the recomended)
Are there any properties to force console output? Its quite annoying when i have to fire up the GUI app just to see an error or use the .com version, both do not always agree on the error either.
It would really be helpful to have the build task give the information.