mirror of
https://github.com/ckaczor/FeedCenter.git
synced 2026-02-16 10:58:31 -05:00
Remove feed reading async code
Update to new binding expression code on options dialog Update to .NET framework 4.5.1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
<RootNamespace>FeedCenter</RootNamespace>
|
<RootNamespace>FeedCenter</RootNamespace>
|
||||||
<AssemblyName>FeedCenter</AssemblyName>
|
<AssemblyName>FeedCenter</AssemblyName>
|
||||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>
|
||||||
<TargetFrameworkProfile>
|
<TargetFrameworkProfile>
|
||||||
</TargetFrameworkProfile>
|
</TargetFrameworkProfile>
|
||||||
<FileAlignment>512</FileAlignment>
|
<FileAlignment>512</FileAlignment>
|
||||||
@@ -347,9 +347,9 @@
|
|||||||
<None Include="Scripts\CreateDatabase.sqlce" />
|
<None Include="Scripts\CreateDatabase.sqlce" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<BootstrapperPackage Include=".NETFramework,Version=v4.5">
|
<BootstrapperPackage Include=".NETFramework,Version=v4.5.1">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
<ProductName>Microsoft .NET Framework 4.5 %28x86 and x64%29</ProductName>
|
<ProductName>Microsoft .NET Framework 4.5.1 %28x86 and x64%29</ProductName>
|
||||||
<Install>true</Install>
|
<Install>true</Install>
|
||||||
</BootstrapperPackage>
|
</BootstrapperPackage>
|
||||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||||
|
|||||||
@@ -1,18 +1,13 @@
|
|||||||
using System;
|
using Common.Debug;
|
||||||
using System.Collections.Generic;
|
using Common.Xml;
|
||||||
|
using FeedCenter.FeedParsers;
|
||||||
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
using Common.Debug;
|
|
||||||
using Common.Extensions;
|
|
||||||
using Common.Xml;
|
|
||||||
using FeedCenter.Data;
|
|
||||||
using FeedCenter.FeedParsers;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace FeedCenter
|
namespace FeedCenter
|
||||||
{
|
{
|
||||||
#region Enumerations
|
#region Enumerations
|
||||||
@@ -73,7 +68,7 @@ namespace FeedCenter
|
|||||||
Tracer.WriteLine("Reading feed: {0}", Source);
|
Tracer.WriteLine("Reading feed: {0}", Source);
|
||||||
Tracer.IncrementIndentLevel();
|
Tracer.IncrementIndentLevel();
|
||||||
|
|
||||||
FeedReadResult result = ReadFeed(database, forceRead);
|
var result = ReadFeed(database, forceRead);
|
||||||
|
|
||||||
// Handle the result
|
// Handle the result
|
||||||
switch (result)
|
switch (result)
|
||||||
@@ -92,7 +87,7 @@ namespace FeedCenter
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If the feed was successfully read and we have no last update timestamp - set the last update timestamp to now
|
// If the feed was successfully read and we have no last update timestamp - set the last update timestamp to now
|
||||||
if (result == FeedReadResult.Success && LastUpdated == FeedCenter.Data.Extensions.SqlDateTimeZero.Value)
|
if (result == FeedReadResult.Success && LastUpdated == Data.Extensions.SqlDateTimeZero.Value)
|
||||||
LastUpdated = DateTime.Now;
|
LastUpdated = DateTime.Now;
|
||||||
|
|
||||||
Tracer.DecrementIndentLevel();
|
Tracer.DecrementIndentLevel();
|
||||||
@@ -101,25 +96,28 @@ namespace FeedCenter
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
private async Task<Tuple<FeedReadResult, string>> RetrieveFeed()
|
private Tuple<FeedReadResult, string> RetrieveFeed()
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// Create the web request
|
// Create the web request
|
||||||
WebRequest oRequest = WebRequest.Create(new Uri(Source));
|
var oRequest = WebRequest.Create(new Uri(Source));
|
||||||
|
|
||||||
|
// Attempt to cast to a web request
|
||||||
|
var webRequest = oRequest as HttpWebRequest;
|
||||||
|
|
||||||
// If this is an http request set some special properties
|
// If this is an http request set some special properties
|
||||||
if (oRequest is HttpWebRequest)
|
if (webRequest != null)
|
||||||
{
|
{
|
||||||
// Cast the request
|
|
||||||
HttpWebRequest webRequest = (HttpWebRequest) oRequest;
|
|
||||||
|
|
||||||
// Make sure to use HTTP version 1.1
|
// Make sure to use HTTP version 1.1
|
||||||
webRequest.ProtocolVersion = HttpVersion.Version11;
|
webRequest.ProtocolVersion = HttpVersion.Version11;
|
||||||
|
|
||||||
// Set that we'll accept compressed data
|
// Set that we'll accept compressed data
|
||||||
webRequest.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate;
|
webRequest.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate;
|
||||||
|
|
||||||
|
// Set a timeout
|
||||||
|
webRequest.Timeout = 10000;
|
||||||
|
|
||||||
// If we need to authenticate then set the credentials
|
// If we need to authenticate then set the credentials
|
||||||
if (Authenticate)
|
if (Authenticate)
|
||||||
webRequest.Credentials = new NetworkCredential(Username, Password, Domain);
|
webRequest.Credentials = new NetworkCredential(Username, Password, Domain);
|
||||||
@@ -129,21 +127,17 @@ namespace FeedCenter
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Set the default encoding
|
// Set the default encoding
|
||||||
Encoding encoding = Encoding.UTF8;
|
var encoding = Encoding.UTF8;
|
||||||
|
|
||||||
// Attempt to get the response
|
|
||||||
var response = (HttpWebResponse) await oRequest.GetResponseAsync().WithTimeout(10000).ConfigureAwait(false);
|
|
||||||
|
|
||||||
// If there was no response assume it was a timeout of the async method
|
// Attempt to get the response
|
||||||
if (response == null)
|
var response = (HttpWebResponse) oRequest.GetResponse();
|
||||||
return Tuple.Create(FeedReadResult.Timeout, string.Empty);
|
|
||||||
|
|
||||||
// If the response included an encoding then change the encoding
|
// If the response included an encoding then change the encoding
|
||||||
if (response.ContentEncoding.Length > 0)
|
if (response.ContentEncoding.Length > 0)
|
||||||
encoding = Encoding.GetEncoding(response.ContentEncoding);
|
encoding = Encoding.GetEncoding(response.ContentEncoding);
|
||||||
|
|
||||||
// Get the response stream
|
// Get the response stream
|
||||||
Stream responseStream = response.GetResponseStream();
|
var responseStream = response.GetResponseStream();
|
||||||
|
|
||||||
if (responseStream == null)
|
if (responseStream == null)
|
||||||
return Tuple.Create(FeedReadResult.NoResponse, string.Empty);
|
return Tuple.Create(FeedReadResult.NoResponse, string.Empty);
|
||||||
@@ -152,7 +146,7 @@ namespace FeedCenter
|
|||||||
StreamReader textReader = new XmlSanitizingStream(responseStream, encoding);
|
StreamReader textReader = new XmlSanitizingStream(responseStream, encoding);
|
||||||
|
|
||||||
// Get the feed text
|
// Get the feed text
|
||||||
string feedText = textReader.ReadToEnd();
|
var feedText = textReader.ReadToEnd();
|
||||||
|
|
||||||
// Get rid of any leading and trailing whitespace
|
// Get rid of any leading and trailing whitespace
|
||||||
feedText = feedText.Trim();
|
feedText = feedText.Trim();
|
||||||
@@ -170,12 +164,12 @@ namespace FeedCenter
|
|||||||
}
|
}
|
||||||
catch (WebException webException)
|
catch (WebException webException)
|
||||||
{
|
{
|
||||||
FeedReadResult result = FeedReadResult.UnknownError;
|
var result = FeedReadResult.UnknownError;
|
||||||
|
|
||||||
if (webException.Response is HttpWebResponse)
|
var errorResponse = webException.Response as HttpWebResponse;
|
||||||
|
|
||||||
|
if (errorResponse != null)
|
||||||
{
|
{
|
||||||
HttpWebResponse errorResponse = (HttpWebResponse) webException.Response;
|
|
||||||
|
|
||||||
switch (errorResponse.StatusCode)
|
switch (errorResponse.StatusCode)
|
||||||
{
|
{
|
||||||
case HttpStatusCode.InternalServerError:
|
case HttpStatusCode.InternalServerError:
|
||||||
@@ -224,8 +218,6 @@ namespace FeedCenter
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
string feedText;
|
|
||||||
|
|
||||||
// If not enabled then do nothing
|
// If not enabled then do nothing
|
||||||
if (!Enabled)
|
if (!Enabled)
|
||||||
return FeedReadResult.NotEnabled;
|
return FeedReadResult.NotEnabled;
|
||||||
@@ -234,7 +226,7 @@ namespace FeedCenter
|
|||||||
if (!forceRead)
|
if (!forceRead)
|
||||||
{
|
{
|
||||||
// Figure out how long since we last checked
|
// Figure out how long since we last checked
|
||||||
TimeSpan timeSpan = DateTime.Now - LastChecked;
|
var timeSpan = DateTime.Now - LastChecked;
|
||||||
|
|
||||||
// Check if we are due to read the feed
|
// Check if we are due to read the feed
|
||||||
if (timeSpan.TotalMinutes < CheckInterval)
|
if (timeSpan.TotalMinutes < CheckInterval)
|
||||||
@@ -247,19 +239,16 @@ namespace FeedCenter
|
|||||||
// Read the feed text
|
// Read the feed text
|
||||||
var retrieveResult = RetrieveFeed();
|
var retrieveResult = RetrieveFeed();
|
||||||
|
|
||||||
// Wait on the result
|
|
||||||
retrieveResult.Wait();
|
|
||||||
|
|
||||||
// Get the information out of the async result
|
// Get the information out of the async result
|
||||||
FeedReadResult result = retrieveResult.Result.Item1;
|
var result = retrieveResult.Item1;
|
||||||
feedText = retrieveResult.Result.Item2;
|
var feedText = retrieveResult.Item2;
|
||||||
|
|
||||||
// If we didn't successfully retrieve the feed then stop
|
// If we didn't successfully retrieve the feed then stop
|
||||||
if (result != FeedReadResult.Success)
|
if (result != FeedReadResult.Success)
|
||||||
return result;
|
return result;
|
||||||
|
|
||||||
// Create a new RSS parser
|
// Create a new RSS parser
|
||||||
FeedParserBase feedParser = FeedParserBase.CreateFeedParser(this, feedText);
|
var feedParser = FeedParserBase.CreateFeedParser(this, feedText);
|
||||||
|
|
||||||
// Parse the feed
|
// Parse the feed
|
||||||
result = feedParser.ParseFeed(feedText);
|
result = feedParser.ParseFeed(feedText);
|
||||||
@@ -269,14 +258,14 @@ namespace FeedCenter
|
|||||||
return result;
|
return result;
|
||||||
|
|
||||||
// Create the removed items list - if an item wasn't seen during this check then remove it
|
// Create the removed items list - if an item wasn't seen during this check then remove it
|
||||||
List<FeedItem> removedItems = Items.Where(testItem => testItem.LastFound != LastChecked).ToList();
|
var removedItems = Items.Where(testItem => testItem.LastFound != LastChecked).ToList();
|
||||||
|
|
||||||
// If items were removed the feed was updated
|
// If items were removed the feed was updated
|
||||||
if (removedItems.Count > 0)
|
if (removedItems.Count > 0)
|
||||||
LastUpdated = DateTime.Now;
|
LastUpdated = DateTime.Now;
|
||||||
|
|
||||||
// Loop over the items to be removed
|
// Loop over the items to be removed
|
||||||
foreach (FeedItem itemToRemove in removedItems)
|
foreach (var itemToRemove in removedItems)
|
||||||
{
|
{
|
||||||
// Delete the item from the database
|
// Delete the item from the database
|
||||||
database.FeedItems.DeleteObject(itemToRemove);
|
database.FeedItems.DeleteObject(itemToRemove);
|
||||||
@@ -308,7 +297,7 @@ namespace FeedCenter
|
|||||||
{
|
{
|
||||||
var sortedActions = from action in Actions orderby action.Sequence ascending select action;
|
var sortedActions = from action in Actions orderby action.Sequence ascending select action;
|
||||||
|
|
||||||
foreach (FeedAction feedAction in sortedActions)
|
foreach (var feedAction in sortedActions)
|
||||||
{
|
{
|
||||||
switch (feedAction.Field)
|
switch (feedAction.Field)
|
||||||
{
|
{
|
||||||
@@ -329,10 +318,10 @@ namespace FeedCenter
|
|||||||
var lastReadResult = (FeedReadResult) LastReadResult;
|
var lastReadResult = (FeedReadResult) LastReadResult;
|
||||||
|
|
||||||
// Build the name of the resource using the enum name and the value
|
// Build the name of the resource using the enum name and the value
|
||||||
string resourceName = string.Format("{0}_{1}", typeof(FeedReadResult).Name, lastReadResult);
|
var resourceName = string.Format("{0}_{1}", typeof(FeedReadResult).Name, lastReadResult);
|
||||||
|
|
||||||
// Try to get the value from the resources
|
// Try to get the value from the resources
|
||||||
string resourceValue = Properties.Resources.ResourceManager.GetString(resourceName);
|
var resourceValue = Properties.Resources.ResourceManager.GetString(resourceName);
|
||||||
|
|
||||||
// Return the value or just the enum value if not found
|
// Return the value or just the enum value if not found
|
||||||
return resourceValue ?? lastReadResult.ToString();
|
return resourceValue ?? lastReadResult.ToString();
|
||||||
|
|||||||
@@ -1,11 +1,9 @@
|
|||||||
using System.Collections.Generic;
|
using Common.Wpf.Extensions;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
|
|
||||||
using Common.Wpf.Extensions;
|
|
||||||
|
|
||||||
namespace FeedCenter.Options
|
namespace FeedCenter.Options
|
||||||
{
|
{
|
||||||
public partial class CategoryWindow
|
public partial class CategoryWindow
|
||||||
@@ -33,25 +31,22 @@ namespace FeedCenter.Options
|
|||||||
private void HandleOkayButtonClick(object sender, RoutedEventArgs e)
|
private void HandleOkayButtonClick(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
// Get a list of all explicit binding expressions
|
// Get a list of all explicit binding expressions
|
||||||
Dictionary<FrameworkElement, BindingExpression> bindingExpressionDictionary = this.GetExplicitBindingExpressions();
|
var bindingExpressions = this.GetBindingExpressions(new[] { UpdateSourceTrigger.Explicit });
|
||||||
|
|
||||||
// Get the values as a list
|
|
||||||
List<BindingExpression> bindingExpressions = bindingExpressionDictionary.Values.ToList();
|
|
||||||
|
|
||||||
// Loop over each binding expression and clear any existing error
|
// Loop over each binding expression and clear any existing error
|
||||||
bindingExpressions.ForEach(Validation.ClearInvalid);
|
bindingExpressions.ForEach(b => Validation.ClearInvalid(b.BindingExpression));
|
||||||
|
|
||||||
// Force all explicit bindings to update the source
|
// Force all explicit bindings to update the source
|
||||||
bindingExpressions.ForEach(bindingExpression => bindingExpression.UpdateSource());
|
bindingExpressions.ForEach(bindingExpression => bindingExpression.BindingExpression.UpdateSource());
|
||||||
|
|
||||||
// See if there are any errors
|
// See if there are any errors
|
||||||
bool hasError = bindingExpressions.Exists(bindingExpression => bindingExpression.HasError);
|
var hasError = bindingExpressions.Exists(bindingExpression => bindingExpression.BindingExpression.HasError);
|
||||||
|
|
||||||
// If there was an error then set focus to the bad controls
|
// If there was an error then set focus to the bad controls
|
||||||
if (hasError)
|
if (hasError)
|
||||||
{
|
{
|
||||||
// Get the first framework element with an error
|
// Get the first framework element with an error
|
||||||
FrameworkElement firstErrorElement = bindingExpressionDictionary.First(pair => pair.Value.HasError).Key;
|
var firstErrorElement = bindingExpressions.First(b => b.BindingExpression.HasError).FrameworkElement;
|
||||||
|
|
||||||
// Set focus
|
// Set focus
|
||||||
firstErrorElement.Focus();
|
firstErrorElement.Focus();
|
||||||
|
|||||||
@@ -1,12 +1,10 @@
|
|||||||
using System.Collections.Generic;
|
using Common.Wpf.Extensions;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
|
|
||||||
using Common.Wpf.Extensions;
|
|
||||||
|
|
||||||
namespace FeedCenter.Options
|
namespace FeedCenter.Options
|
||||||
{
|
{
|
||||||
public partial class FeedWindow
|
public partial class FeedWindow
|
||||||
@@ -36,11 +34,8 @@ namespace FeedCenter.Options
|
|||||||
|
|
||||||
private void HandleOkayButtonClick(object sender, RoutedEventArgs e)
|
private void HandleOkayButtonClick(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
// Get a dictionary of all framework elements and explicit binding expressions
|
// Get a list of all framework elements and explicit binding expressions
|
||||||
Dictionary<FrameworkElement, BindingExpression> bindingExpressionDictionary = this.GetExplicitBindingExpressions();
|
var bindingExpressions = this.GetBindingExpressions(new[] { UpdateSourceTrigger.Explicit });
|
||||||
|
|
||||||
// Get just the binding expressions
|
|
||||||
var bindingExpressions = bindingExpressionDictionary.Values;
|
|
||||||
|
|
||||||
// Loop over each binding expression and clear any existing error
|
// Loop over each binding expression and clear any existing error
|
||||||
this.ClearAllValidationErrors(bindingExpressions);
|
this.ClearAllValidationErrors(bindingExpressions);
|
||||||
@@ -49,19 +44,19 @@ namespace FeedCenter.Options
|
|||||||
this.UpdateAllSources(bindingExpressions);
|
this.UpdateAllSources(bindingExpressions);
|
||||||
|
|
||||||
// See if there are any errors
|
// See if there are any errors
|
||||||
bool hasError = bindingExpressions.Any(b => b.HasError);
|
var hasError = bindingExpressions.Any(b => b.BindingExpression.HasError);
|
||||||
|
|
||||||
// If there was an error then set focus to the bad controls
|
// If there was an error then set focus to the bad controls
|
||||||
if (hasError)
|
if (hasError)
|
||||||
{
|
{
|
||||||
// Get the first framework element with an error
|
// Get the first framework element with an error
|
||||||
FrameworkElement firstErrorElement = bindingExpressionDictionary.First(pair => pair.Value.HasError).Key;
|
var firstErrorElement = bindingExpressions.First(b => b.BindingExpression.HasError).FrameworkElement;
|
||||||
|
|
||||||
// Loop over each tab item
|
// Loop over each tab item
|
||||||
foreach (TabItem tabItem in optionsTabControl.Items)
|
foreach (TabItem tabItem in optionsTabControl.Items)
|
||||||
{
|
{
|
||||||
// Cast the content as visual
|
// Cast the content as visual
|
||||||
Visual content = (Visual) tabItem.Content;
|
var content = (Visual) tabItem.Content;
|
||||||
|
|
||||||
// See if the control with the error is a descendant
|
// See if the control with the error is a descendant
|
||||||
if (firstErrorElement.IsDescendantOf(content))
|
if (firstErrorElement.IsDescendantOf(content))
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
using System.Windows.Controls;
|
using Common.Internet;
|
||||||
|
|
||||||
using Common.Internet;
|
|
||||||
using Common.Wpf.Extensions;
|
using Common.Wpf.Extensions;
|
||||||
|
using System.Windows.Controls;
|
||||||
|
using System.Windows.Data;
|
||||||
|
|
||||||
namespace FeedCenter.Options
|
namespace FeedCenter.Options
|
||||||
{
|
{
|
||||||
@@ -30,11 +30,12 @@ namespace FeedCenter.Options
|
|||||||
{
|
{
|
||||||
var settings = Properties.Settings.Default;
|
var settings = Properties.Settings.Default;
|
||||||
|
|
||||||
string browser = (string) ((ComboBoxItem) browserComboBox.SelectedItem).Tag;
|
var browser = (string) ((ComboBoxItem) browserComboBox.SelectedItem).Tag;
|
||||||
if (settings.Browser != browser)
|
|
||||||
settings.Browser = browser;
|
|
||||||
|
|
||||||
this.UpdateAllSources();
|
settings.Browser = browser;
|
||||||
|
|
||||||
|
var expressions = this.GetBindingExpressions(new[] { UpdateSourceTrigger.Explicit });
|
||||||
|
this.UpdateAllSources(expressions);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override string CategoryName
|
public override string CategoryName
|
||||||
@@ -51,7 +52,7 @@ namespace FeedCenter.Options
|
|||||||
var browsers = Browser.DetectInstalledBrowsers();
|
var browsers = Browser.DetectInstalledBrowsers();
|
||||||
foreach (var browser in browsers)
|
foreach (var browser in browsers)
|
||||||
{
|
{
|
||||||
ComboBoxItem item = new ComboBoxItem { Content = browser.Value.Name, Tag = browser.Key };
|
var item = new ComboBoxItem { Content = browser.Value.Name, Tag = browser.Key };
|
||||||
|
|
||||||
comboBox.Items.Add(item);
|
comboBox.Items.Add(item);
|
||||||
|
|
||||||
|
|||||||
4
Properties/Resources.Designer.cs
generated
4
Properties/Resources.Designer.cs
generated
@@ -1,7 +1,7 @@
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated by a tool.
|
// This code was generated by a tool.
|
||||||
// Runtime Version:4.0.30319.34003
|
// Runtime Version:4.0.30319.34209
|
||||||
//
|
//
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
// the code is regenerated.
|
// the code is regenerated.
|
||||||
@@ -431,7 +431,7 @@ namespace FeedCenter.Properties {
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to CREATE TABLE DatabaseVersion
|
/// Looks up a localized string similar to CREATE TABLE DatabaseVersion
|
||||||
///(
|
///(
|
||||||
/// Value int NOT NULL DEFAULT '',
|
/// Value int NOT NULL DEFAULT 0
|
||||||
///)
|
///)
|
||||||
///GO
|
///GO
|
||||||
///
|
///
|
||||||
|
|||||||
4
Properties/Settings.Designer.cs
generated
4
Properties/Settings.Designer.cs
generated
@@ -1,7 +1,7 @@
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated by a tool.
|
// This code was generated by a tool.
|
||||||
// Runtime Version:4.0.30319.18213
|
// Runtime Version:4.0.30319.34209
|
||||||
//
|
//
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
// the code is regenerated.
|
// the code is regenerated.
|
||||||
@@ -12,7 +12,7 @@ namespace FeedCenter.Properties {
|
|||||||
|
|
||||||
|
|
||||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")]
|
||||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||||
|
|
||||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||||
|
|||||||
@@ -80,7 +80,7 @@
|
|||||||
</FeedCenter.Properties.Settings>
|
</FeedCenter.Properties.Settings>
|
||||||
</applicationSettings>
|
</applicationSettings>
|
||||||
<startup>
|
<startup>
|
||||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1"/>
|
||||||
</startup>
|
</startup>
|
||||||
<!--<system.data>
|
<!--<system.data>
|
||||||
<DbProviderFactories>
|
<DbProviderFactories>
|
||||||
|
|||||||
Reference in New Issue
Block a user