mirror of
https://github.com/Grace-Solutions/PSMinIO.git
synced 2026-08-10 21:06:58 +00:00
357c9a6437
- Updated MinIO SDK from 3.1.13 to 5.0.0 - Fixed all compilation errors and warnings for MinIO 5.0.0 compatibility - Updated API calls to use new Args-based patterns (PutObjectArgs, GetObjectArgs, etc.) - Fixed type compatibility issues (DateTime, ulong conversions) - Removed deprecated APIs (WithCancellation, ProgressReport) - Updated System.Text.Json to 9.0.0 to resolve security vulnerabilities - Added Module directory to repository with built PSMinIO.dll - Module is now ready for distribution and testing - All builds pass with 0 errors and 0 warnings
63 lines
2.2 KiB
XML
63 lines
2.2 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 />
|
|
</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="5.0.0" />
|
|
<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>
|