RetailSolutions.Shared.Core 1.2.106

dotnet add package RetailSolutions.Shared.Core --version 1.2.106
                    
NuGet\Install-Package RetailSolutions.Shared.Core -Version 1.2.106
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RetailSolutions.Shared.Core" Version="1.2.106" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RetailSolutions.Shared.Core" Version="1.2.106" />
                    
Directory.Packages.props
<PackageReference Include="RetailSolutions.Shared.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add RetailSolutions.Shared.Core --version 1.2.106
                    
#r "nuget: RetailSolutions.Shared.Core, 1.2.106"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package RetailSolutions.Shared.Core@1.2.106
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=RetailSolutions.Shared.Core&version=1.2.106
                    
Install as a Cake Addin
#tool nuget:?package=RetailSolutions.Shared.Core&version=1.2.106
                    
Install as a Cake Tool

RetailSolutions.Shared.Core

Biblioteca compartilhada de utilitários e constantes para projetos Retail Solutions.

Descrição

Esta biblioteca fornece utilitários e funcionalidades compartilhadas para projetos da família Retail Solutions, incluindo suporte para carregamento de variáveis de ambiente a partir de arquivos .env.

Requisitos

  • .NET 10.0 ou superior

Instalação

Via NuGet

dotnet add package RetailSolutions.Shared.Core --version 1.0.0

Via Package Manager

Install-Package RetailSolutions.Shared.Core -Version 1.0.0

Uso

DotEnv

A classe DotEnv permite carregar variáveis de ambiente a partir de arquivos .env:

using RetailSolutions.Shared.Core;

// Carregar arquivo .env do diretório atual
DotEnv.Load();

// Ou especificar um caminho específico
DotEnv.Load("/caminho/para/.env");

Comportamento:

  • Em ambiente de desenvolvimento, busca o arquivo .env nos diretórios pais até encontrá-lo
  • Em produção, busca apenas no diretório atual
  • As variáveis são carregadas no Environment do .NET

Build

Para compilar o projeto:

dotnet build

Para criar um pacote NuGet:

dotnet pack

Informações do Pacote

  • Package ID: RetailSolutions.Shared.Core
  • Versão: 1.0.0
  • Autor: Renato Campos
  • Empresa: Retail Solutions
  • Tags: Gemco, RetailSolutions, Core, Utilities

Licença

Este projeto é propriedade da Retail Solutions.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2.106 89 4/30/2026
1.2.91 663 12/13/2025
1.2.74 138 12/12/2025
1.2.71 148 12/12/2025