Solved

Finding the starting point of an open source program.

Posted on 2011-03-08
4
336 Views
Last Modified: 2013-12-17
I have been tasked with extending the functionality of an open source database unit testing suite called DbFIT (http://gojko.net/fitnesse/dbfit and http://fitnesse.info/dbfit).
 
My experience with C# is from a website prospective.

I have the assemblies for DbFIT, how do I locate the starting point of the program/ project?

0
Comment
Question by:Mr_Shaw
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 35068293
If it is an actual EXE application, rather than a DLL, you need to find the method called "main". That method is the entrypoint.
0
 

Author Comment

by:Mr_Shaw
ID: 35068426
using Red Gate's .NET Reflector I found the EXE.

When I loaded up the Project File it just gives me the following code.

What is my next move?



<VisualStudioProject>
  <CSHARP ProjectType="local" ProjectVersion="7.10.3077" SchemaVersion="2.0" ProjectGuid="f9ba497a-1c82-40bd-a252-0c1bf593d082">
    <Build>
      <Settings AssemblyName="TestRunner" DefaultClientScript="JScript" DefaultHTMLPageLayout="Grid" DefaultTargetSchema="IE50" DelaySign="false" OutputType="Exe">
        <Config Name="Debug" AllowUnsafeBlocks="true" DefineConstants="DEBUG;TRACE" DebugSymbols="true" IncrementalBuild="false" NoStdLib="false" Optimize="false" OutputPath="bin\Debug\" WarningLevel="4" />
        <Config Name="Release" AllowUnsafeBlocks="true" DefineConstants="TRACE" DebugSymbols="false" IncrementalBuild="false" NoStdLib="false" Optimize="true" OutputPath="bin\Release\" WarningLevel="4" />
      </Settings>
      <References>
        <Reference Name="fit" AssemblyName="fit" />
      </References>
    </Build>
    <Files>
      <Include>
        <File RelPath="AssemblyInfo.cs" SubType="Code" BuildAction="Compile" />
        <File RelPath="Global.cs" SubType="Code" BuildAction="Compile" />
        <File RelPath="TestRunner\TestRunnerMain.cs" SubType="Code" BuildAction="Compile" />
      </Include>
    </Files>
  </CSHARP>
</VisualStudioProject>

Open in new window

0
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 500 total points
ID: 35068465
The <Include> section show you the source files included in the project. So, your entry point is going to be in either "Global.cs" or "TestRunnerMain.cs".
0
 

Author Closing Comment

by:Mr_Shaw
ID: 35068968
thanks
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Introduction to Processes

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question