Skip to content

Commit

Permalink
Merge pull request UiPath#64 from UiPath/net_core_30
Browse files Browse the repository at this point in the history
Target .Net Core 3.0 desktop
  • Loading branch information
lbargaoanu authored Oct 11, 2019
2 parents 66da71b + 644f934 commit f6be52b
Show file tree
Hide file tree
Showing 104 changed files with 137 additions and 150 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>netcoreapp3.0</TargetFramework>
<Title>Core WF ETW Tracking Provider</Title>
<Description>Unofficial port of the Windows Workflow Foundation (WF) ETW tracking provider to the .NET Standard</Description>
<Authors>Dustin Metzgar,Jim Carley</Authors>
Expand Down
2 changes: 1 addition & 1 deletion src/CoreWf/Activity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
using System.ComponentModel;
using System.Globalization;
using System.Threading;
using Portable.Xaml.Markup;
using System.Windows.Markup;
using System.Activities.Internals;

#if NET45
Expand Down
4 changes: 2 additions & 2 deletions src/CoreWf/ActivityBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ namespace System.Activities
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using Portable.Xaml.Markup;
using Portable.Xaml;
using System.Windows.Markup;
using System.Xaml;
using System;

[ContentProperty("Implementation")]
Expand Down
2 changes: 1 addition & 1 deletion src/CoreWf/ActivityDelegate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace System.Activities
using System.Activities.Validation;
using System.Collections.Generic;
using System.ComponentModel;
using Portable.Xaml.Markup;
using System.Windows.Markup;
using System.Collections.ObjectModel;
using System;
using System.Activities.Runtime;
Expand Down
2 changes: 1 addition & 1 deletion src/CoreWf/Argument.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace System.Activities
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.Serialization;
using Portable.Xaml.Markup;
using System.Windows.Markup;
using System.Activities.Internals;

public abstract class Argument
Expand Down
2 changes: 1 addition & 1 deletion src/CoreWf/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// See LICENSE file in the project root for full license information.
using System;
using System.Runtime.InteropServices;
using Portable.Xaml.Markup;
using System.Windows.Markup;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
Expand Down
1 change: 0 additions & 1 deletion src/CoreWf/CoreWf.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
<dependencies>
<group targetFramework=".NETStandard2.0">
<dependency id="Microsoft.Extensions.Localization" version="2.1.1" exclude="Build,Analyzers" />
<dependency id="Portable.Xaml" version="0.23.0" exclude="Build,Analyzers" />
<dependency id="System.ComponentModel.EventBasedAsync" version="4.3.0" exclude="Build,Analyzers" />
<dependency id="System.Reflection.TypeExtensions" version="4.5.0" exclude="Build,Analyzers" />
<dependency id="System.Runtime.Serialization.Primitives" version="4.3.0" exclude="Build,Analyzers" />
Expand Down
5 changes: 2 additions & 3 deletions src/CoreWf/Debugger/DebugInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@ namespace System.Activities.Debugger
using System.Activities.XamlIntegration;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Linq.Expressions;
using System.Runtime;
using Portable.Xaml.Markup;
using Portable.Xaml;
using System.Windows.Markup;
using System.Xaml;
using System.Activities.Internals;
using System.Activities.Runtime;

Expand Down
6 changes: 3 additions & 3 deletions src/CoreWf/Debugger/SourceLocationProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ namespace System.Activities.Debugger
using System;
using System.Activities.Hosting;
using System.Activities.XamlIntegration;
using System.Diagnostics;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Activities.Runtime;
using System.Reflection;
using System.Security;
using System.Security.Permissions;
using Portable.Xaml;
using System.Xaml;
using System.Xml;
using System.IO;
using System.Activities.Validation;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using System.Activities.Debugger.Symbol;
using System.Globalization;
using Trace = System.Diagnostics.Trace;

