diff --git a/Changelog.md b/Changelog.md
index f637a379a..82ae85912 100644
--- a/Changelog.md
+++ b/Changelog.md
@@ -5,6 +5,9 @@
* Update nuget dependencies and add new dependencies to OpenRiaServices.Hosting.Wcf
* `System.Collections.Immutable` and `System.Memory` are new dependencies of Wcf hosting
+* .NET Framework builds now includes the smaller portable pdb's instead of of the old "full" windows style pdb's
+ * NOTE: For .NET Framework apps ensure that *supportedRuntime* in *app.config* and corresponding setting in *web.config* does not specify an older runtime if you wan't line numbers in stack traces.
+
# 5.4.2 / AspNetCore 1.0.0
### .NET8
diff --git a/NuGet/OpenRiaServices.OData/OpenRiaServices.OData.nuspec b/NuGet/OpenRiaServices.OData/OpenRiaServices.OData.nuspec
deleted file mode 100644
index 429f47f7d..000000000
--- a/NuGet/OpenRiaServices.OData/OpenRiaServices.OData.nuspec
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-
- OpenRiaServices.OData
- 4.5.1
- Open RIA Services OData Endpoint
- Outercurve RIA Services
- Outercurve
- Apache-2.0
- https://github.com/OpenRIAServices/OpenRiaServices
- false
-
- OpenRiaServices.OData provides the OpenRiaServices.Hosting.OData assembly, which provides the read only OData endpoint for Domain Services.
-
- The necessary web.config entries are added with this package as well.
-
- This assembly is not under active development, future versions of Open RIA Services will support OData using other methods.
-
- Open RIA Services - OData Endpoint
-
- 2018 Outercurve Foundation
- en-US
- WCF RIA Services RIAServices SOAP JSON OpenRiaServices
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/NuGet/OpenRiaServices.OData/content/web.config.transform b/NuGet/OpenRiaServices.OData/content/web.config.transform
deleted file mode 100644
index 78870be1e..000000000
--- a/NuGet/OpenRiaServices.OData/content/web.config.transform
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 04520295a..6c35fb6fc 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -129,7 +129,7 @@ steps:
versionEnvVar: Build.BuildNumber
packDestination: '$(Build.ArtifactStagingDirectory)'
continueOnError: true
- condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
+# condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
- task: CopyFiles@2
displayName: 'Copy VS Extension: $(build.artifactstagingdirectory)'
diff --git a/src/Directory.Build.props b/src/Directory.Build.props
index f28f730cf..5a0ff3fad 100644
--- a/src/Directory.Build.props
+++ b/src/Directory.Build.props
@@ -51,13 +51,7 @@
$(MSBuildThisFileDirectory)\snk\Tests.snk
true
-
portable
- pdbonly
-
diff --git a/src/OpenRiaServices.Client/Framework/Entity.cs b/src/OpenRiaServices.Client/Framework/Entity.cs
index 8757f4f3a..ac9a8933c 100644
--- a/src/OpenRiaServices.Client/Framework/Entity.cs
+++ b/src/OpenRiaServices.Client/Framework/Entity.cs
@@ -250,8 +250,8 @@ private set
EntitySet entitySet = this.LastSet;
if (entitySet != null)
{
- bool isInteresting = this._entityState != EntityState.Unmodified
- && this._entityState != EntityState.Detached;
+ bool isInteresting = this._entityState is not EntityState.Unmodified
+ and not EntityState.Detached;
entitySet.TrackAsInteresting(this, isInteresting);
}
@@ -302,12 +302,9 @@ internal void OnChildUpdate()
}
}
- if (this.EntitySet != null)
- {
- // when a child has been changed in any way, the parent becomes
- // interesting
- this.EntitySet.TrackAsInteresting(this, true);
- }
+ // when a child has been changed in any way, the parent becomes
+ // interesting
+ this.EntitySet?.TrackAsInteresting(this, true);
}
///
@@ -526,8 +523,7 @@ private set
this._isMerging = value;
foreach (MetaMember metaMember in MetaType.DataMembers.Where(f => f.IsComplex && !f.IsCollection))
{
- ComplexObject propertyValue = metaMember.GetValue(this) as ComplexObject;
- if (propertyValue != null)
+ if (metaMember.GetValue(this) is ComplexObject propertyValue)
{
propertyValue.IsMergingState = this._isMerging;
}
@@ -647,10 +643,7 @@ internal void Reset()
this._editSession = null;
this._trackChanges = false;
UndoAllEntityActions(throwIfSubmitting: true);
- if (this._validationErrors != null)
- {
- this._validationErrors.Clear();
- }
+ this._validationErrors?.Clear();
this.EntityConflict = null;
this.EntitySet = null;
this._lastSet = null;
@@ -682,8 +675,8 @@ internal void StopTracking()
///
protected void AcceptChanges()
{
- if (this.EntityState == EntityState.Unmodified ||
- this.EntityState == EntityState.Detached)
+ if (this.EntityState is EntityState.Unmodified or
+ EntityState.Detached)
{
// if we're detached or have no changes, noop after
// closing any in progress edit session
@@ -696,11 +689,7 @@ protected void AcceptChanges()
// Accept any child changes. Note, we must accept child changes before setting our own
// state to Unmodified. This avoids a situation where we get notifications from child
// entities that cause our state to flip back to Modified.
- if (entitySet != null)
- {
- // accept any child changes
- entitySet.EntityContainer.CompleteChildChanges(this, true);
- }
+ entitySet?.EntityContainer.CompleteChildChanges(this, true);
if (this.EntityState == EntityState.New)
{
@@ -730,19 +719,13 @@ protected void AcceptChanges()
else if (this.EntityState == EntityState.Deleted)
{
this.StopTracking();
- if (entitySet != null)
- {
- entitySet.RemoveFromCache(this);
- }
+ entitySet?.RemoveFromCache(this);
// move back to the default state
this.EntityState = EntityState.Detached;
}
- if (entitySet != null)
- {
- // remove from the interesting entities set
- entitySet.TrackAsInteresting(this, false);
- }
+ // remove from the interesting entities set
+ entitySet?.TrackAsInteresting(this, false);
// need to end any in progress edit session
this._editSession = null;
@@ -750,10 +733,7 @@ protected void AcceptChanges()
// clear all custom method invocations
this.UndoAllEntityActions(throwIfSubmitting: false);
- if (this._validationErrors != null)
- {
- this._validationErrors.Clear();
- }
+ this._validationErrors?.Clear();
this.EntityConflict = null;
this.IsInferred = false;
this._hasChildChanges = false;
@@ -769,8 +749,8 @@ protected void AcceptChanges()
///
protected void RejectChanges()
{
- if (this.EntityState == EntityState.Unmodified ||
- this.EntityState == EntityState.Detached)
+ if (this.EntityState is EntityState.Unmodified or
+ EntityState.Detached)
{
// if we're detached or have no changes, noop after
// closing any in progress edit session
@@ -783,10 +763,7 @@ protected void RejectChanges()
// Reject any child changes. Note, we must reject child changes before setting our own
// state to Unmodified. This avoids a situation where we get notifications from child
// entities that cause our state to flip back to Modified.
- if (entitySet != null)
- {
- entitySet.EntityContainer.CompleteChildChanges(this, false);
- }
+ entitySet?.EntityContainer.CompleteChildChanges(this, false);
if (this._entityState == EntityState.Modified || this.Parent != null)
{
@@ -830,10 +807,7 @@ protected void RejectChanges()
UndoAllEntityActions();
// Empty out the error collections
- if (this._validationErrors != null)
- {
- this._validationErrors.Clear();
- }
+ this._validationErrors?.Clear();
this.EntityConflict = null;
this._hasChildChanges = false;
Debug.Assert(!this.HasChanges, "Entity.HasChanges should be false");
@@ -1845,7 +1819,7 @@ private EditSession(Entity entity)
{
this._entity = entity;
this._lastState = entity.EntityState;
- this._customMethodInvocations = entity._customMethodInvocations != null ? entity._customMethodInvocations.ToArray() : null;
+ this._customMethodInvocations = entity._customMethodInvocations?.ToArray();
this._validationErrors = entity.ValidationErrors.ToArray();
this._modifiedProperties = new List();
}
diff --git a/src/OpenRiaServices.Client/Framework/EntitySet.cs b/src/OpenRiaServices.Client/Framework/EntitySet.cs
index 000a00829..9780c714c 100644
--- a/src/OpenRiaServices.Client/Framework/EntitySet.cs
+++ b/src/OpenRiaServices.Client/Framework/EntitySet.cs
@@ -27,9 +27,9 @@ public abstract class EntitySet : IEnumerable, ICollection, INotifyCollectionCha
// backing entity list
private IList _list;
// set of entities, for fast lookup
- private HashSet _set;
- private Dictionary
-
-
+
+
diff --git a/src/OpenRiaServices.Client/Test/Client.Test/Data/EntityContainerTests.cs b/src/OpenRiaServices.Client/Test/Client.Test/Data/EntityContainerTests.cs
index e2d670cf6..87cd05e3d 100644
--- a/src/OpenRiaServices.Client/Test/Client.Test/Data/EntityContainerTests.cs
+++ b/src/OpenRiaServices.Client/Test/Client.Test/Data/EntityContainerTests.cs
@@ -3832,6 +3832,49 @@ public void EntitySet_Detach()
Assert.IsTrue(ec.GetChanges().IsEmpty);
}
+
+ [TestMethod]
+ public void EntitySet_Remove_Inferred_Entities()
+ {
+ TestEntityContainer ec = new TestEntityContainer();
+ EntitySet products = ec.GetEntitySet();
+
+ // attach a product
+ Product product = new Product
+ {
+ ProductID = 1,
+ Name = "Choco Crisp",
+ };
+ // EntityCollection
+ var order = new PurchaseOrder { PurchaseOrderID = 1 };
+ var detail1 = new PurchaseOrderDetail() { PurchaseOrder = order, PurchaseOrderID = 1, PurchaseOrderDetailID = 1 };
+ product.PurchaseOrderDetails.Add(detail1);
+ products.Attach(product);
+
+ // Delete the entity, it should be marked for deletion
+ products.Remove(product);
+ Assert.AreEqual(EntityState.Deleted, product.EntityState);
+ Assert.AreEqual(EntityState.Unmodified, detail1.EntityState);
+ Assert.AreEqual(EntityState.Unmodified, order.EntityState);
+
+ var detail2 = new PurchaseOrderDetail() { PurchaseOrderDetailID = 2, Product = product, PurchaseOrderID = order.PurchaseOrderID };
+ var detail3 = new PurchaseOrderDetail() { PurchaseOrderDetailID = 3, Product = product, PurchaseOrderID = order.PurchaseOrderID };
+
+ product.PurchaseOrderDetails.Add(detail2);
+ product.PurchaseOrderDetails.Add(detail3);
+
+ Assert.AreEqual(EntityState.Deleted, product.EntityState);
+ Assert.AreEqual(EntityState.Detached, detail2.EntityState);
+ Assert.AreEqual(EntityState.Detached, detail3.EntityState);
+
+ // Add detail2, which should trigger detail3 to be discovered via product (which should still be deleted)
+ order.PurchaseOrderDetails.Add(detail2);
+
+ Assert.AreEqual(EntityState.Deleted, product.EntityState);
+ Assert.AreEqual(EntityState.New, detail2.EntityState);
+ Assert.AreEqual(EntityState.New, detail3.EntityState);
+ }
+
[TestMethod]
public void EntitySet_CollectionChangedEvents()
{
diff --git a/src/OpenRiaServices.Client/Test/Client.Test/OpenRiaServices.Client.Test.csproj b/src/OpenRiaServices.Client/Test/Client.Test/OpenRiaServices.Client.Test.csproj
index 81d9315ac..d51d4d7a9 100644
--- a/src/OpenRiaServices.Client/Test/Client.Test/OpenRiaServices.Client.Test.csproj
+++ b/src/OpenRiaServices.Client/Test/Client.Test/OpenRiaServices.Client.Test.csproj
@@ -14,10 +14,11 @@
-
-
+
+
+
-
+
diff --git a/src/OpenRiaServices.Client/Test/Client.Vb.Test/OpenRiaServices.Client.Vb.Test.csproj b/src/OpenRiaServices.Client/Test/Client.Vb.Test/OpenRiaServices.Client.Vb.Test.csproj
index 8d4a34d51..7ac307857 100644
--- a/src/OpenRiaServices.Client/Test/Client.Vb.Test/OpenRiaServices.Client.Vb.Test.csproj
+++ b/src/OpenRiaServices.Client/Test/Client.Vb.Test/OpenRiaServices.Client.Vb.Test.csproj
@@ -9,10 +9,10 @@
-
-
+
+
-
+
diff --git a/src/OpenRiaServices.EntityFramework/Test/CodeFirstModel/EFCodeFirstModels.csproj b/src/OpenRiaServices.EntityFramework/Test/CodeFirstModel/EFCodeFirstModels.csproj
index 4095421ae..9596a371c 100644
--- a/src/OpenRiaServices.EntityFramework/Test/CodeFirstModel/EFCodeFirstModels.csproj
+++ b/src/OpenRiaServices.EntityFramework/Test/CodeFirstModel/EFCodeFirstModels.csproj
@@ -7,10 +7,6 @@
$(DefineConstants);DBCONTEXT
1.0.0.0
-
-
-
-
diff --git a/src/OpenRiaServices.EntityFramework/Test/DbContextModel/EFDbContextModels.csproj b/src/OpenRiaServices.EntityFramework/Test/DbContextModel/EFDbContextModels.csproj
index 2cd471e5c..260a4989e 100644
--- a/src/OpenRiaServices.EntityFramework/Test/DbContextModel/EFDbContextModels.csproj
+++ b/src/OpenRiaServices.EntityFramework/Test/DbContextModel/EFDbContextModels.csproj
@@ -6,10 +6,6 @@
net472;net6.0
1.0.0.0
-
-
-
-
diff --git a/src/OpenRiaServices.Hosting.AspNetCore/Framework/OpenRiaServices.Hosting.AspNetCore.csproj b/src/OpenRiaServices.Hosting.AspNetCore/Framework/OpenRiaServices.Hosting.AspNetCore.csproj
index 2b9bc2816..eededa377 100644
--- a/src/OpenRiaServices.Hosting.AspNetCore/Framework/OpenRiaServices.Hosting.AspNetCore.csproj
+++ b/src/OpenRiaServices.Hosting.AspNetCore/Framework/OpenRiaServices.Hosting.AspNetCore.csproj
@@ -1,7 +1,7 @@
- net6.0;net7.0
+ net6.0;net7.0;net8.0
$(DefineConstants);SERVERFX;ASPNET_CORE
OpenRiaServices.Hosting
diff --git a/src/OpenRiaServices.Hosting.AspNetCore/Test/OpenRiaServices.Hosting.AspNetCore.Test/OpenRiaServices.Hosting.AspNetCore.Test.csproj b/src/OpenRiaServices.Hosting.AspNetCore/Test/OpenRiaServices.Hosting.AspNetCore.Test/OpenRiaServices.Hosting.AspNetCore.Test.csproj
index 7bd765c2b..fba6004aa 100644
--- a/src/OpenRiaServices.Hosting.AspNetCore/Test/OpenRiaServices.Hosting.AspNetCore.Test/OpenRiaServices.Hosting.AspNetCore.Test.csproj
+++ b/src/OpenRiaServices.Hosting.AspNetCore/Test/OpenRiaServices.Hosting.AspNetCore.Test/OpenRiaServices.Hosting.AspNetCore.Test.csproj
@@ -6,10 +6,10 @@
-
+
-
-
+
+
diff --git a/src/OpenRiaServices.Hosting.Local/Test/OpenRiaServices.Hosting.Local.Test.csproj b/src/OpenRiaServices.Hosting.Local/Test/OpenRiaServices.Hosting.Local.Test.csproj
index 0bc27b36e..817a77434 100644
--- a/src/OpenRiaServices.Hosting.Local/Test/OpenRiaServices.Hosting.Local.Test.csproj
+++ b/src/OpenRiaServices.Hosting.Local/Test/OpenRiaServices.Hosting.Local.Test.csproj
@@ -2,14 +2,10 @@
net472
-
-
-
-
-
-
+
+
diff --git a/src/OpenRiaServices.Hosting.Wcf.Endpoint/Test/OpenRiaServices.Hosting.Wcf.Endpoint.Test.csproj b/src/OpenRiaServices.Hosting.Wcf.Endpoint/Test/OpenRiaServices.Hosting.Wcf.Endpoint.Test.csproj
index 292f5137d..b06ec1c77 100644
--- a/src/OpenRiaServices.Hosting.Wcf.Endpoint/Test/OpenRiaServices.Hosting.Wcf.Endpoint.Test.csproj
+++ b/src/OpenRiaServices.Hosting.Wcf.Endpoint/Test/OpenRiaServices.Hosting.Wcf.Endpoint.Test.csproj
@@ -6,8 +6,8 @@
-
-
+
+
diff --git a/src/OpenRiaServices.Hosting.Wcf/Test/OpenRiaServices.Hosting.Wcf.Test.csproj b/src/OpenRiaServices.Hosting.Wcf/Test/OpenRiaServices.Hosting.Wcf.Test.csproj
index 5754155d8..5a2b7a4f8 100644
--- a/src/OpenRiaServices.Hosting.Wcf/Test/OpenRiaServices.Hosting.Wcf.Test.csproj
+++ b/src/OpenRiaServices.Hosting.Wcf/Test/OpenRiaServices.Hosting.Wcf.Test.csproj
@@ -5,10 +5,10 @@
-
+
-
-
+
+
diff --git a/src/OpenRiaServices.Server.Authentication.AspNetMembership/Test/OpenRiaServices.Server.Authentication.AspNetMembership.Test.csproj b/src/OpenRiaServices.Server.Authentication.AspNetMembership/Test/OpenRiaServices.Server.Authentication.AspNetMembership.Test.csproj
index 096579919..555cfb114 100644
--- a/src/OpenRiaServices.Server.Authentication.AspNetMembership/Test/OpenRiaServices.Server.Authentication.AspNetMembership.Test.csproj
+++ b/src/OpenRiaServices.Server.Authentication.AspNetMembership/Test/OpenRiaServices.Server.Authentication.AspNetMembership.Test.csproj
@@ -11,8 +11,8 @@
-
-
+
+
diff --git a/src/OpenRiaServices.Server.UnitTesting/Test/OpenRiaServices.Server.UnitTesting.Test.csproj b/src/OpenRiaServices.Server.UnitTesting/Test/OpenRiaServices.Server.UnitTesting.Test.csproj
index 75be803ca..6bfa2ac47 100644
--- a/src/OpenRiaServices.Server.UnitTesting/Test/OpenRiaServices.Server.UnitTesting.Test.csproj
+++ b/src/OpenRiaServices.Server.UnitTesting/Test/OpenRiaServices.Server.UnitTesting.Test.csproj
@@ -5,10 +5,10 @@
net472;net6.0;net8.0
-
+
-
-
+
+
diff --git a/src/OpenRiaServices.Server/Test/OpenRiaServices.Server.Test.csproj b/src/OpenRiaServices.Server/Test/OpenRiaServices.Server.Test.csproj
index 65cc69962..a92b471aa 100644
--- a/src/OpenRiaServices.Server/Test/OpenRiaServices.Server.Test.csproj
+++ b/src/OpenRiaServices.Server/Test/OpenRiaServices.Server.Test.csproj
@@ -7,8 +7,8 @@
-
-
+
+
diff --git a/src/OpenRiaServices.Tools.TextTemplate/Test/OpenRiaServices.Tools.TextTemplate.Test.csproj b/src/OpenRiaServices.Tools.TextTemplate/Test/OpenRiaServices.Tools.TextTemplate.Test.csproj
index cea7ffcc3..1b068ad74 100644
--- a/src/OpenRiaServices.Tools.TextTemplate/Test/OpenRiaServices.Tools.TextTemplate.Test.csproj
+++ b/src/OpenRiaServices.Tools.TextTemplate/Test/OpenRiaServices.Tools.TextTemplate.Test.csproj
@@ -45,8 +45,8 @@
-
-
+
+
diff --git a/src/OpenRiaServices.Tools/Test/NotificationMethodGeneratorTest.cs b/src/OpenRiaServices.Tools/Test/NotificationMethodGeneratorTest.cs
index c03d4c5c5..eac8dd897 100644
--- a/src/OpenRiaServices.Tools/Test/NotificationMethodGeneratorTest.cs
+++ b/src/OpenRiaServices.Tools/Test/NotificationMethodGeneratorTest.cs
@@ -2,7 +2,6 @@
using System.CodeDom;
using System.Collections.Generic;
using OpenRiaServices.Server;
-using OpenRiaServices.Server.Test.Utilities;
using System.Xml;
using Microsoft.VisualStudio.TestTools.UnitTesting;
@@ -41,7 +40,7 @@ public static IEnumerable PartialMethodsSnippetBlockTestCases
DynamicData(nameof(PartialMethodsSnippetBlockTestCases))]
public void PartialMethodsSnippetBlockTest(string comments, string baseMethodNames, string parameters)
{
- string[] baseMethodNamesArray = baseMethodNames.Split(new char[] { ',' });
+ string[] baseMethodNamesArray = baseMethodNames.Split(',');
PartialMethodsSnippetBlockTest(true, comments, baseMethodNamesArray, parameters);
PartialMethodsSnippetBlockTest(false, comments, baseMethodNamesArray, parameters);
@@ -82,7 +81,7 @@ public void PartialMethodsSnippetBlockTest(bool isCSharp, string comments, strin
}
snippetstr += snippet.Text;
}
- Assert.AreEqual(snippetstr.Replace("\r\n", "").TrimEnd(), XmlReader.Value.Replace("\n", ""));
+ Assert.AreEqual(XmlReader.Value.Replace("\n", ""), snippetstr.Replace("\r\n", "").TrimEnd());
}
[TestMethod]
@@ -96,7 +95,7 @@ public void OnCreatedMethodInvokeExpressionTest(bool isCSharp)
{
NotificationMethodGenerator target = new NotificationMethodGenerator(CreateProxyGenerator(isCSharp));
- Assert.AreEqual(target.OnCreatedMethodInvokeExpression.Method.MethodName, "OnCreated");
+ Assert.AreEqual("OnCreated", target.OnCreatedMethodInvokeExpression.Method.MethodName);
}
public static IEnumerable OnCreatedMethodInvokeExpressionTestCases
@@ -108,7 +107,7 @@ public static IEnumerable OnCreatedMethodInvokeExpressionTestCases
]
public void GetMethodInvokeExpressionStatementForTest(string comments, string baseMethodNames, string parameters)
{
- string[] baseMethodNamesArray = baseMethodNames.Split(new char[] { ',' });
+ string[] baseMethodNamesArray = baseMethodNames.Split(',');
GetMethodInvokeExpressionStatementForTest(true, comments, baseMethodNamesArray, parameters);
GetMethodInvokeExpressionStatementForTest(false, comments, baseMethodNamesArray, parameters);
@@ -128,14 +127,14 @@ public void GetMethodInvokeExpressionStatementForTest(bool isCSharp, string comm
target.AddMethodFor(baseMethodName, expressions, comments);
CodeExpressionStatement actual = target.GetMethodInvokeExpressionStatementFor(baseMethodName);
- CodeMethodInvokeExpression actualExpression = actual.Expression as CodeMethodInvokeExpression;
+ CodeMethodInvokeExpression actualExpression = (CodeMethodInvokeExpression)actual.Expression;
- Assert.AreEqual(actualExpression.Method.MethodName, "On" + baseMethodName);
+ Assert.AreEqual("On" + baseMethodName, actualExpression.Method.MethodName);
for (int idx = 0; idx < parameters.Length; idx++)
{
string paramName = ((CodeArgumentReferenceExpression)actualExpression.Parameters[idx]).ParameterName;
- Assert.AreEqual(paramName, parameters[idx].Name);
+ Assert.AreEqual(parameters[idx].Name, paramName);
}
}
}
@@ -188,7 +187,7 @@ public void AddMethodFor2Test(bool isCSharp, string comments, string paramDeclAr
}
else if (paramDeclArgs != "null")
{
- string[] args = paramDeclArgs.Split(new char[] { ',' });
+ string[] args = paramDeclArgs.Split(',');
parameterDeclaration = new CodeParameterDeclarationExpression(args[0], args[1]);
}
@@ -251,13 +250,13 @@ private static CodeParameterDeclarationExpressionCollection GetCodeParameterDecl
{
parameters = new CodeParameterDeclarationExpressionCollection();
- string[] paramDecls = paramDeclsArgs.Split(new char[] { ';' });
+ string[] paramDecls = paramDeclsArgs.Split(';');
foreach (string paramDecl in paramDecls)
{
if (paramDecl != "")
{
- string[] args = paramDecl.Split(new char[] { ',' });
- Assert.AreEqual(args.Length, 2, "Params definition file not in the correct format!");
+ string[] args = paramDecl.Split(',');
+ Assert.AreEqual(2, args.Length, "Params definition file not in the correct format!");
CodeParameterDeclarationExpression codeParam = new CodeParameterDeclarationExpression(args[0], args[1]);
parameters.Add(codeParam);
}
diff --git a/src/OpenRiaServices.Tools/Test/OpenRiaServices.Tools.Test.csproj b/src/OpenRiaServices.Tools/Test/OpenRiaServices.Tools.Test.csproj
index 1e356ea82..c3b714a3e 100644
--- a/src/OpenRiaServices.Tools/Test/OpenRiaServices.Tools.Test.csproj
+++ b/src/OpenRiaServices.Tools/Test/OpenRiaServices.Tools.Test.csproj
@@ -30,8 +30,8 @@
-
-
+
+
diff --git a/src/Test/Desktop/OpenRiaServices.Common.Test/OpenRiaServices.Common.Test.csproj b/src/Test/Desktop/OpenRiaServices.Common.Test/OpenRiaServices.Common.Test.csproj
index 2071ff326..47b3474eb 100644
--- a/src/Test/Desktop/OpenRiaServices.Common.Test/OpenRiaServices.Common.Test.csproj
+++ b/src/Test/Desktop/OpenRiaServices.Common.Test/OpenRiaServices.Common.Test.csproj
@@ -5,10 +5,10 @@
-
+
-
+
diff --git a/src/Test/OpenRiaservices.EndToEnd.AspNetCore.Test/OpenRiaservices.EndToEnd.AspNetCore.Test.csproj b/src/Test/OpenRiaservices.EndToEnd.AspNetCore.Test/OpenRiaservices.EndToEnd.AspNetCore.Test.csproj
index f98c25f70..8f6bbf379 100644
--- a/src/Test/OpenRiaservices.EndToEnd.AspNetCore.Test/OpenRiaservices.EndToEnd.AspNetCore.Test.csproj
+++ b/src/Test/OpenRiaservices.EndToEnd.AspNetCore.Test/OpenRiaservices.EndToEnd.AspNetCore.Test.csproj
@@ -12,8 +12,8 @@
-
-
+
+
diff --git a/src/Test/OpenRiaservices.EndToEnd.Wcf.Test/OpenRiaservices.EndToEnd.Wcf.Test.csproj b/src/Test/OpenRiaservices.EndToEnd.Wcf.Test/OpenRiaservices.EndToEnd.Wcf.Test.csproj
index 951360f6c..9ad97f28b 100644
--- a/src/Test/OpenRiaservices.EndToEnd.Wcf.Test/OpenRiaservices.EndToEnd.Wcf.Test.csproj
+++ b/src/Test/OpenRiaservices.EndToEnd.Wcf.Test/OpenRiaservices.EndToEnd.Wcf.Test.csproj
@@ -11,8 +11,8 @@
-
-
+
+
diff --git a/src/Test/WebsiteFullTrust/Web.config b/src/Test/WebsiteFullTrust/Web.config
index d4d24be62..3ce7c9e17 100644
--- a/src/Test/WebsiteFullTrust/Web.config
+++ b/src/Test/WebsiteFullTrust/Web.config
@@ -76,6 +76,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
@@ -92,6 +104,14 @@
+
+
+
+
+
+
+
+
@@ -108,26 +128,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/VisualStudio/Tools/Test/OpenRiaServices.VisualStudio.DomainServices.Tools.Test.csproj b/src/VisualStudio/Tools/Test/OpenRiaServices.VisualStudio.DomainServices.Tools.Test.csproj
index ea3c9daec..012e02ada 100644
--- a/src/VisualStudio/Tools/Test/OpenRiaServices.VisualStudio.DomainServices.Tools.Test.csproj
+++ b/src/VisualStudio/Tools/Test/OpenRiaServices.VisualStudio.DomainServices.Tools.Test.csproj
@@ -16,8 +16,8 @@
-
-
+
+