mirror of
https://github.com/Grace-Solutions/PSMinIO.git
synced 2026-08-07 11:43:11 +00:00
51cd2d4133
- Added only essential dependencies: Minio.dll (440KB) - Updated PSMinIO.dll and PSMinIO.pdb with latest build - Fixed PSMinIO.Types.ps1xml formatting issues (corrected <n> tags to <Name>) - Removed unnecessary PSMinIO.psd1 from bin directory - Added CopyLocalLockFileAssemblies=true for dependency resolution - Module now loads cleanly with minimal footprint (~952KB total) - Verified all cmdlets work correctly (Connect-MinIO tested)
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="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>
|