CGDocumentManager: Version Check Added.

Release versions, again
This commit is contained in:
sam 2011-03-29 10:07:31 +00:00
parent af43384cd7
commit 6b124a0bf7
6 changed files with 4 additions and 7 deletions

View File

@ -502,19 +502,16 @@ namespace IndianHealthService.ClinicalScheduling
Version x = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
//if version numbers mismatch, don't continue.
//TODO: For future: Include in v. 1.5
/*
if (!(x.Major.ToString() == sMajor && x.Minor.ToString() + x.Build.ToString() == sMinor))
if (!(x.Major.ToString() == sMajor && x.Minor.ToString() == sMinor))
{
MessageBox.Show(
"Server runs version " + sMajor + "." + sMinor + "\r\n" +
"You are running " + x.ToString() + "\r\n\r\n" +
"Major, Minor and Build versions must match",
"Version Mismatch");
m_ds.Close();
return;
closeSplashDelegate();
return false;
}
*/
//Change encoding

View File

@ -36,7 +36,7 @@
<RemoteDebugMachine>
</RemoteDebugMachine>
<StartAction>Project</StartAction>
<StartArguments>/s=172.16.16.108 /p=9250 /a=BASMA.ALDWAIRI /v=SELEN.123 /culture=ar-JO</StartArguments>
<StartArguments>/s=192.168.56.101 /p=9260 /a=shabiel12 /v=catdog.77</StartArguments>
<StartPage>
</StartPage>
<StartProgram>C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\IEExec.exe</StartProgram>