From eb2fe52c84c34ee4dd071d324975cc5790ed5705 Mon Sep 17 00:00:00 2001
From: rpm-mcarman <65228808+rpm-mcarman@users.noreply.github.com>
Date: Thu, 29 Sep 2022 06:59:43 -0400
Subject: [PATCH] Build assets
---
.vscode/launch.json | 26 ++++
.vscode/tasks.json | 41 ++++++
RESTObjects/RESTMeta.cs | 42 +++++++
jdis_import.csproj | 5 +
obj/Debug/net6.0/jdis_import.assets.cache | Bin 0 -> 1974 bytes
...jdis_import.csproj.AssemblyReference.cache | Bin 71600 -> 73035 bytes
obj/jdis_import.csproj.nuget.dgspec.json | 26 ++--
obj/project.assets.json | 118 +++++++++++++++---
obj/project.nuget.cache | 18 ++-
9 files changed, 247 insertions(+), 29 deletions(-)
create mode 100644 .vscode/launch.json
create mode 100644 .vscode/tasks.json
create mode 100644 RESTObjects/RESTMeta.cs
create mode 100644 obj/Debug/net6.0/jdis_import.assets.cache
diff --git a/.vscode/launch.json b/.vscode/launch.json
new file mode 100644
index 0000000..5ade086
--- /dev/null
+++ b/.vscode/launch.json
@@ -0,0 +1,26 @@
+{
+ "version": "0.2.0",
+ "configurations": [
+ {
+ // Use IntelliSense to find out which attributes exist for C# debugging
+ // Use hover for the description of the existing attributes
+ // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
+ "name": ".NET Core Launch (console)",
+ "type": "coreclr",
+ "request": "launch",
+ "preLaunchTask": "build",
+ // If you have changed target frameworks, make sure to update the program path.
+ "program": "${workspaceFolder}/bin/Debug/net6.0/jdis_import.dll",
+ "args": [],
+ "cwd": "${workspaceFolder}",
+ // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
+ "console": "internalConsole",
+ "stopAtEntry": false
+ },
+ {
+ "name": ".NET Core Attach",
+ "type": "coreclr",
+ "request": "attach"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
new file mode 100644
index 0000000..8d4dd36
--- /dev/null
+++ b/.vscode/tasks.json
@@ -0,0 +1,41 @@
+{
+ "version": "2.0.0",
+ "tasks": [
+ {
+ "label": "build",
+ "command": "dotnet",
+ "type": "process",
+ "args": [
+ "build",
+ "${workspaceFolder}/jdis_import.csproj",
+ "/property:GenerateFullPaths=true",
+ "/consoleloggerparameters:NoSummary"
+ ],
+ "problemMatcher": "$msCompile"
+ },
+ {
+ "label": "publish",
+ "command": "dotnet",
+ "type": "process",
+ "args": [
+ "publish",
+ "${workspaceFolder}/jdis_import.csproj",
+ "/property:GenerateFullPaths=true",
+ "/consoleloggerparameters:NoSummary"
+ ],
+ "problemMatcher": "$msCompile"
+ },
+ {
+ "label": "watch",
+ "command": "dotnet",
+ "type": "process",
+ "args": [
+ "watch",
+ "run",
+ "--project",
+ "${workspaceFolder}/jdis_import.csproj"
+ ],
+ "problemMatcher": "$msCompile"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/RESTObjects/RESTMeta.cs b/RESTObjects/RESTMeta.cs
new file mode 100644
index 0000000..7902b5a
--- /dev/null
+++ b/RESTObjects/RESTMeta.cs
@@ -0,0 +1,42 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+
+namespace jdis_import.RESTObjects
+{
+ public class RESTMeta
+ {
+ #region Fields
+
+ private int _numResults;
+ private bool _success = true;
+ private string _type;
+ private string _errorMessage;
+
+ #endregion
+
+ #region Properties
+ public int numResults
+ {
+ get { return _numResults; }
+ set { _numResults = value; }
+ }
+ public bool success
+ {
+ get { return _success; }
+ set { _success = value; }
+ }
+ public string errorMessage
+ {
+ get { return _errorMessage; }
+ set { _errorMessage = value; }
+ }
+ public string type
+ {
+ get { return _type; }
+ set { _type = value; }
+ }
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/jdis_import.csproj b/jdis_import.csproj
index ddb344e..6288b93 100644
--- a/jdis_import.csproj
+++ b/jdis_import.csproj
@@ -5,4 +5,9 @@
net6.0
+
+
+
+
+
diff --git a/obj/Debug/net6.0/jdis_import.assets.cache b/obj/Debug/net6.0/jdis_import.assets.cache
new file mode 100644
index 0000000000000000000000000000000000000000..30560f227674581b0f7fb9ae9477d1ce6ad90858
GIT binary patch
literal 1974
zcmc%We}f6m3hNl(w`57A%m3R4PzqC!sVf=%VUNW^RL#o6~?-hFt$U)R2VW-D(Wy_y_FQfFMj=dsv#V4bL|FjkO+($=LGT&Gp=
zq9MbYtU^0#jWZR`;W&(?t^#jDfD4aQh~WY+@SI3gAeM9Dg$g^|%`W!ao29LX_`AUP%wy@TR+vSp?vGd;)994%cqS2e^IB6U_ICX|VAv9ur}ujBj$
zG-5ZcevQ~KtyxT~J4o`ML%S!g!4?X|>?UPx-#{8`O2;fXZ!APCbxK!hH7{+Jx2&u~
z)7aY5OSCCv^y<+vU*Y*BmJuyvM2lIm%zcYIYv0FIhtkf2jF_n~9|LPxa|oelURtzM
zR_WG4#o;wt;W?_3m1E^t$7@+#wwN}a1;8q4lC)T8>J8~tkN|5cAG4N8ZFgr*_jwL6
zkGO%jiMWNBZr{$%m)MEUaEtlV?2gVO?T<6HD}B79I~(!;v-tbxqoeuuTGi-@ciy87
z&i2lUHRr&WTMZbqsrIT46YHkYdQQGI>}?8j8`xV)ql!lFr2*BnnBAIxep7eP;9>If
nJw8izKE0u2RU14tTsIMnmiF_-Tz-5Hj=(D48at3yW0(I1@5xPO
literal 0
HcmV?d00001
diff --git a/obj/Debug/net6.0/jdis_import.csproj.AssemblyReference.cache b/obj/Debug/net6.0/jdis_import.csproj.AssemblyReference.cache
index 763982d90790a3f2c677f29469d081fbacf0162c..337d661db7ef2e209edf9f2c438f4fd69e8430ae 100644
GIT binary patch
delta 837
zcmdn6p5^o|7G^faMU!iv_)WgU%+(mZHJUM0yq+;hKeRZts8~NYGdUwOH77Z-C^s=r
zUoWpTJ+(x?ATc>RF+H_dKQFbsBtNe>KdnSBt2jST-_TgkK+jM=Co>5sRZ?7%n3s}R
zlwzc3pznuJ=>=4&my(mi$jAT$clPbCe|dw0k&%%fp@v-#q==Ds@rNL-hw}Rg8_rw2
zs@-s1^VFwp#)o(96VJ-66($Fib`H{utC&h6d3X;Gs`
z?YURK=QgjJ%x@%MzfV?E&?)+8i35}NaYhcHI}O(QKijly-CM?Bgfqde)KLfn22^H#
zo~@zr= 2.2.0",
+ "Newtonsoft.Json >= 13.0.1"
+ ]
},
"packageFolders": {
"/Users/michielcarman/.nuget/packages/": {},
@@ -27,14 +99,14 @@
"/Users/michielcarman/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
- "net5.0"
+ "net6.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
- "net5.0": {
- "targetAlias": "net5.0",
+ "net6.0": {
+ "targetAlias": "net6.0",
"projectReferences": {}
}
},
@@ -45,8 +117,18 @@
}
},
"frameworks": {
- "net5.0": {
- "targetAlias": "net5.0",
+ "net6.0": {
+ "targetAlias": "net6.0",
+ "dependencies": {
+ "Microsoft.Exchange.WebServices": {
+ "target": "Package",
+ "version": "[2.2.0, )"
+ },
+ "Newtonsoft.Json": {
+ "target": "Package",
+ "version": "[13.0.1, )"
+ }
+ },
"imports": [
"net461",
"net462",
@@ -57,12 +139,6 @@
],
"assetTargetFallback": true,
"warn": true,
- "downloadDependencies": [
- {
- "name": "Microsoft.NETCore.App.Host.osx-x64",
- "version": "[5.0.16, 5.0.16]"
- }
- ],
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
@@ -71,5 +147,17 @@
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/6.0.202/RuntimeIdentifierGraph.json"
}
}
- }
+ },
+ "logs": [
+ {
+ "code": "NU1701",
+ "level": "Warning",
+ "warningLevel": 1,
+ "message": "Package 'Microsoft.Exchange.WebServices 2.2.0' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework 'net6.0'. This package may not be fully compatible with your project.",
+ "libraryId": "Microsoft.Exchange.WebServices",
+ "targetGraphs": [
+ "net6.0"
+ ]
+ }
+ ]
}
\ No newline at end of file
diff --git a/obj/project.nuget.cache b/obj/project.nuget.cache
index d6d4b20..017d432 100644
--- a/obj/project.nuget.cache
+++ b/obj/project.nuget.cache
@@ -1,10 +1,22 @@
{
"version": 2,
- "dgSpecHash": "h3lgLDAk1KQVIoaUG4r7PGaxwDx9LtmTxDkjpga0ZGIVCqk7rJoen6sQBLVGP0yKvcB03/jikMvcs8KXg7/fug==",
+ "dgSpecHash": "1J+ptJTK5y8TxU71C0NGzZ9v9YVOMKmmB6CVXWHCLqdMwjIu3Lei4TnIGSCPi1sVRQu/kbnmOwJhs6mJficeQQ==",
"success": true,
"projectFilePath": "/Volumes/New2TBDrive/apps/acumatica/console/jdis_import/jdis_import.csproj",
"expectedPackageFiles": [
- "/Users/michielcarman/.nuget/packages/microsoft.netcore.app.host.osx-x64/5.0.16/microsoft.netcore.app.host.osx-x64.5.0.16.nupkg.sha512"
+ "/Users/michielcarman/.nuget/packages/microsoft.exchange.webservices/2.2.0/microsoft.exchange.webservices.2.2.0.nupkg.sha512",
+ "/Users/michielcarman/.nuget/packages/newtonsoft.json/13.0.1/newtonsoft.json.13.0.1.nupkg.sha512"
],
- "logs": []
+ "logs": [
+ {
+ "code": "NU1701",
+ "level": "Warning",
+ "warningLevel": 1,
+ "message": "Package 'Microsoft.Exchange.WebServices 2.2.0' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework 'net6.0'. This package may not be fully compatible with your project.",
+ "libraryId": "Microsoft.Exchange.WebServices",
+ "targetGraphs": [
+ "net6.0"
+ ]
+ }
+ ]
}
\ No newline at end of file