mirror of
https://github.com/Grace-Solutions/PSMinIO.git
synced 2026-08-04 10:37:42 +00:00
2974ead76e
Key Achievements: - Downgraded to MinIO 4.0.7 for PowerShell compatibility (eliminated async/await issues) - Fixed file handle leaks in upload operations (using explicit FileStream management) - Implemented clean logging (timestamps without redundant prefixes) - Fixed automatic session variable management (Connect-MinIO stores, cmdlets retrieve) - Removed duplicate certificate parameters (kept only SkipCertificateValidation) - Fixed all 'Folder' alias conflicts across cmdlets - Added correct System.Runtime.CompilerServices.Unsafe.dll version (4.5.3) Working Features: - Connection management (automatic + explicit override) - Bucket operations (list, create, remove) - File upload/download (with proper handle release) - Progress tracking and speed reporting - Clean verbose logging with timestamps Known Issue: - Chunked operations have threading violations (PowerShell cmdlet methods called from background threads) - Regular operations work perfectly, chunked operations need threading architecture fix Test Results: - 3.71GB Windows install.wim file tested - Regular upload/download: Working - File handles: No leaks, immediate deletion possible - Session management: Automatic connection storage/retrieval - Chunked operations: Threading violations need fix
64 lines
2.3 KiB
XML
64 lines
2.3 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>netstandard2.0</TargetFramework>
|
|
<AssemblyName>PSMinIO</AssemblyName>
|
|
<RootNamespace>PSMinIO</RootNamespace>
|
|
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
|
|
<AssemblyTitle>PSMinIO PowerShell Module</AssemblyTitle>
|
|
<AssemblyDescription>A PowerShell module for MinIO object storage operations</AssemblyDescription>
|
|
<AssemblyCompany>PSMinIO</AssemblyCompany>
|
|
<AssemblyProduct>PSMinIO</AssemblyProduct>
|
|
<AssemblyCopyright>Copyright © 2025</AssemblyCopyright>
|
|
<AssemblyVersion>2025.07.10.1200</AssemblyVersion>
|
|
<FileVersion>2025.07.10.1200</FileVersion>
|
|
<InformationalVersion>2025.07.10.1200</InformationalVersion>
|
|
<LangVersion>latest</LangVersion>
|
|
<Nullable>enable</Nullable>
|
|
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
|
<WarningsAsErrors />
|
|
<WarningsNotAsErrors />
|
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<DebugType>full</DebugType>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<DebugType>pdbonly</DebugType>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<Optimize>true</Optimize>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Minio" Version="4.0.7" />
|
|
<PackageReference Include="PowerShellStandard.Library" Version="5.1.1" />
|
|
<PackageReference Include="System.Text.Json" Version="9.0.0" />
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
<None Include="PSMinIO.psd1">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
<None Include="Module\PSMinIO\types\*.ps1xml">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
|
|
<Target Name="CopyModuleFiles" AfterTargets="Build">
|
|
<ItemGroup>
|
|
<ModuleFiles Include="$(OutputPath)\PSMinIO.dll" />
|
|
<ModuleFiles Include="$(OutputPath)\PSMinIO.pdb" />
|
|
<ModuleFiles Include="PSMinIO.psd1" />
|
|
</ItemGroup>
|
|
<Copy SourceFiles="@(ModuleFiles)" DestinationFolder="Module\PSMinIO\bin\" />
|
|
</Target>
|
|
|
|
</Project>
|