diff --git a/src/Main/Base/Project/Src/Util/ExtensionMethods.cs b/src/Main/Base/Project/Src/Util/ExtensionMethods.cs index 8ca57530aa..5de5e87388 100644 --- a/src/Main/Base/Project/Src/Util/ExtensionMethods.cs +++ b/src/Main/Base/Project/Src/Util/ExtensionMethods.cs @@ -29,13 +29,6 @@ namespace ICSharpCode.SharpDevelop /// public static class ExtensionMethods { - // TODO: Remove this method in .NET 4.0 Beta 2 - public static void ThrowIfCancellationRequested(this CancellationToken ct) - { - if (ct.IsCancellationRequested) - throw new OperationCanceledException("The operation was canceled.", ct); - } - /// /// Raises the event. /// Does nothing if eventHandler is null. diff --git a/src/Main/StartUp/Project/app.template.config b/src/Main/StartUp/Project/app.template.config index 0b1aab563c..e106ad9d63 100644 --- a/src/Main/StartUp/Project/app.template.config +++ b/src/Main/StartUp/Project/app.template.config @@ -3,6 +3,10 @@
+ + + +