Changes to make it .NET 2.0 compatible

This commit is contained in:
Stefan Persson 2008-11-10 17:54:55 +00:00
parent 6b91f5be22
commit 04ca3e400c
10 changed files with 48 additions and 29 deletions

View file

@ -299,7 +299,7 @@ namespace DeviceSchedulerAgent {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class JobDataTable : global::System.Data.TypedTableBase<JobRow> {
public partial class JobDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
private global::System.Data.DataColumn columnID;
@ -424,6 +424,11 @@ namespace DeviceSchedulerAgent {
ID})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual global::System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override global::System.Data.DataTable Clone() {
JobDataTable cln = ((JobDataTable)(base.Clone()));
@ -586,7 +591,7 @@ namespace DeviceSchedulerAgent {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class JobActionsDataTable : global::System.Data.TypedTableBase<JobActionsRow> {
public partial class JobActionsDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
private global::System.Data.DataColumn columnID;
@ -704,6 +709,11 @@ namespace DeviceSchedulerAgent {
ID})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual global::System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override global::System.Data.DataTable Clone() {
JobActionsDataTable cln = ((JobActionsDataTable)(base.Clone()));

View file

@ -2,7 +2,7 @@
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.50727</ProductVersion>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{C06932EC-7FF5-420B-A637-BE5802E8B896}</ProjectGuid>
<OutputType>WinExe</OutputType>
@ -18,7 +18,9 @@
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<OldToolsVersion>2.0</OldToolsVersion>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
<TargetFrameworkSubset>
</TargetFrameworkSubset>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@ -39,13 +41,7 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data" />
<Reference Include="System.Data.DataSetExtensions">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
@ -65,6 +61,7 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="DataStorage.xsc">
<DependentUpon>DataStorage.xsd</DependentUpon>
</None>

View file

@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
// Build Number
// Revision
//
[assembly: AssemblyVersion("2007.1.*")]
[assembly: AssemblyFileVersion("2007.1.*")]
[assembly: AssemblyVersion("2007.1.1.2")]
[assembly: AssemblyFileVersion("2007.1.1.2")]