Skip to content
Browse files

[Gendarme] Make MSBuild project work under !cmd.exe

  • Loading branch information...
1 parent b6c4ef5 commit ba1367bdb9e553664324c4a9d79854612fe814e3 @mhutch mhutch committed Jan 30, 2013
Showing with 15 additions and 7 deletions.
  1. +15 −7 gendarme/console/gendarme.csproj
View
22 gendarme/console/gendarme.csproj
@@ -91,6 +91,10 @@
<Project>{CD6818D5-B398-486C-B180-92A07B143AFD}</Project>
<Name>Gendarme.Framework</Name>
</ProjectReference>
+ <ProjectReference Include="..\..\..\cecil\symbols\mdb\Mono.Cecil.Mdb.csproj">
+ <Project>{8559DD7F-A16F-46D0-A05A-9139FAEBA8FD}</Project>
+ <Name>Mono.Cecil.Mdb</Name>
+ </ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="ChangeLog" />
@@ -130,17 +134,21 @@
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
+ <Target Name="BeforeBuild">
+ </Target>
-->
+ <Target Name="AfterBuild">
+ <Copy
+ SourceFiles="$(TargetDir)..\..\..\rules\rules.xml"
+ DestinationFolder="$(TargetDir)"
+ SkipUnchangedFiles="True"
+ />
+ </Target>
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
- <PostBuildEvent>copy "$(TargetDir)..\..\..\rules\rules.xml" "$(TargetDir)"
-copy "$(TargetDir)..\..\..\..\..\cecil\bin\net_4_0_Release\Mono.Cecil.Pdb.*" "$(TargetDir)"
-copy "$(TargetDir)..\..\..\..\..\cecil\bin\net_4_0_Release\Mono.Cecil.Mdb.*" "$(TargetDir)"</PostBuildEvent>
+ <PostBuildEvent>
+ </PostBuildEvent>
</PropertyGroup>
<ProjectExtensions>
<MonoDevelop>

0 comments on commit ba1367b

Please sign in to comment.
Something went wrong with that request. Please try again.