Skip to content

Commit

Permalink
2.0.0-RC2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
homotechsual committed Jan 17, 2024
1 parent 95ffe00 commit b879e06
Show file tree
Hide file tree
Showing 82 changed files with 705 additions and 87 deletions.
2 changes: 1 addition & 1 deletion C# Classes/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ csharp_new_line_before_else = false
csharp_new_line_before_finally = false
csharp_new_line_before_members_in_anonymous_types = true
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_open_brace = all
csharp_new_line_before_open_brace = none
csharp_new_line_between_query_expression_clauses = true

# Indentation preferences
Expand Down
Binary file modified C# Classes/.vs/C# Classes/DesignTimeBuild/.dtbcache.v2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified C# Classes/.vs/C# Classes/v17/.futdcache.v2
Binary file not shown.
Binary file modified C# Classes/.vs/C# Classes/v17/.suo
Binary file not shown.
Binary file modified C# Classes/.vs/ProjectEvaluation/c# classes.metadata.v7.bin
Binary file not shown.
Binary file modified C# Classes/.vs/ProjectEvaluation/c# classes.projects.v7.bin
Binary file not shown.
12 changes: 12 additions & 0 deletions C# Classes/C# Classes.sln
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ VisualStudioVersion = 17.8.34408.163
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MetadataAttribute", "MetadataAttribute\MetadataAttribute.csproj", "{C50E9E72-D49F-4A57-B6AF-C4D080C6DAC2}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ValidateStringOrInt", "ValidateStringOrInt\ValidateStringOrInt.csproj", "{2D95F554-D757-4495-9615-0DD98345D83D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ValidateNodeRoleId", "ValidateNodeRoleId\ValidateNodeRoleId.csproj", "{1598F27D-2D6C-44C9-BFAE-D259098F4E09}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -15,6 +19,14 @@ Global
{C50E9E72-D49F-4A57-B6AF-C4D080C6DAC2}.Debug|Any CPU.Build.0 = Release|Any CPU
{C50E9E72-D49F-4A57-B6AF-C4D080C6DAC2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C50E9E72-D49F-4A57-B6AF-C4D080C6DAC2}.Release|Any CPU.Build.0 = Release|Any CPU
{2D95F554-D757-4495-9615-0DD98345D83D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2D95F554-D757-4495-9615-0DD98345D83D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2D95F554-D757-4495-9615-0DD98345D83D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2D95F554-D757-4495-9615-0DD98345D83D}.Release|Any CPU.Build.0 = Release|Any CPU
{1598F27D-2D6C-44C9-BFAE-D259098F4E09}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1598F27D-2D6C-44C9-BFAE-D259098F4E09}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1598F27D-2D6C-44C9-BFAE-D259098F4E09}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1598F27D-2D6C-44C9-BFAE-D259098F4E09}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
7 changes: 7 additions & 0 deletions C# Classes/MetadataAttribute/MetadataAttribute.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,11 @@
<Nullable>enable</Nullable>
</PropertyGroup>

<Target Name="Copy DLLs" AfterTargets="Build">
<Message Text="Executing Copy DLLs" Importance="High" />
<Copy SourceFiles="$(TargetDir)$(ProjectName).dll"
DestinationFolder="$(SolutionDir)\..\Source\Binaries" />
<Message Text="Finished Copy DLLs" Importance="High" />
</Target>

