Update to .NET 8 and VSCode build

This commit is contained in:
2024-05-20 11:13:06 -04:00
parent 9b8ae7d33b
commit 9cb24db93f
8 changed files with 52848 additions and 52881 deletions

50
LDIFTools.sln Executable file → Normal file
View File

@@ -1,25 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.6.33723.286
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LDIFTools", "LDIFTools\LDIFTools.csproj", "{4ED13164-5D94-4ACE-9435-58060DBC836A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{4ED13164-5D94-4ACE-9435-58060DBC836A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4ED13164-5D94-4ACE-9435-58060DBC836A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4ED13164-5D94-4ACE-9435-58060DBC836A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4ED13164-5D94-4ACE-9435-58060DBC836A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {17B5541E-1C33-46BA-AB49-672B4361E444}
EndGlobalSection
EndGlobal

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.6.33723.286
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LDIFTools", "LDIFTools\LDIFTools.csproj", "{4ED13164-5D94-4ACE-9435-58060DBC836A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{4ED13164-5D94-4ACE-9435-58060DBC836A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4ED13164-5D94-4ACE-9435-58060DBC836A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4ED13164-5D94-4ACE-9435-58060DBC836A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4ED13164-5D94-4ACE-9435-58060DBC836A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {17B5541E-1C33-46BA-AB49-672B4361E444}
EndGlobalSection
EndGlobal

35
LDIFTools/LDIFTools.csproj Executable file → Normal file
View File

@@ -1,16 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<None Update="input.ldif">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<OutputType>Exe</OutputType>
<PublishSingleFile>true</PublishSingleFile>
<SelfContained>true</SelfContained>
<DebugType>embedded</DebugType>
</PropertyGroup>
<ItemGroup>
<None Update="input.ldif">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>

1031
LDIFTools/Program.cs Executable file → Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,18 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
<PropertyGroup>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<PublishDir>bin\Release\net7.0\publish\osx-arm64\</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<_TargetId>Folder</_TargetId>
<TargetFramework>net7.0</TargetFramework>
<RuntimeIdentifier>osx-arm64</RuntimeIdentifier>
<SelfContained>true</SelfContained>
<PublishSingleFile>true</PublishSingleFile>
<PublishTrimmed>true</PublishTrimmed>
</PropertyGroup>
</Project>

View File

@@ -1,19 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
<PropertyGroup>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<PublishDir>bin\Release\net7.0\publish\win-x64\</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<_TargetId>Folder</_TargetId>
<TargetFramework>net7.0</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<SelfContained>true</SelfContained>
<PublishSingleFile>true</PublishSingleFile>
<PublishReadyToRun>true</PublishReadyToRun>
<PublishTrimmed>true</PublishTrimmed>
</PropertyGroup>
</Project>

View File

@@ -1,8 +1,8 @@
{
"profiles": {
"LDIFTools": {
"commandName": "Project",
"commandLineArgs": "-s -xd -vc -i input.ldif -c -o output.ldif -k CN=__TENANTS,CN=__GLOBAL -k OU=TENANTS,OU=CloudLDAP"
}
}
{
"profiles": {
"LDIFTools": {
"commandName": "Project",
"commandLineArgs": "-s -xd -vc -i input.ldif -c -o output.ldif -k CN=__TENANTS,CN=__GLOBAL -k OU=TENANTS,OU=CloudLDAP"
}
}
}

104560
LDIFTools/input.ldif Executable file → Normal file

File diff suppressed because it is too large Load Diff

2
publish.cmd Executable file
View File

@@ -0,0 +1,2 @@
dotnet publish --configuration Release --runtime osx-x64
dotnet publish --configuration Release --runtime win-x64