commit 82f25882aa3215ada1cd38c6314031d35360c919 Author: Kalarumeth <70245579+Kalarumeth@users.noreply.github.com> Date: Thu Jul 7 17:41:02 2022 +0200 Fist commit Issue console SharePoint Utils diff --git a/.vs/ProjectEvaluation/console_spo_utils.metadata.v2 b/.vs/ProjectEvaluation/console_spo_utils.metadata.v2 new file mode 100644 index 0000000..9d353e4 Binary files /dev/null and b/.vs/ProjectEvaluation/console_spo_utils.metadata.v2 differ diff --git a/.vs/ProjectEvaluation/console_spo_utils.projects.v2 b/.vs/ProjectEvaluation/console_spo_utils.projects.v2 new file mode 100644 index 0000000..d0a737a Binary files /dev/null and b/.vs/ProjectEvaluation/console_spo_utils.projects.v2 differ diff --git a/.vs/console_spo_utils/DesignTimeBuild/.dtbcache.v2 b/.vs/console_spo_utils/DesignTimeBuild/.dtbcache.v2 new file mode 100644 index 0000000..0f17596 Binary files /dev/null and b/.vs/console_spo_utils/DesignTimeBuild/.dtbcache.v2 differ diff --git a/.vs/console_spo_utils/FileContentIndex/5f2bd63b-dcba-4ee3-8543-aa9fcf7a9a3f.vsidx b/.vs/console_spo_utils/FileContentIndex/5f2bd63b-dcba-4ee3-8543-aa9fcf7a9a3f.vsidx new file mode 100644 index 0000000..b5c2135 Binary files /dev/null and b/.vs/console_spo_utils/FileContentIndex/5f2bd63b-dcba-4ee3-8543-aa9fcf7a9a3f.vsidx differ diff --git a/.vs/console_spo_utils/FileContentIndex/read.lock b/.vs/console_spo_utils/FileContentIndex/read.lock new file mode 100644 index 0000000..e69de29 diff --git a/.vs/console_spo_utils/v17/.futdcache.v1 b/.vs/console_spo_utils/v17/.futdcache.v1 new file mode 100644 index 0000000..af19d84 Binary files /dev/null and b/.vs/console_spo_utils/v17/.futdcache.v1 differ diff --git a/console_spo_utils.sln b/console_spo_utils.sln new file mode 100644 index 0000000..80b8db9 --- /dev/null +++ b/console_spo_utils.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.2.32616.157 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "console_spo_utils", "console_spo_utils\console_spo_utils.csproj", "{7F73BBFA-1300-4110-8623-4CBE31011A48}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7F73BBFA-1300-4110-8623-4CBE31011A48}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7F73BBFA-1300-4110-8623-4CBE31011A48}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7F73BBFA-1300-4110-8623-4CBE31011A48}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7F73BBFA-1300-4110-8623-4CBE31011A48}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {D82D59F8-0696-41C8-A616-B1E418516A13} + EndGlobalSection +EndGlobal diff --git a/console_spo_utils/Program.cs b/console_spo_utils/Program.cs new file mode 100644 index 0000000..00d3f56 --- /dev/null +++ b/console_spo_utils/Program.cs @@ -0,0 +1,234 @@ +using Microsoft.SharePoint.Client; +using System; +using System.Collections.Concurrent; +using System.Net; +using System.Net.Http; +using System.Security; +using System.Text; +using System.Text.Json; +using System.Threading; +using System.Threading.Tasks; +using System.Web; + +namespace SharePointOnlineUtils +{ + public class Program + { + public static void Main() + { + //Console.WriteLine("Zio Mestre! Son partio"); + SPConnections(); + } + + public static async Task SPConnections() + { + Uri site = new Uri("https://italsortbuttrio.sharepoint.com/"); + string user = "svcItsSharePointAdmin@italsort.com"; + SecureString password = new NetworkCredential("", "$O,D1XBp1O5.OdjZt86#a=").SecurePassword; + + // Note: The PnP Sites Core AuthenticationManager class also supports this + using (var authenticationManager = new AuthenticationManager()) + using (var context = authenticationManager.GetContext(site, user, password)) + { + context.Load(context.Web, p => p.Title); + // + //await context.ExecuteQueryAsync(); + context.ExecuteQuery(); + Console.WriteLine($"Title: {context.Web.Title}"); + } + } + } + + public class AuthenticationManager : IDisposable + { + + private static readonly HttpClient httpClient = new HttpClient(); + private const string tokenEndpoint = "https://login.microsoftonline.com/common/oauth2/token"; + + private const string defaultAADAppId = "986002f6-c3f6-43ab-913e-78cca185c392"; + + // Token cache handling + private static readonly SemaphoreSlim semaphoreSlimTokens = new SemaphoreSlim(1); + private AutoResetEvent tokenResetEvent = null; + private readonly ConcurrentDictionary tokenCache = new ConcurrentDictionary(); + private bool disposedValue; + + internal class TokenWaitInfo + { + public RegisteredWaitHandle Handle = null; + } + + public ClientContext GetContext(Uri web, string userPrincipalName, SecureString userPassword) + { + var context = new ClientContext(web); + + context.ExecutingWebRequest += (sender, e) => + { + string accessToken = EnsureAccessTokenAsync(new Uri($"{web.Scheme}://{web.DnsSafeHost}"), userPrincipalName, new System.Net.NetworkCredential(string.Empty, userPassword).Password).GetAwaiter().GetResult(); + e.WebRequestExecutor.RequestHeaders["Authorization"] = "Bearer " + accessToken; + }; + + return context; + } + + public async Task EnsureAccessTokenAsync(Uri resourceUri, string userPrincipalName, string userPassword) + { + string accessTokenFromCache = TokenFromCache(resourceUri, tokenCache); + if (accessTokenFromCache == null) + { + await semaphoreSlimTokens.WaitAsync().ConfigureAwait(false); + try + { + // No async methods are allowed in a lock section + string accessToken = await AcquireTokenAsync(resourceUri, userPrincipalName, userPassword).ConfigureAwait(false); + Console.WriteLine($"Successfully requested new access token resource {resourceUri.DnsSafeHost} for user {userPrincipalName}"); + AddTokenToCache(resourceUri, tokenCache, accessToken); + + // Register a thread to invalidate the access token once's it's expired + tokenResetEvent = new AutoResetEvent(false); + TokenWaitInfo wi = new TokenWaitInfo(); + wi.Handle = ThreadPool.RegisterWaitForSingleObject( + tokenResetEvent, + async (state, timedOut) => + { + if (!timedOut) + { + TokenWaitInfo internalWaitToken = (TokenWaitInfo)state; + if (internalWaitToken.Handle != null) + { + internalWaitToken.Handle.Unregister(null); + } + } + else + { + try + { + // Take a lock to ensure no other threads are updating the SharePoint Access token at this time + await semaphoreSlimTokens.WaitAsync().ConfigureAwait(false); + RemoveTokenFromCache(resourceUri, tokenCache); + Console.WriteLine($"Cached token for resource {resourceUri.DnsSafeHost} and user {userPrincipalName} expired"); + } + catch (Exception ex) + { + Console.WriteLine($"Something went wrong during cache token invalidation: {ex.Message}"); + RemoveTokenFromCache(resourceUri, tokenCache); + } + finally + { + semaphoreSlimTokens.Release(); + } + } + }, + wi, + (uint)CalculateThreadSleep(accessToken).TotalMilliseconds, + true + ); + + return accessToken; + + } + finally + { + semaphoreSlimTokens.Release(); + } + } + else + { + Console.WriteLine($"Returning token from cache for resource {resourceUri.DnsSafeHost} and user {userPrincipalName}"); + return accessTokenFromCache; + } + } + + private async Task AcquireTokenAsync(Uri resourceUri, string username, string password) + { + string resource = $"{resourceUri.Scheme}://{resourceUri.DnsSafeHost}"; + + var clientId = defaultAADAppId; + var body = $"resource={resource}&client_id={clientId}&grant_type=password&username={HttpUtility.UrlEncode(username)}&password={HttpUtility.UrlEncode(password)}"; + using (var stringContent = new StringContent(body, Encoding.UTF8, "application/x-www-form-urlencoded")) + { + + var result = await httpClient.PostAsync(tokenEndpoint, stringContent).ContinueWith((response) => + { + return response.Result.Content.ReadAsStringAsync().Result; + }).ConfigureAwait(false); + + var tokenResult = JsonSerializer.Deserialize(result); + var token = tokenResult.GetProperty("access_token").GetString(); + return token; + } + } + + private static string TokenFromCache(Uri web, ConcurrentDictionary tokenCache) + { + if (tokenCache.TryGetValue(web.DnsSafeHost, out string accessToken)) + { + return accessToken; + } + + return null; + } + + private static void AddTokenToCache(Uri web, ConcurrentDictionary tokenCache, string newAccessToken) + { + if (tokenCache.TryGetValue(web.DnsSafeHost, out string currentAccessToken)) + { + tokenCache.TryUpdate(web.DnsSafeHost, newAccessToken, currentAccessToken); + } + else + { + tokenCache.TryAdd(web.DnsSafeHost, newAccessToken); + } + } + + private static void RemoveTokenFromCache(Uri web, ConcurrentDictionary tokenCache) + { + tokenCache.TryRemove(web.DnsSafeHost, out string currentAccessToken); + } + + private static TimeSpan CalculateThreadSleep(string accessToken) + { + var token = new System.IdentityModel.Tokens.Jwt.JwtSecurityToken(accessToken); + var lease = GetAccessTokenLease(token.ValidTo); + lease = TimeSpan.FromSeconds(lease.TotalSeconds - TimeSpan.FromMinutes(5).TotalSeconds > 0 ? lease.TotalSeconds - TimeSpan.FromMinutes(5).TotalSeconds : lease.TotalSeconds); + return lease; + } + + private static TimeSpan GetAccessTokenLease(DateTime expiresOn) + { + DateTime now = DateTime.UtcNow; + DateTime expires = expiresOn.Kind == DateTimeKind.Utc ? expiresOn : TimeZoneInfo.ConvertTimeToUtc(expiresOn); + TimeSpan lease = expires - now; + return lease; + } + + protected virtual void Dispose(bool disposing) + { + if (!disposedValue) + { + if (disposing) + { + if (tokenResetEvent != null) + { + tokenResetEvent.Set(); + tokenResetEvent.Dispose(); + } + } + + disposedValue = true; + } + } + + public void Dispose() + { + // Do not change this code. Put cleanup code in 'Dispose(bool disposing)' method + Dispose(disposing: true); + GC.SuppressFinalize(this); + } + } + + public class OrderAutomation + { + + } +} diff --git a/console_spo_utils/bin/Debug/net6.0/console_spo_utils.deps.json b/console_spo_utils/bin/Debug/net6.0/console_spo_utils.deps.json new file mode 100644 index 0000000..10c1c16 --- /dev/null +++ b/console_spo_utils/bin/Debug/net6.0/console_spo_utils.deps.json @@ -0,0 +1,152 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v6.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v6.0": { + "console_spo_utils/1.0.0": { + "dependencies": { + "Microsoft.SharePoint.Client": "14.0.4762.1000", + "System.IdentityModel.Tokens.Jwt": "6.21.0" + }, + "runtime": { + "console_spo_utils.dll": {} + } + }, + "Microsoft.CSharp/4.5.0": {}, + "Microsoft.IdentityModel.Abstractions/6.21.0": { + "runtime": { + "lib/net6.0/Microsoft.IdentityModel.Abstractions.dll": { + "assemblyVersion": "6.21.0.0", + "fileVersion": "6.21.0.30701" + } + } + }, + "Microsoft.IdentityModel.JsonWebTokens/6.21.0": { + "dependencies": { + "Microsoft.IdentityModel.Tokens": "6.21.0" + }, + "runtime": { + "lib/net6.0/Microsoft.IdentityModel.JsonWebTokens.dll": { + "assemblyVersion": "6.21.0.0", + "fileVersion": "6.21.0.30701" + } + } + }, + "Microsoft.IdentityModel.Logging/6.21.0": { + "dependencies": { + "Microsoft.IdentityModel.Abstractions": "6.21.0" + }, + "runtime": { + "lib/net6.0/Microsoft.IdentityModel.Logging.dll": { + "assemblyVersion": "6.21.0.0", + "fileVersion": "6.21.0.30701" + } + } + }, + "Microsoft.IdentityModel.Tokens/6.21.0": { + "dependencies": { + "Microsoft.CSharp": "4.5.0", + "Microsoft.IdentityModel.Logging": "6.21.0", + "System.Security.Cryptography.Cng": "4.5.0" + }, + "runtime": { + "lib/net6.0/Microsoft.IdentityModel.Tokens.dll": { + "assemblyVersion": "6.21.0.0", + "fileVersion": "6.21.0.30701" + } + } + }, + "Microsoft.SharePoint.Client/14.0.4762.1000": { + "runtime": { + "lib/Microsoft.SharePoint.Client.Runtime.dll": { + "assemblyVersion": "14.0.0.0", + "fileVersion": "14.0.4762.1000" + }, + "lib/Microsoft.SharePoint.Client.dll": { + "assemblyVersion": "14.0.0.0", + "fileVersion": "14.0.4762.1000" + } + } + }, + "System.IdentityModel.Tokens.Jwt/6.21.0": { + "dependencies": { + "Microsoft.IdentityModel.JsonWebTokens": "6.21.0", + "Microsoft.IdentityModel.Tokens": "6.21.0" + }, + "runtime": { + "lib/net6.0/System.IdentityModel.Tokens.Jwt.dll": { + "assemblyVersion": "6.21.0.0", + "fileVersion": "6.21.0.30701" + } + } + }, + "System.Security.Cryptography.Cng/4.5.0": {} + } + }, + "libraries": { + "console_spo_utils/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "Microsoft.CSharp/4.5.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-kaj6Wb4qoMuH3HySFJhxwQfe8R/sJsNJnANrvv8WdFPMoNbKY5htfNscv+LHCu5ipz+49m2e+WQXpLXr9XYemQ==", + "path": "microsoft.csharp/4.5.0", + "hashPath": "microsoft.csharp.4.5.0.nupkg.sha512" + }, + "Microsoft.IdentityModel.Abstractions/6.21.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-XeE6LQtD719Qs2IG7HDi1TSw9LIkDbJ33xFiOBoHbApVw/8GpIBCbW+t7RwOjErUDyXZvjhZliwRkkLb8Z1uzg==", + "path": "microsoft.identitymodel.abstractions/6.21.0", + "hashPath": "microsoft.identitymodel.abstractions.6.21.0.nupkg.sha512" + }, + "Microsoft.IdentityModel.JsonWebTokens/6.21.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-d3h1/BaMeylKTkdP6XwRCxuOoDJZ44V9xaXr6gl5QxmpnZGdoK3bySo3OQN8ehRLJHShb94ElLUvoXyglQtgAw==", + "path": "microsoft.identitymodel.jsonwebtokens/6.21.0", + "hashPath": "microsoft.identitymodel.jsonwebtokens.6.21.0.nupkg.sha512" + }, + "Microsoft.IdentityModel.Logging/6.21.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-tuEhHIQwvBEhMf8I50hy8FHmRSUkffDFP5EdLsSDV4qRcl2wvOPkQxYqEzWkh+ytW6sbdJGEXElGhmhDfAxAKg==", + "path": "microsoft.identitymodel.logging/6.21.0", + "hashPath": "microsoft.identitymodel.logging.6.21.0.nupkg.sha512" + }, + "Microsoft.IdentityModel.Tokens/6.21.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-AAEHZvZyb597a+QJSmtxH3n2P1nIJGpZ4Q89GTenknRx6T6zyfzf592yW/jA5e8EHN4tNMjjXHQaYWEq5+L05w==", + "path": "microsoft.identitymodel.tokens/6.21.0", + "hashPath": "microsoft.identitymodel.tokens.6.21.0.nupkg.sha512" + }, + "Microsoft.SharePoint.Client/14.0.4762.1000": { + "type": "package", + "serviceable": true, + "sha512": "sha512-pY+Fy+aG8bSHJYj4irmFc5Jo1mrglZGJ6MBR/aJYD75h+slmaSjj8xtBH82WLWH+gXghvZY7RDvZgJbPx1w+EQ==", + "path": "microsoft.sharepoint.client/14.0.4762.1000", + "hashPath": "microsoft.sharepoint.client.14.0.4762.1000.nupkg.sha512" + }, + "System.IdentityModel.Tokens.Jwt/6.21.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JRD8AuypBE+2zYxT3dMJomQVsPYsCqlyZhWel3J1d5nzQokSRyTueF+Q4ID3Jcu6zSZKuzOdJ1MLTkbQsDqcvQ==", + "path": "system.identitymodel.tokens.jwt/6.21.0", + "hashPath": "system.identitymodel.tokens.jwt.6.21.0.nupkg.sha512" + }, + "System.Security.Cryptography.Cng/4.5.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-WG3r7EyjUe9CMPFSs6bty5doUqT+q9pbI80hlNzo2SkPkZ4VTuZkGWjpp77JB8+uaL4DFPRdBsAY+DX3dBK92A==", + "path": "system.security.cryptography.cng/4.5.0", + "hashPath": "system.security.cryptography.cng.4.5.0.nupkg.sha512" + } + } +} \ No newline at end of file diff --git a/console_spo_utils/bin/Debug/net6.0/console_spo_utils.runtimeconfig.json b/console_spo_utils/bin/Debug/net6.0/console_spo_utils.runtimeconfig.json new file mode 100644 index 0000000..4986d16 --- /dev/null +++ b/console_spo_utils/bin/Debug/net6.0/console_spo_utils.runtimeconfig.json @@ -0,0 +1,9 @@ +{ + "runtimeOptions": { + "tfm": "net6.0", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "6.0.0" + } + } +} \ No newline at end of file diff --git a/console_spo_utils/console_spo_utils.csproj b/console_spo_utils/console_spo_utils.csproj new file mode 100644 index 0000000..b017b9f --- /dev/null +++ b/console_spo_utils/console_spo_utils.csproj @@ -0,0 +1,15 @@ + + + + Exe + net6.0 + enable + enable + + + + + + + + diff --git a/console_spo_utils/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs b/console_spo_utils/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs new file mode 100644 index 0000000..36203c7 --- /dev/null +++ b/console_spo_utils/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")] diff --git a/console_spo_utils/obj/Debug/net6.0/_IsIncrementalBuild b/console_spo_utils/obj/Debug/net6.0/_IsIncrementalBuild new file mode 100644 index 0000000..9735daa --- /dev/null +++ b/console_spo_utils/obj/Debug/net6.0/_IsIncrementalBuild @@ -0,0 +1 @@ +obj\Debug\net6.0\\_IsIncrementalBuild diff --git a/console_spo_utils/obj/Debug/net6.0/console_spo_utils.AssemblyInfo.cs b/console_spo_utils/obj/Debug/net6.0/console_spo_utils.AssemblyInfo.cs new file mode 100644 index 0000000..c8f88be --- /dev/null +++ b/console_spo_utils/obj/Debug/net6.0/console_spo_utils.AssemblyInfo.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// Il codice è stato generato da uno strumento. +// Versione runtime:4.0.30319.42000 +// +// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se +// il codice viene rigenerato. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("console_spo_utils")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("console_spo_utils")] +[assembly: System.Reflection.AssemblyTitleAttribute("console_spo_utils")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generato dalla classe WriteCodeFragment di MSBuild. + diff --git a/console_spo_utils/obj/Debug/net6.0/console_spo_utils.GeneratedMSBuildEditorConfig.editorconfig b/console_spo_utils/obj/Debug/net6.0/console_spo_utils.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..f63668c --- /dev/null +++ b/console_spo_utils/obj/Debug/net6.0/console_spo_utils.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,10 @@ +is_global = true +build_property.TargetFramework = net6.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = console_spo_utils +build_property.ProjectDir = C:\Sources\VS\console_spo_utils\console_spo_utils\ diff --git a/console_spo_utils/obj/Debug/net6.0/console_spo_utils.GlobalUsings.g.cs b/console_spo_utils/obj/Debug/net6.0/console_spo_utils.GlobalUsings.g.cs new file mode 100644 index 0000000..8578f3d --- /dev/null +++ b/console_spo_utils/obj/Debug/net6.0/console_spo_utils.GlobalUsings.g.cs @@ -0,0 +1,8 @@ +// +global using global::System; +global using global::System.Collections.Generic; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Threading; +global using global::System.Threading.Tasks; diff --git a/console_spo_utils/obj/Debug/net6.0/console_spo_utils.csproj.BuildWithSkipAnalyzers b/console_spo_utils/obj/Debug/net6.0/console_spo_utils.csproj.BuildWithSkipAnalyzers new file mode 100644 index 0000000..e69de29 diff --git a/console_spo_utils/obj/Debug/net6.0/console_spo_utils.csproj.CopyComplete b/console_spo_utils/obj/Debug/net6.0/console_spo_utils.csproj.CopyComplete new file mode 100644 index 0000000..e69de29 diff --git a/console_spo_utils/obj/Debug/net6.0/console_spo_utils.csproj.FileListAbsolute.txt b/console_spo_utils/obj/Debug/net6.0/console_spo_utils.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..0f80814 --- /dev/null +++ b/console_spo_utils/obj/Debug/net6.0/console_spo_utils.csproj.FileListAbsolute.txt @@ -0,0 +1,23 @@ +C:\Sources\VS\console_spo_utils\console_spo_utils\bin\Debug\net6.0\console_spo_utils.exe +C:\Sources\VS\console_spo_utils\console_spo_utils\bin\Debug\net6.0\console_spo_utils.deps.json +C:\Sources\VS\console_spo_utils\console_spo_utils\bin\Debug\net6.0\console_spo_utils.runtimeconfig.json +C:\Sources\VS\console_spo_utils\console_spo_utils\bin\Debug\net6.0\console_spo_utils.dll +C:\Sources\VS\console_spo_utils\console_spo_utils\bin\Debug\net6.0\console_spo_utils.pdb +C:\Sources\VS\console_spo_utils\console_spo_utils\obj\Debug\net6.0\console_spo_utils.csproj.AssemblyReference.cache +C:\Sources\VS\console_spo_utils\console_spo_utils\obj\Debug\net6.0\console_spo_utils.GeneratedMSBuildEditorConfig.editorconfig +C:\Sources\VS\console_spo_utils\console_spo_utils\obj\Debug\net6.0\console_spo_utils.AssemblyInfoInputs.cache +C:\Sources\VS\console_spo_utils\console_spo_utils\obj\Debug\net6.0\console_spo_utils.AssemblyInfo.cs +C:\Sources\VS\console_spo_utils\console_spo_utils\obj\Debug\net6.0\console_spo_utils.csproj.CoreCompileInputs.cache +C:\Sources\VS\console_spo_utils\console_spo_utils\obj\Debug\net6.0\console_spo_utils.dll +C:\Sources\VS\console_spo_utils\console_spo_utils\obj\Debug\net6.0\refint\console_spo_utils.dll +C:\Sources\VS\console_spo_utils\console_spo_utils\obj\Debug\net6.0\console_spo_utils.pdb +C:\Sources\VS\console_spo_utils\console_spo_utils\obj\Debug\net6.0\console_spo_utils.genruntimeconfig.cache +C:\Sources\VS\console_spo_utils\console_spo_utils\obj\Debug\net6.0\ref\console_spo_utils.dll +C:\Sources\VS\console_spo_utils\console_spo_utils\bin\Debug\net6.0\Microsoft.IdentityModel.Abstractions.dll +C:\Sources\VS\console_spo_utils\console_spo_utils\bin\Debug\net6.0\Microsoft.IdentityModel.JsonWebTokens.dll +C:\Sources\VS\console_spo_utils\console_spo_utils\bin\Debug\net6.0\Microsoft.IdentityModel.Logging.dll +C:\Sources\VS\console_spo_utils\console_spo_utils\bin\Debug\net6.0\Microsoft.IdentityModel.Tokens.dll +C:\Sources\VS\console_spo_utils\console_spo_utils\bin\Debug\net6.0\Microsoft.SharePoint.Client.Runtime.dll +C:\Sources\VS\console_spo_utils\console_spo_utils\bin\Debug\net6.0\Microsoft.SharePoint.Client.dll +C:\Sources\VS\console_spo_utils\console_spo_utils\bin\Debug\net6.0\System.IdentityModel.Tokens.Jwt.dll +C:\Sources\VS\console_spo_utils\console_spo_utils\obj\Debug\net6.0\console_spo_utils.csproj.CopyComplete diff --git a/console_spo_utils/obj/Debug/net6.0/console_spoutils.AssemblyInfo.cs b/console_spo_utils/obj/Debug/net6.0/console_spoutils.AssemblyInfo.cs new file mode 100644 index 0000000..418f7a7 --- /dev/null +++ b/console_spo_utils/obj/Debug/net6.0/console_spoutils.AssemblyInfo.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// Il codice è stato generato da uno strumento. +// Versione runtime:4.0.30319.42000 +// +// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se +// il codice viene rigenerato. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("console_spoutils")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("console_spoutils")] +[assembly: System.Reflection.AssemblyTitleAttribute("console_spoutils")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generato dalla classe WriteCodeFragment di MSBuild. + diff --git a/console_spo_utils/obj/Debug/net6.0/console_spoutils.GeneratedMSBuildEditorConfig.editorconfig b/console_spo_utils/obj/Debug/net6.0/console_spoutils.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..530cdbb --- /dev/null +++ b/console_spo_utils/obj/Debug/net6.0/console_spoutils.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,10 @@ +is_global = true +build_property.TargetFramework = net6.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = console_spoutils +build_property.ProjectDir = C:\Sources\VS\console_spo_utils\console_spo_utils\ diff --git a/console_spo_utils/obj/Debug/net6.0/console_spoutils.GlobalUsings.g.cs b/console_spo_utils/obj/Debug/net6.0/console_spoutils.GlobalUsings.g.cs new file mode 100644 index 0000000..8578f3d --- /dev/null +++ b/console_spo_utils/obj/Debug/net6.0/console_spoutils.GlobalUsings.g.cs @@ -0,0 +1,8 @@ +// +global using global::System; +global using global::System.Collections.Generic; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Threading; +global using global::System.Threading.Tasks; diff --git a/console_spo_utils/obj/console_spo_utils.csproj.nuget.dgspec.json b/console_spo_utils/obj/console_spo_utils.csproj.nuget.dgspec.json new file mode 100644 index 0000000..e406aaf --- /dev/null +++ b/console_spo_utils/obj/console_spo_utils.csproj.nuget.dgspec.json @@ -0,0 +1,79 @@ +{ + "format": 1, + "restore": { + "C:\\Sources\\VS\\console_spo_utils\\console_spo_utils\\console_spo_utils.csproj": {} + }, + "projects": { + "C:\\Sources\\VS\\console_spo_utils\\console_spo_utils\\console_spo_utils.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Sources\\VS\\console_spo_utils\\console_spo_utils\\console_spo_utils.csproj", + "projectName": "console_spo_utils", + "projectPath": "C:\\Sources\\VS\\console_spo_utils\\console_spo_utils\\console_spo_utils.csproj", + "packagesPath": "C:\\Users\\cbo\\.nuget\\packages\\", + "outputPath": "C:\\Sources\\VS\\console_spo_utils\\console_spo_utils\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\DevExpress 21.2\\Components\\Offline Packages", + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\cbo\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\DevExpress 21.2.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\DevExpress 21.2\\Components\\System\\Components\\Packages": {}, + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "dependencies": { + "Microsoft.SharePoint.Client": { + "target": "Package", + "version": "[14.0.4762.1000, )" + }, + "System.IdentityModel.Tokens.Jwt": { + "target": "Package", + "version": "[6.21.0, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.301\\RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/console_spo_utils/obj/console_spo_utils.csproj.nuget.g.props b/console_spo_utils/obj/console_spo_utils.csproj.nuget.g.props new file mode 100644 index 0000000..40541e9 --- /dev/null +++ b/console_spo_utils/obj/console_spo_utils.csproj.nuget.g.props @@ -0,0 +1,17 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\cbo\.nuget\packages\;C:\Program Files (x86)\DevExpress 21.2\Components\Offline Packages;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages + PackageReference + 6.2.1 + + + + + + + \ No newline at end of file diff --git a/console_spo_utils/obj/console_spo_utils.csproj.nuget.g.targets b/console_spo_utils/obj/console_spo_utils.csproj.nuget.g.targets new file mode 100644 index 0000000..3dc06ef --- /dev/null +++ b/console_spo_utils/obj/console_spo_utils.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/console_spo_utils/obj/console_spoutils.csproj.nuget.dgspec.json b/console_spo_utils/obj/console_spoutils.csproj.nuget.dgspec.json new file mode 100644 index 0000000..2129edb --- /dev/null +++ b/console_spo_utils/obj/console_spoutils.csproj.nuget.dgspec.json @@ -0,0 +1,79 @@ +{ + "format": 1, + "restore": { + "C:\\Sources\\VS\\console_spo_utils\\console_spo_utils\\console_spoutils.csproj": {} + }, + "projects": { + "C:\\Sources\\VS\\console_spo_utils\\console_spo_utils\\console_spoutils.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Sources\\VS\\console_spo_utils\\console_spo_utils\\console_spoutils.csproj", + "projectName": "console_spoutils", + "projectPath": "C:\\Sources\\VS\\console_spo_utils\\console_spo_utils\\console_spoutils.csproj", + "packagesPath": "C:\\Users\\cbo\\.nuget\\packages\\", + "outputPath": "C:\\Sources\\VS\\console_spo_utils\\console_spo_utils\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\DevExpress 21.2\\Components\\Offline Packages", + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\cbo\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\DevExpress 21.2.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\DevExpress 21.2\\Components\\System\\Components\\Packages": {}, + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "dependencies": { + "Microsoft.SharePoint.Client": { + "target": "Package", + "version": "[14.0.4762.1000, )" + }, + "System.IdentityModel.Tokens.Jwt": { + "target": "Package", + "version": "[6.21.0, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.301\\RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/console_spo_utils/obj/console_spoutils.csproj.nuget.g.props b/console_spo_utils/obj/console_spoutils.csproj.nuget.g.props new file mode 100644 index 0000000..40541e9 --- /dev/null +++ b/console_spo_utils/obj/console_spoutils.csproj.nuget.g.props @@ -0,0 +1,17 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\cbo\.nuget\packages\;C:\Program Files (x86)\DevExpress 21.2\Components\Offline Packages;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages + PackageReference + 6.2.1 + + + + + + + \ No newline at end of file diff --git a/console_spo_utils/obj/console_spoutils.csproj.nuget.g.targets b/console_spo_utils/obj/console_spoutils.csproj.nuget.g.targets new file mode 100644 index 0000000..3dc06ef --- /dev/null +++ b/console_spo_utils/obj/console_spoutils.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/console_spo_utils/obj/project.assets.json b/console_spo_utils/obj/project.assets.json new file mode 100644 index 0000000..1eff286 --- /dev/null +++ b/console_spo_utils/obj/project.assets.json @@ -0,0 +1,447 @@ +{ + "version": 3, + "targets": { + "net6.0": { + "Microsoft.CSharp/4.5.0": { + "type": "package", + "compile": { + "ref/netcoreapp2.0/_._": {} + }, + "runtime": { + "lib/netcoreapp2.0/_._": {} + } + }, + "Microsoft.IdentityModel.Abstractions/6.21.0": { + "type": "package", + "compile": { + "lib/net6.0/Microsoft.IdentityModel.Abstractions.dll": {} + }, + "runtime": { + "lib/net6.0/Microsoft.IdentityModel.Abstractions.dll": {} + } + }, + "Microsoft.IdentityModel.JsonWebTokens/6.21.0": { + "type": "package", + "dependencies": { + "Microsoft.IdentityModel.Tokens": "6.21.0" + }, + "compile": { + "lib/net6.0/Microsoft.IdentityModel.JsonWebTokens.dll": {} + }, + "runtime": { + "lib/net6.0/Microsoft.IdentityModel.JsonWebTokens.dll": {} + } + }, + "Microsoft.IdentityModel.Logging/6.21.0": { + "type": "package", + "dependencies": { + "Microsoft.IdentityModel.Abstractions": "6.21.0" + }, + "compile": { + "lib/net6.0/Microsoft.IdentityModel.Logging.dll": {} + }, + "runtime": { + "lib/net6.0/Microsoft.IdentityModel.Logging.dll": {} + } + }, + "Microsoft.IdentityModel.Tokens/6.21.0": { + "type": "package", + "dependencies": { + "Microsoft.CSharp": "4.5.0", + "Microsoft.IdentityModel.Logging": "6.21.0", + "System.Security.Cryptography.Cng": "4.5.0" + }, + "compile": { + "lib/net6.0/Microsoft.IdentityModel.Tokens.dll": {} + }, + "runtime": { + "lib/net6.0/Microsoft.IdentityModel.Tokens.dll": {} + } + }, + "Microsoft.SharePoint.Client/14.0.4762.1000": { + "type": "package", + "compile": { + "lib/Microsoft.SharePoint.Client.Runtime.dll": {}, + "lib/Microsoft.SharePoint.Client.dll": {} + }, + "runtime": { + "lib/Microsoft.SharePoint.Client.Runtime.dll": {}, + "lib/Microsoft.SharePoint.Client.dll": {} + } + }, + "System.IdentityModel.Tokens.Jwt/6.21.0": { + "type": "package", + "dependencies": { + "Microsoft.IdentityModel.JsonWebTokens": "6.21.0", + "Microsoft.IdentityModel.Tokens": "6.21.0" + }, + "compile": { + "lib/net6.0/System.IdentityModel.Tokens.Jwt.dll": {} + }, + "runtime": { + "lib/net6.0/System.IdentityModel.Tokens.Jwt.dll": {} + } + }, + "System.Security.Cryptography.Cng/4.5.0": { + "type": "package", + "compile": { + "ref/netcoreapp2.1/System.Security.Cryptography.Cng.dll": {} + }, + "runtime": { + "lib/netcoreapp2.1/System.Security.Cryptography.Cng.dll": {} + }, + "runtimeTargets": { + "runtimes/win/lib/netcoreapp2.1/System.Security.Cryptography.Cng.dll": { + "assetType": "runtime", + "rid": "win" + } + } + } + } + }, + "libraries": { + "Microsoft.CSharp/4.5.0": { + "sha512": "kaj6Wb4qoMuH3HySFJhxwQfe8R/sJsNJnANrvv8WdFPMoNbKY5htfNscv+LHCu5ipz+49m2e+WQXpLXr9XYemQ==", + "type": "package", + "path": "microsoft.csharp/4.5.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/MonoAndroid10/_._", + "lib/MonoTouch10/_._", + "lib/net45/_._", + "lib/netcore50/Microsoft.CSharp.dll", + "lib/netcoreapp2.0/_._", + "lib/netstandard1.3/Microsoft.CSharp.dll", + "lib/netstandard2.0/Microsoft.CSharp.dll", + "lib/portable-net45+win8+wp8+wpa81/_._", + "lib/uap10.0.16299/_._", + "lib/win8/_._", + "lib/wp80/_._", + "lib/wpa81/_._", + "lib/xamarinios10/_._", + "lib/xamarinmac20/_._", + "lib/xamarintvos10/_._", + "lib/xamarinwatchos10/_._", + "microsoft.csharp.4.5.0.nupkg.sha512", + "microsoft.csharp.nuspec", + "ref/MonoAndroid10/_._", + "ref/MonoTouch10/_._", + "ref/net45/_._", + "ref/netcore50/Microsoft.CSharp.dll", + "ref/netcore50/Microsoft.CSharp.xml", + "ref/netcore50/de/Microsoft.CSharp.xml", + "ref/netcore50/es/Microsoft.CSharp.xml", + "ref/netcore50/fr/Microsoft.CSharp.xml", + "ref/netcore50/it/Microsoft.CSharp.xml", + "ref/netcore50/ja/Microsoft.CSharp.xml", + "ref/netcore50/ko/Microsoft.CSharp.xml", + "ref/netcore50/ru/Microsoft.CSharp.xml", + "ref/netcore50/zh-hans/Microsoft.CSharp.xml", + "ref/netcore50/zh-hant/Microsoft.CSharp.xml", + "ref/netcoreapp2.0/_._", + "ref/netstandard1.0/Microsoft.CSharp.dll", + "ref/netstandard1.0/Microsoft.CSharp.xml", + "ref/netstandard1.0/de/Microsoft.CSharp.xml", + "ref/netstandard1.0/es/Microsoft.CSharp.xml", + "ref/netstandard1.0/fr/Microsoft.CSharp.xml", + "ref/netstandard1.0/it/Microsoft.CSharp.xml", + "ref/netstandard1.0/ja/Microsoft.CSharp.xml", + "ref/netstandard1.0/ko/Microsoft.CSharp.xml", + "ref/netstandard1.0/ru/Microsoft.CSharp.xml", + "ref/netstandard1.0/zh-hans/Microsoft.CSharp.xml", + "ref/netstandard1.0/zh-hant/Microsoft.CSharp.xml", + "ref/netstandard2.0/Microsoft.CSharp.dll", + "ref/netstandard2.0/Microsoft.CSharp.xml", + "ref/portable-net45+win8+wp8+wpa81/_._", + "ref/uap10.0.16299/_._", + "ref/win8/_._", + "ref/wp80/_._", + "ref/wpa81/_._", + "ref/xamarinios10/_._", + "ref/xamarinmac20/_._", + "ref/xamarintvos10/_._", + "ref/xamarinwatchos10/_._", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "Microsoft.IdentityModel.Abstractions/6.21.0": { + "sha512": "XeE6LQtD719Qs2IG7HDi1TSw9LIkDbJ33xFiOBoHbApVw/8GpIBCbW+t7RwOjErUDyXZvjhZliwRkkLb8Z1uzg==", + "type": "package", + "path": "microsoft.identitymodel.abstractions/6.21.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net45/Microsoft.IdentityModel.Abstractions.dll", + "lib/net45/Microsoft.IdentityModel.Abstractions.xml", + "lib/net461/Microsoft.IdentityModel.Abstractions.dll", + "lib/net461/Microsoft.IdentityModel.Abstractions.xml", + "lib/net472/Microsoft.IdentityModel.Abstractions.dll", + "lib/net472/Microsoft.IdentityModel.Abstractions.xml", + "lib/net6.0/Microsoft.IdentityModel.Abstractions.dll", + "lib/net6.0/Microsoft.IdentityModel.Abstractions.xml", + "lib/netstandard2.0/Microsoft.IdentityModel.Abstractions.dll", + "lib/netstandard2.0/Microsoft.IdentityModel.Abstractions.xml", + "microsoft.identitymodel.abstractions.6.21.0.nupkg.sha512", + "microsoft.identitymodel.abstractions.nuspec" + ] + }, + "Microsoft.IdentityModel.JsonWebTokens/6.21.0": { + "sha512": "d3h1/BaMeylKTkdP6XwRCxuOoDJZ44V9xaXr6gl5QxmpnZGdoK3bySo3OQN8ehRLJHShb94ElLUvoXyglQtgAw==", + "type": "package", + "path": "microsoft.identitymodel.jsonwebtokens/6.21.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net45/Microsoft.IdentityModel.JsonWebTokens.dll", + "lib/net45/Microsoft.IdentityModel.JsonWebTokens.xml", + "lib/net461/Microsoft.IdentityModel.JsonWebTokens.dll", + "lib/net461/Microsoft.IdentityModel.JsonWebTokens.xml", + "lib/net472/Microsoft.IdentityModel.JsonWebTokens.dll", + "lib/net472/Microsoft.IdentityModel.JsonWebTokens.xml", + "lib/net6.0/Microsoft.IdentityModel.JsonWebTokens.dll", + "lib/net6.0/Microsoft.IdentityModel.JsonWebTokens.xml", + "lib/netstandard2.0/Microsoft.IdentityModel.JsonWebTokens.dll", + "lib/netstandard2.0/Microsoft.IdentityModel.JsonWebTokens.xml", + "microsoft.identitymodel.jsonwebtokens.6.21.0.nupkg.sha512", + "microsoft.identitymodel.jsonwebtokens.nuspec" + ] + }, + "Microsoft.IdentityModel.Logging/6.21.0": { + "sha512": "tuEhHIQwvBEhMf8I50hy8FHmRSUkffDFP5EdLsSDV4qRcl2wvOPkQxYqEzWkh+ytW6sbdJGEXElGhmhDfAxAKg==", + "type": "package", + "path": "microsoft.identitymodel.logging/6.21.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net45/Microsoft.IdentityModel.Logging.dll", + "lib/net45/Microsoft.IdentityModel.Logging.xml", + "lib/net461/Microsoft.IdentityModel.Logging.dll", + "lib/net461/Microsoft.IdentityModel.Logging.xml", + "lib/net472/Microsoft.IdentityModel.Logging.dll", + "lib/net472/Microsoft.IdentityModel.Logging.xml", + "lib/net6.0/Microsoft.IdentityModel.Logging.dll", + "lib/net6.0/Microsoft.IdentityModel.Logging.xml", + "lib/netstandard2.0/Microsoft.IdentityModel.Logging.dll", + "lib/netstandard2.0/Microsoft.IdentityModel.Logging.xml", + "microsoft.identitymodel.logging.6.21.0.nupkg.sha512", + "microsoft.identitymodel.logging.nuspec" + ] + }, + "Microsoft.IdentityModel.Tokens/6.21.0": { + "sha512": "AAEHZvZyb597a+QJSmtxH3n2P1nIJGpZ4Q89GTenknRx6T6zyfzf592yW/jA5e8EHN4tNMjjXHQaYWEq5+L05w==", + "type": "package", + "path": "microsoft.identitymodel.tokens/6.21.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net45/Microsoft.IdentityModel.Tokens.dll", + "lib/net45/Microsoft.IdentityModel.Tokens.xml", + "lib/net461/Microsoft.IdentityModel.Tokens.dll", + "lib/net461/Microsoft.IdentityModel.Tokens.xml", + "lib/net472/Microsoft.IdentityModel.Tokens.dll", + "lib/net472/Microsoft.IdentityModel.Tokens.xml", + "lib/net6.0/Microsoft.IdentityModel.Tokens.dll", + "lib/net6.0/Microsoft.IdentityModel.Tokens.xml", + "lib/netstandard2.0/Microsoft.IdentityModel.Tokens.dll", + "lib/netstandard2.0/Microsoft.IdentityModel.Tokens.xml", + "microsoft.identitymodel.tokens.6.21.0.nupkg.sha512", + "microsoft.identitymodel.tokens.nuspec" + ] + }, + "Microsoft.SharePoint.Client/14.0.4762.1000": { + "sha512": "pY+Fy+aG8bSHJYj4irmFc5Jo1mrglZGJ6MBR/aJYD75h+slmaSjj8xtBH82WLWH+gXghvZY7RDvZgJbPx1w+EQ==", + "type": "package", + "path": "microsoft.sharepoint.client/14.0.4762.1000", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/Microsoft.SharePoint.Client.Runtime.dll", + "lib/Microsoft.SharePoint.Client.dll", + "microsoft.sharepoint.client.14.0.4762.1000.nupkg.sha512", + "microsoft.sharepoint.client.nuspec" + ] + }, + "System.IdentityModel.Tokens.Jwt/6.21.0": { + "sha512": "JRD8AuypBE+2zYxT3dMJomQVsPYsCqlyZhWel3J1d5nzQokSRyTueF+Q4ID3Jcu6zSZKuzOdJ1MLTkbQsDqcvQ==", + "type": "package", + "path": "system.identitymodel.tokens.jwt/6.21.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net45/System.IdentityModel.Tokens.Jwt.dll", + "lib/net45/System.IdentityModel.Tokens.Jwt.xml", + "lib/net461/System.IdentityModel.Tokens.Jwt.dll", + "lib/net461/System.IdentityModel.Tokens.Jwt.xml", + "lib/net472/System.IdentityModel.Tokens.Jwt.dll", + "lib/net472/System.IdentityModel.Tokens.Jwt.xml", + "lib/net6.0/System.IdentityModel.Tokens.Jwt.dll", + "lib/net6.0/System.IdentityModel.Tokens.Jwt.xml", + "lib/netstandard2.0/System.IdentityModel.Tokens.Jwt.dll", + "lib/netstandard2.0/System.IdentityModel.Tokens.Jwt.xml", + "system.identitymodel.tokens.jwt.6.21.0.nupkg.sha512", + "system.identitymodel.tokens.jwt.nuspec" + ] + }, + "System.Security.Cryptography.Cng/4.5.0": { + "sha512": "WG3r7EyjUe9CMPFSs6bty5doUqT+q9pbI80hlNzo2SkPkZ4VTuZkGWjpp77JB8+uaL4DFPRdBsAY+DX3dBK92A==", + "type": "package", + "path": "system.security.cryptography.cng/4.5.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/MonoAndroid10/_._", + "lib/MonoTouch10/_._", + "lib/net46/System.Security.Cryptography.Cng.dll", + "lib/net461/System.Security.Cryptography.Cng.dll", + "lib/net462/System.Security.Cryptography.Cng.dll", + "lib/net47/System.Security.Cryptography.Cng.dll", + "lib/netcoreapp2.1/System.Security.Cryptography.Cng.dll", + "lib/netstandard1.3/System.Security.Cryptography.Cng.dll", + "lib/netstandard1.4/System.Security.Cryptography.Cng.dll", + "lib/netstandard1.6/System.Security.Cryptography.Cng.dll", + "lib/netstandard2.0/System.Security.Cryptography.Cng.dll", + "lib/uap10.0.16299/_._", + "lib/xamarinios10/_._", + "lib/xamarinmac20/_._", + "lib/xamarintvos10/_._", + "lib/xamarinwatchos10/_._", + "ref/MonoAndroid10/_._", + "ref/MonoTouch10/_._", + "ref/net46/System.Security.Cryptography.Cng.dll", + "ref/net461/System.Security.Cryptography.Cng.dll", + "ref/net461/System.Security.Cryptography.Cng.xml", + "ref/net462/System.Security.Cryptography.Cng.dll", + "ref/net462/System.Security.Cryptography.Cng.xml", + "ref/net47/System.Security.Cryptography.Cng.dll", + "ref/net47/System.Security.Cryptography.Cng.xml", + "ref/netcoreapp2.0/System.Security.Cryptography.Cng.dll", + "ref/netcoreapp2.0/System.Security.Cryptography.Cng.xml", + "ref/netcoreapp2.1/System.Security.Cryptography.Cng.dll", + "ref/netcoreapp2.1/System.Security.Cryptography.Cng.xml", + "ref/netstandard1.3/System.Security.Cryptography.Cng.dll", + "ref/netstandard1.4/System.Security.Cryptography.Cng.dll", + "ref/netstandard1.6/System.Security.Cryptography.Cng.dll", + "ref/netstandard2.0/System.Security.Cryptography.Cng.dll", + "ref/netstandard2.0/System.Security.Cryptography.Cng.xml", + "ref/uap10.0.16299/_._", + "ref/xamarinios10/_._", + "ref/xamarinmac20/_._", + "ref/xamarintvos10/_._", + "ref/xamarinwatchos10/_._", + "runtimes/win/lib/net46/System.Security.Cryptography.Cng.dll", + "runtimes/win/lib/net461/System.Security.Cryptography.Cng.dll", + "runtimes/win/lib/net462/System.Security.Cryptography.Cng.dll", + "runtimes/win/lib/net47/System.Security.Cryptography.Cng.dll", + "runtimes/win/lib/netcoreapp2.0/System.Security.Cryptography.Cng.dll", + "runtimes/win/lib/netcoreapp2.1/System.Security.Cryptography.Cng.dll", + "runtimes/win/lib/netstandard1.4/System.Security.Cryptography.Cng.dll", + "runtimes/win/lib/netstandard1.6/System.Security.Cryptography.Cng.dll", + "runtimes/win/lib/uap10.0.16299/_._", + "system.security.cryptography.cng.4.5.0.nupkg.sha512", + "system.security.cryptography.cng.nuspec", + "useSharedDesignerContext.txt", + "version.txt" + ] + } + }, + "projectFileDependencyGroups": { + "net6.0": [ + "Microsoft.SharePoint.Client >= 14.0.4762.1000", + "System.IdentityModel.Tokens.Jwt >= 6.21.0" + ] + }, + "packageFolders": { + "C:\\Users\\cbo\\.nuget\\packages\\": {}, + "C:\\Program Files (x86)\\DevExpress 21.2\\Components\\Offline Packages": {}, + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Sources\\VS\\console_spo_utils\\console_spo_utils\\console_spo_utils.csproj", + "projectName": "console_spo_utils", + "projectPath": "C:\\Sources\\VS\\console_spo_utils\\console_spo_utils\\console_spo_utils.csproj", + "packagesPath": "C:\\Users\\cbo\\.nuget\\packages\\", + "outputPath": "C:\\Sources\\VS\\console_spo_utils\\console_spo_utils\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\DevExpress 21.2\\Components\\Offline Packages", + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\cbo\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\DevExpress 21.2.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\DevExpress 21.2\\Components\\System\\Components\\Packages": {}, + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "dependencies": { + "Microsoft.SharePoint.Client": { + "target": "Package", + "version": "[14.0.4762.1000, )" + }, + "System.IdentityModel.Tokens.Jwt": { + "target": "Package", + "version": "[6.21.0, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.301\\RuntimeIdentifierGraph.json" + } + } + }, + "logs": [ + { + "code": "NU1701", + "level": "Warning", + "warningLevel": 1, + "message": "Il pacchetto 'Microsoft.SharePoint.Client 14.0.4762.1000' è stato ripristinato mediante '.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' e non mediante il framework di destinazione del progetto 'net6.0'. Questo pacchetto potrebbe non essere completamente compatibile con il progetto.", + "libraryId": "Microsoft.SharePoint.Client", + "targetGraphs": [ + "net6.0" + ] + } + ] +} \ No newline at end of file