</Project>
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"netstandard2.1"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netstandard2.1": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
[assembly: System.Reflection.AssemblyCompanyAttribute("MetadataAttribute")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+aa5e0d4c1ca950d1efb0f4903c92e134eb4556df")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+95ffe00f92432edd5afa99b995d6e9e3e2a3a7de")]
[assembly: System.Reflection.AssemblyProductAttribute("MetadataAttribute")]
[assembly: System.Reflection.AssemblyTitleAttribute("MetadataAttribute")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
76cce4f4cb6364d891842835020ff75a9ef1d9d3437057ed3f06ea4009d36c0f
190ac49c64636da9455cb6afdef60f866c3d40eae67ac34624aa75a34e87c346
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documents":{"R:\\Development\\NinjaOne\\*":"https://dev.azure.com/MSPsUK/NinjaOne/_apis/git/repositories/NinjaOne/items?api-version=1.0&versionType=commit&version=aa5e0d4c1ca950d1efb0f4903c92e134eb4556df&path=/*"}}
{"documents":{"R:\\Development\\NinjaOne\\*":"https://dev.azure.com/MSPsUK/NinjaOne/_apis/git/repositories/NinjaOne/items?api-version=1.0&versionType=commit&version=95ffe00f92432edd5afa99b995d6e9e3e2a3a7de&path=/*"}}
3 changes: 2 additions & 1 deletion C# Classes/MetadataAttribute/obj/project.assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"netstandard2.1"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netstandard2.1": {
Expand Down
2 changes: 1 addition & 1 deletion C# Classes/MetadataAttribute/obj/project.nuget.cache
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": 2,
"dgSpecHash": "DmjNfrVScNx8aRURAhCZtxZiEIugGr05oMN8N/72Ymd3sF5caXOhRfwLHpTNoEcEUmsxWvx3M+Bf0R4MZuBE6w==",
"dgSpecHash": "+vv8kDQJh5xIgyP4YsAgxXzUT74VYL+BSDdzR5BP1Kkhu+UHHfCRrKebsZO0UgZYOFRJqG6vIEOQQlgfu6/CQg==",
"success": true,
"projectFilePath": "R:\\Development\\NinjaOne\\C# Classes\\MetadataAttribute\\MetadataAttribute.csproj",
"expectedPackageFiles": [],
Expand Down
12 changes: 12 additions & 0 deletions C# Classes/ValidateNodeRoleId/ValidateNodeRoleId.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using System.Management.Automation;

class ValidateNodeRoleId : ValidateEnumeratedArgumentsAttribute {
protected override void ValidateElement(object element) {
if (element is null) {
throw new ValidationMetadataException("Element is null.");
}
if (((string)element != "auto") && !(element is int)) {
throw new ValidationMetadataException("Element is not 'auto' or an integer.");
}
}
}
19 changes: 19 additions & 0 deletions C# Classes/ValidateNodeRoleId/ValidateNodeRoleId.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<Nullable>enable</Nullable>
</PropertyGroup>

<Target Name="Copy DLLs" AfterTargets="Build">
<Message Text="Executing Copy DLLs" Importance="High" />
<Copy SourceFiles="$(TargetDir)$(ProjectName).dll"
DestinationFolder="$(SolutionDir)\..\Source\Binaries" />
<Message Text="Finished Copy DLLs" Importance="High" />
</Target>

<ItemGroup>
<PackageReference Include="PowerShellStandard.Library" Version="5.1.1" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"runtimeTarget": {
"name": ".NETStandard,Version=v2.1/",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETStandard,Version=v2.1": {},
".NETStandard,Version=v2.1/": {
"ValidateNodeRoleId/1.0.0": {
"dependencies": {
"PowerShellStandard.Library": "5.1.1"
},
"runtime": {
"ValidateNodeRoleId.dll": {}
}
},
"PowerShellStandard.Library/5.1.1": {
"runtime": {
"lib/netstandard2.0/System.Management.Automation.dll": {
"assemblyVersion": "3.0.0.0",
"fileVersion": "5.1.1.0"
}
}
}
}
},
"libraries": {
"ValidateNodeRoleId/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"PowerShellStandard.Library/5.1.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-e31xJjG+Kjbv6YF3Yq6D4Dl3or8v7LrNF41k3CXrWozW6hR1zcOe5KYuZJaGSiAgLnwP8wcW+I3+IWEzMPZKXQ==",
"path": "powershellstandard.library/5.1.1",
"hashPath": "powershellstandard.library.5.1.1.nupkg.sha512"
}
}
}
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

using System;
using System.Reflection;

