How to crude a project

  1. Unload the project, open for edit and add the following line at the end of the file (before the </Project>)
<Import Project="$(CrudeBinPath)\Crude.targets" />
  1. Load the project, and create new file named AssemblyName.pom.xml where AssemblyName is the name of the assembly.
  2. Copy the next xml into the pom file and change TestingProject to your assembly name:
<?xml version="1.0"?>
<ProjectObjectModel xmlns="http://schemas.datacontract.org/2004/07/Crude.Common" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Name>TestingProject</Name>
  <Version>1.0.0.0</Version>
  <MainOutputFile>TestingProject.exe</MainOutputFile>
  <OutputFiles>
    <OutputFile>
      <FileName>TestingProject.exe</FileName>
      <OutputFileCondition>Both</OutputFileCondition>
    </OutputFile>
    <OutputFile>
      <FileName>TestingProject.pdb</FileName> 
      <OutputFileCondition>Debug</OutputFileCondition>
    </OutputFile>
  </OutputFiles>
  <Dependencies>
    <ProjectDependency>
      <Name>TestingProject2</Name>
      <Version>*</Version>
    </ProjectDependency>
  </Dependencies>
</ProjectObjectModel>
  1. Your project is cruded!

Last edited Dec 4, 2010 at 9:43 PM by somdoron, version 4

Comments

No comments yet.