// Provide SourceLocation information for activities in given root activity.
// This is integration point with Workflow project system (TBD).
Expand All @@ -31,7 +31,7 @@ namespace System.Activities.Debugger
// 3. Publish (serialize to tmp file) and deserialize it to collect SourceLocation (for loose xaml).
// Current code cover only step 3.

[DebuggerNonUserCode]
[Diagnostics.DebuggerNonUserCode]
public static class SourceLocationProvider
{
[Fx.Tag.Throws(typeof(Exception), "Calls Serialize/Deserialize to temporary file")]
Expand Down
2 changes: 1 addition & 1 deletion src/CoreWf/Debugger/Symbol/DebugSymbol.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ namespace System.Activities.Debugger.Symbol
{
using System;
using System.Diagnostics.CodeAnalysis;
using Portable.Xaml;
using System.Xaml;
using System.Activities.Runtime;

[Fx.Tag.XamlVisible(false)]
Expand Down
5 changes: 2 additions & 3 deletions src/CoreWf/Debugger/XamlDebuggerXmlReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ namespace System.Activities.Debugger
using System.IO;
using System.Reflection;
using System.Runtime;
using Portable.Xaml;
using Portable.Xaml.Schema;
using System.Xaml;
using System.Xaml.Schema;
using System.ComponentModel;
using Portable.Xaml.Markup;
using System.Activities.XamlIntegration;
using System;
using System.Activities.Runtime;
Expand Down
4 changes: 2 additions & 2 deletions src/CoreWf/Debugger/XamlMemberExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
namespace System.Activities.Debugger
{
using System.Reflection;
using Portable.Xaml;
using Portable.Xaml.Schema;
using System.Xaml;
using System.Xaml.Schema;

internal static class XamlMemberExtensions
{
Expand Down
2 changes: 1 addition & 1 deletion src/CoreWf/Debugger/XamlNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace System.Activities.Debugger
{
using System.Text;
using Portable.Xaml;
using System.Xaml;

internal class XamlNode
{
Expand Down
2 changes: 1 addition & 1 deletion src/CoreWf/DynamicActivity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace System.Activities
using System.Activities.XamlIntegration;
using System.Collections.ObjectModel;
using System.ComponentModel;
using Portable.Xaml.Markup;
using System.Windows.Markup;

[ContentProperty("Implementation")]
public sealed class DynamicActivity : Activity, ICustomTypeDescriptor, IDynamicActivity
Expand Down
2 changes: 1 addition & 1 deletion src/CoreWf/Expressions/CompiledExpressionInvoker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace System.Activities.Expressions
using System.Activities.XamlIntegration;
using System.Collections.Generic;
using System.Linq.Expressions;
using Portable.Xaml;
using System.Xaml;
using System.Activities.Internals;

public class CompiledExpressionInvoker
Expand Down
2 changes: 1 addition & 1 deletion src/CoreWf/Expressions/DelegateArgumentReference.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace System.Activities.Expressions
{
using Portable.Xaml.Markup;
using System.Windows.Markup;

[ContentProperty("DelegateArgument")]
public sealed class DelegateArgumentReference<T> : EnvironmentLocationReference<T>
Expand Down
2 changes: 1 addition & 1 deletion src/CoreWf/Expressions/DelegateArgumentValue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace System.Activities.Expressions
{
using System.Activities.Runtime;
using Portable.Xaml.Markup;
using System.Windows.Markup;

[ContentProperty("DelegateArgument")]
public sealed class DelegateArgumentValue<T> : EnvironmentLocationValue<T>
Expand Down
2 changes: 1 addition & 1 deletion src/CoreWf/Expressions/IndexerReference.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace System.Activities.Expressions
using System.Reflection;
using System.Activities.Runtime.Collections;
using System.Runtime.Serialization;
using Portable.Xaml.Markup;
using System.Windows.Markup;
using System.Threading;
using System;
using System.Activities.Runtime;
Expand Down
2 changes: 1 addition & 1 deletion src/CoreWf/Expressions/InvokeFunc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace System.Activities.Expressions
{
using System.ComponentModel;
using Portable.Xaml.Markup;
using System.Windows.Markup;

#if NET45
using System.Activities.DynamicUpdate;
Expand Down
2 changes: 1 addition & 1 deletion src/CoreWf/Expressions/InvokeMethod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace System.Activities.Expressions
using System.Activities.Statements;
using System.Collections.ObjectModel;
using System.ComponentModel;
using Portable.Xaml.Markup;
using System.Windows.Markup;
using System.Reflection;
using System.Threading;
using System;
Expand Down
2 changes: 1 addition & 1 deletion src/CoreWf/Expressions/LambdaReference.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace System.Activities.Expressions
using System.Activities.XamlIntegration;
using System.Diagnostics;
using System.Linq.Expressions;
using Portable.Xaml.Markup;
using System.Windows.Markup;
using System.Activities.Runtime;
using System.Activities.Internals;

Expand Down
2 changes: 1 addition & 1 deletion src/CoreWf/Expressions/LambdaValue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace System.Activities.Expressions
using System.Activities.XamlIntegration;
using System.Diagnostics;
using System.Linq.Expressions;
using Portable.Xaml.Markup;
using System.Windows.Markup;
using System.Activities.Runtime;
using System.Activities.Internals;

Expand Down
2 changes: 1 addition & 1 deletion src/CoreWf/Expressions/Literal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace System.Activities.Expressions
using System.ComponentModel;
using System.Diagnostics;
using System.Text.RegularExpressions;
using Portable.Xaml.Markup;
using System.Windows.Markup;
using System.Activities.Runtime;

[DebuggerStepThrough]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace System.Activities.Expressions
using System.Activities.Internals;
using System.Activities.Runtime;
using System.Activities.Runtime.Collections;
using Portable.Xaml.Markup;
using System.Windows.Markup;

[ContentProperty("Indices")]
public sealed class MultidimensionalArrayItemReference<TItem> : CodeActivity<Location<TItem>>
Expand Down
2 changes: 1 addition & 1 deletion src/CoreWf/Expressions/New.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace System.Activities.Expressions
using System.Collections.ObjectModel;
using System.Reflection;
using System.Activities.Runtime.Collections;
using Portable.Xaml.Markup;
using System.Windows.Markup;
using System.Threading;
using System;
using System.Activities.Runtime;
Expand Down
2 changes: 1 addition & 1 deletion src/CoreWf/Expressions/NewArray.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace System.Activities.Expressions
using System.Collections.ObjectModel;
using System.Reflection;
using System.Activities.Runtime.Collections;
using Portable.Xaml.Markup;
using System.Windows.Markup;
using System;
using System.Activities.Internals;

Expand Down
2 changes: 1 addition & 1 deletion src/CoreWf/Expressions/TextExpression.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace System.Activities.Expressions
using System.Collections.ObjectModel;
using System.Reflection;
using System.Activities.Internals;
using Portable.Xaml;
using System.Xaml;

public static class TextExpression
{
Expand Down
2 changes: 1 addition & 1 deletion src/CoreWf/Expressions/ValueTypeIndexerReference.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace System.Activities.Expressions
using System.Reflection;
using System.Activities.Runtime.Collections;
using System.Runtime.Serialization;
using Portable.Xaml.Markup;
using System.Windows.Markup;
using System.Threading;
using System;
using System.Activities.Runtime;
Expand Down
3 changes: 1 addition & 2 deletions src/CoreWf/Hosting/WorkflowInstance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ namespace System.Activities.Hosting
using System.Activities.Validation;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Threading;
using System.Activities.Runtime.DurableInstancing;
using System.Activities.Internals;
Expand Down Expand Up @@ -40,7 +39,7 @@ public abstract class WorkflowInstance
private Exception abortedException;

#if DEBUG
private readonly StackTrace abortStack;
private readonly Diagnostics.StackTrace abortStack;
#endif

protected WorkflowInstance(Activity workflowDefinition)
Expand Down
2 changes: 1 addition & 1 deletion src/CoreWf/InArgument.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace System.Activities
using System.Activities.XamlIntegration;
using System.ComponentModel;
using System.Linq.Expressions;
using Portable.Xaml.Markup;
using System.Windows.Markup;
using System.Activities.Internals;

public abstract class InArgument : Argument
Expand Down
2 changes: 1 addition & 1 deletion src/CoreWf/InOutArgument.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace System.Activities
using System.Activities.Runtime;
using System.ComponentModel;
using System.Linq.Expressions;
using Portable.Xaml.Markup;
using System.Windows.Markup;
using System.Activities.Internals;

public abstract class InOutArgument : Argument
Expand Down
2 changes: 1 addition & 1 deletion src/CoreWf/Microsoft/CSharp/Activities/CSharpReference.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Microsoft.CSharp.Activities
using System.ComponentModel;
using System.Diagnostics;
using System.Linq.Expressions;
using Portable.Xaml.Markup;
using System.Windows.Markup;
using System.Activities.Internals;

[DebuggerStepThrough]
Expand Down
2 changes: 1 addition & 1 deletion src/CoreWf/Microsoft/CSharp/Activities/CSharpValue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace Microsoft.CSharp.Activities
using System.Linq.Expressions;
using System.Reflection;
using System.Activities.Runtime;
using Portable.Xaml.Markup;
using System.Windows.Markup;
using System.Activities.Internals;

[DebuggerStepThrough]
Expand Down
2 changes: 1 addition & 1 deletion src/CoreWf/Microsoft/VisualBasic/Activities/VisualBasic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Microsoft.VisualBasic.Activities
using System.Activities;
using System.Diagnostics.CodeAnalysis;
using System.Activities.Runtime;
using Portable.Xaml;
using System.Xaml;

//[SuppressMessage(FxCop.Category.Naming, FxCop.Rule.TypeNamesShouldNotMatchNamespaces,
// Justification = "Approved name")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ internal static string Language
typeof(int).Assembly, // mscorlib
typeof(CodeTypeDeclaration).Assembly, // System
typeof(Expression).Assembly, // System.Core
typeof(Microsoft.VisualBasic.Strings).Assembly, // Microsoft.VisualBasic
Assembly.Load("Microsoft.VisualBasic"),
typeof(Activity).Assembly // System.Activities
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Microsoft.VisualBasic.Activities
using System.Globalization;
using System.Reflection;
using System.Activities.Expressions;
using Portable.Xaml;
using System.Xaml;
using System.Xml.Linq;

public class VisualBasicImportReference : IEquatable<VisualBasicImportReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Microsoft.VisualBasic.Activities
using System.Activities.ExpressionParser;
using System.Activities.XamlIntegration;
using System.Linq.Expressions;
using Portable.Xaml.Markup;
using System.Windows.Markup;
using System.ComponentModel;
using System.Activities.Runtime;
using System.Activities.Internals;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ namespace Microsoft.VisualBasic.Activities
using System.Activities;
using System.Collections.Generic;
using System.Activities.Runtime;
using Portable.Xaml.Markup;
using Portable.Xaml;
using System.Windows.Markup;
using System.Xaml;
using System.ComponentModel;
using System.Reflection;
using System.Activities.Internals;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Microsoft.VisualBasic.Activities
using System.Activities.ExpressionParser;
using System.Activities.XamlIntegration;
using System.Linq.Expressions;
using Portable.Xaml.Markup;
using System.Windows.Markup;
using System.ComponentModel;
using System.Activities.Runtime;
using System.Activities.Internals;
Expand Down
Loading

0 comments on commit f6be52b

Please sign in to comment.