source: BMXNET_RPMS_dotNET_UTILITIES-BMX/branch/IHS BMX Framework/NUnitProject/Program.cs@ 1172

Last change on this file since 1172 was 1146, checked in by Sam Habiel, 14 years ago

Initial Import of BMX4

File size: 1.1 KB
RevLine 
[1146]1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Reflection;
6using System.Diagnostics;
7
8namespace NUnitProject
9{
10 class Program
11 {
12 static void Main(string[] args)
13 {
14 try
15 {
16 String NUnitPath = @"C:\Users\Sam\Documents\Visual Studio 2010\Projects\bmx4\IHS BMX Framework\lib\NUnit\NUnit-2.5.10.11092\bin\net-2.0\nunit-console.exe";
17 AssemblyName asmName = System.Reflection.AssemblyName.GetAssemblyName(NUnitPath);
18 System.Environment.CurrentDirectory = System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
19 AppDomain.CurrentDomain.ExecuteAssemblyByName(asmName, new[] { "/framework:4.0", @"C:\Users\Sam\Documents\Visual Studio 2010\Projects\bmx4\IHS BMX Framework\IndianHealthService.BMXNet.Test\bin\Debug\BMXTST40.dll" });
20 Console.ReadLine();
21 }
22 catch (Exception ex)
23 {
24 Trace.WriteLine(ex.Message);
25 Trace.WriteLine(ex.StackTrace);
26 }
27 }
28 }
29}
Note: See TracBrowser for help on using the repository browser.