[assembly: System.Reflection.AssemblyCompanyAttribute("ValidateNodeRoleId")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+95ffe00f92432edd5afa99b995d6e9e3e2a3a7de")]
[assembly: System.Reflection.AssemblyProductAttribute("ValidateNodeRoleId")]
[assembly: System.Reflection.AssemblyTitleAttribute("ValidateNodeRoleId")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

// Generated by the MSBuild WriteCodeFragment class.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d528d1bca552f80e0c86d032a5c6f38ab964bd941cf87415bd1373c1e1c44266
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
is_global = true
build_property.RootNamespace = ValidateNodeRoleId
build_property.ProjectDir = R:\Development\NinjaOne\C# Classes\ValidateNodeRoleId\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6bafe4d7a034585a5ca0eff67dbf2d23de12cc241f97fc0db6ebfb005a7bf248
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
R:\Development\NinjaOne\C# Classes\ValidateNodeRoleId\obj\Release\netstandard2.1\ValidateNodeRoleId.csproj.AssemblyReference.cache
R:\Development\NinjaOne\C# Classes\ValidateNodeRoleId\obj\Release\netstandard2.1\ValidateNodeRoleId.GeneratedMSBuildEditorConfig.editorconfig
R:\Development\NinjaOne\C# Classes\ValidateNodeRoleId\obj\Release\netstandard2.1\ValidateNodeRoleId.AssemblyInfoInputs.cache
R:\Development\NinjaOne\C# Classes\ValidateNodeRoleId\obj\Release\netstandard2.1\ValidateNodeRoleId.AssemblyInfo.cs
R:\Development\NinjaOne\C# Classes\ValidateNodeRoleId\obj\Release\netstandard2.1\ValidateNodeRoleId.csproj.CoreCompileInputs.cache
R:\Development\NinjaOne\C# Classes\ValidateNodeRoleId\obj\Release\netstandard2.1\ValidateNodeRoleId.sourcelink.json
R:\Development\NinjaOne\C# Classes\ValidateNodeRoleId\bin\Release\netstandard2.1\ValidateNodeRoleId.deps.json
R:\Development\NinjaOne\C# Classes\ValidateNodeRoleId\bin\Release\netstandard2.1\ValidateNodeRoleId.dll
R:\Development\NinjaOne\C# Classes\ValidateNodeRoleId\bin\Release\netstandard2.1\ValidateNodeRoleId.pdb
R:\Development\NinjaOne\C# Classes\ValidateNodeRoleId\obj\Release\netstandard2.1\ValidateNodeRoleId.dll
R:\Development\NinjaOne\C# Classes\ValidateNodeRoleId\obj\Release\netstandard2.1\ValidateNodeRoleId.pdb
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"documents":{"R:\\Development\\NinjaOne\\*":"https://dev.azure.com/MSPsUK/NinjaOne/_apis/git/repositories/NinjaOne/items?api-version=1.0&versionType=commit&version=95ffe00f92432edd5afa99b995d6e9e3e2a3a7de&path=/*"}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"format": 1,
"restore": {
"R:\\Development\\NinjaOne\\C# Classes\\ValidateNodeRoleId\\ValidateNodeRoleId.csproj": {}
},
"projects": {
"R:\\Development\\NinjaOne\\C# Classes\\ValidateNodeRoleId\\ValidateNodeRoleId.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "R:\\Development\\NinjaOne\\C# Classes\\ValidateNodeRoleId\\ValidateNodeRoleId.csproj",
"projectName": "ValidateNodeRoleId",
"projectPath": "R:\\Development\\NinjaOne\\C# Classes\\ValidateNodeRoleId\\ValidateNodeRoleId.csproj",
"packagesPath": "C:\\Users\\MichaelO'Toole\\.nuget\\packages\\",
"outputPath": "R:\\Development\\NinjaOne\\C# Classes\\ValidateNodeRoleId\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\MichaelO'Toole\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"netstandard2.1"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netstandard2.1": {
"targetAlias": "netstandard2.1",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netstandard2.1": {
"targetAlias": "netstandard2.1",
"dependencies": {
"PowerShellStandard.Library": {
"target": "Package",
"version": "[5.1.1, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"NETStandard.Library": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.101\\RuntimeIdentifierGraph.json"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\MichaelO'Toole\.nuget\packages\</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.8.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\MichaelO'Toole\.nuget\packages\" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
Loading

0 comments on commit b879e06

Please sign in to comment.