| @@ -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" | |||
| } | |||
| ] | |||
| } | |||
| @@ -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" | |||
| } | |||
| ] | |||
| } | |||
| @@ -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 | |||
| } | |||
| } | |||
| @@ -5,4 +5,9 @@ | |||
| <TargetFramework>net6.0</TargetFramework> | |||
| </PropertyGroup> | |||
| <ItemGroup> | |||
| <PackageReference Include="Microsoft.Exchange.WebServices" Version="2.2.0" /> | |||
| <PackageReference Include="Newtonsoft.Json" Version="13.0.1" /> | |||
| </ItemGroup> | |||
| </Project> | |||
| @@ -20,14 +20,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": {} | |||
| } | |||
| }, | |||
| @@ -38,8 +38,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", | |||
| @@ -50,12 +60,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" | |||
| @@ -1,11 +1,83 @@ | |||
| { | |||
| "version": 3, | |||
| "targets": { | |||
| "net5.0": {} | |||
| "net6.0": { | |||
| "Microsoft.Exchange.WebServices/2.2.0": { | |||
| "type": "package", | |||
| "compile": { | |||
| "lib/40/Microsoft.Exchange.WebServices.Auth.dll": {}, | |||
| "lib/40/Microsoft.Exchange.WebServices.dll": {} | |||
| }, | |||
| "runtime": { | |||
| "lib/40/Microsoft.Exchange.WebServices.Auth.dll": {}, | |||
| "lib/40/Microsoft.Exchange.WebServices.dll": {} | |||
| } | |||
| }, | |||
| "Newtonsoft.Json/13.0.1": { | |||
| "type": "package", | |||
| "compile": { | |||
| "lib/netstandard2.0/Newtonsoft.Json.dll": {} | |||
| }, | |||
| "runtime": { | |||
| "lib/netstandard2.0/Newtonsoft.Json.dll": {} | |||
| } | |||
| } | |||
| } | |||
| }, | |||
| "libraries": { | |||
| "Microsoft.Exchange.WebServices/2.2.0": { | |||
| "sha512": "NlkaTD0uWtg9VbiWq0VDWMBPzHFknH3tmstrxt0acrT09LBGqATTjRpsGOODz6tUdX7/dehBinxsf75U5Uw/+A==", | |||
| "type": "package", | |||
| "path": "microsoft.exchange.webservices/2.2.0", | |||
| "files": [ | |||
| ".nupkg.metadata", | |||
| ".signature.p7s", | |||
| "doc/License Terms.rtf", | |||
| "doc/README.htm", | |||
| "doc/Redist.txt", | |||
| "lib/40/Microsoft.Exchange.WebServices.Auth.dll", | |||
| "lib/40/Microsoft.Exchange.WebServices.Auth.pdb", | |||
| "lib/40/Microsoft.Exchange.WebServices.Auth.xml", | |||
| "lib/40/Microsoft.Exchange.WebServices.dll", | |||
| "lib/40/Microsoft.Exchange.WebServices.pdb", | |||
| "lib/40/Microsoft.Exchange.WebServices.xml", | |||
| "microsoft.exchange.webservices.2.2.0.nupkg.sha512", | |||
| "microsoft.exchange.webservices.nuspec" | |||
| ] | |||
| }, | |||
| "Newtonsoft.Json/13.0.1": { | |||
| "sha512": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==", | |||
| "type": "package", | |||
| "path": "newtonsoft.json/13.0.1", | |||
| "files": [ | |||
| ".nupkg.metadata", | |||
| ".signature.p7s", | |||
| "LICENSE.md", | |||
| "lib/net20/Newtonsoft.Json.dll", | |||
| "lib/net20/Newtonsoft.Json.xml", | |||
| "lib/net35/Newtonsoft.Json.dll", | |||
| "lib/net35/Newtonsoft.Json.xml", | |||
| "lib/net40/Newtonsoft.Json.dll", | |||
| "lib/net40/Newtonsoft.Json.xml", | |||
| "lib/net45/Newtonsoft.Json.dll", | |||
| "lib/net45/Newtonsoft.Json.xml", | |||
| "lib/netstandard1.0/Newtonsoft.Json.dll", | |||
| "lib/netstandard1.0/Newtonsoft.Json.xml", | |||
| "lib/netstandard1.3/Newtonsoft.Json.dll", | |||
| "lib/netstandard1.3/Newtonsoft.Json.xml", | |||
| "lib/netstandard2.0/Newtonsoft.Json.dll", | |||
| "lib/netstandard2.0/Newtonsoft.Json.xml", | |||
| "newtonsoft.json.13.0.1.nupkg.sha512", | |||
| "newtonsoft.json.nuspec", | |||
| "packageIcon.png" | |||
| ] | |||
| } | |||
| }, | |||
| "libraries": {}, | |||
| "projectFileDependencyGroups": { | |||
| "net5.0": [] | |||
| "net6.0": [ | |||
| "Microsoft.Exchange.WebServices >= 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" | |||
| ] | |||
| } | |||
| ] | |||
| } | |||
| @@ -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" | |||
| ] | |||
| } | |||
| ] | |||
| } | |||