|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 |
|
3 | 3 | <PropertyGroup> |
4 | | - <TargetFramework>net8.0</TargetFramework> |
| 4 | + <TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks> |
5 | 5 | <Nullable>enable</Nullable> |
6 | 6 | <ImplicitUsings>enable</ImplicitUsings> |
7 | 7 | <RootNamespace>EnvironmentConfigurator</RootNamespace> |
|
11 | 11 |
|
12 | 12 | <PropertyGroup> |
13 | 13 | <PackageId>EnvironmentConfigurator</PackageId> |
14 | | - <Version>1.0.5</Version> |
| 14 | + <Version>1.1.0</Version> |
15 | 15 | <Authors>sametbrr</Authors> |
16 | 16 | <Description>Environment-aware configuration for ASP.NET Core. Adds appsettings.{Environment}.json loading via a single builder call and auto-scaffolds publish profiles, web.config and per-environment appsettings into the consuming project on first build.</Description> |
17 | | - <PackageTags>aspnetcore;configuration;environment;appsettings;webdeploy;publish;dotnet8;iis;web.config;scaffolding;pubxml;launchsettings;dotnet</PackageTags> |
| 17 | + <PackageTags>aspnetcore;configuration;environment;appsettings;webdeploy;publish;dotnet8;dotnet9;dotnet10;iis;web.config;scaffolding;pubxml;launchsettings;dotnet</PackageTags> |
18 | 18 | <PackageLicenseExpression>MIT</PackageLicenseExpression> |
19 | 19 | <PackageReadmeFile>README.md</PackageReadmeFile> |
20 | 20 | <RepositoryUrl>https://github.com/sametbrr/EnvironmentConfigurator</RepositoryUrl> |
21 | 21 | <RepositoryType>git</RepositoryType> |
22 | 22 | <PackageProjectUrl>https://github.com/sametbrr/EnvironmentConfigurator</PackageProjectUrl> |
23 | 23 | </PropertyGroup> |
24 | 24 |
|
25 | | - <ItemGroup> |
| 25 | + <ItemGroup Condition="'$(TargetFramework)' == 'net8.0'"> |
26 | 26 | <PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="8.0.0" /> |
27 | 27 | <PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" /> |
28 | 28 | <PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="8.0.0" /> |
29 | 29 | </ItemGroup> |
30 | 30 |
|
| 31 | + <ItemGroup Condition="'$(TargetFramework)' == 'net9.0'"> |
| 32 | + <PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="9.0.0" /> |
| 33 | + <PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="9.0.0" /> |
| 34 | + <PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="9.0.0" /> |
| 35 | + </ItemGroup> |
| 36 | + |
| 37 | + <ItemGroup Condition="'$(TargetFramework)' == 'net10.0'"> |
| 38 | + <PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="10.0.0" /> |
| 39 | + <PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="10.0.0" /> |
| 40 | + <PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="10.0.0" /> |
| 41 | + </ItemGroup> |
| 42 | + |
31 | 43 | <!-- Package payload: build target + scaffold templates --> |
32 | 44 | <ItemGroup> |
33 | 45 | <None Include="build/EnvironmentConfigurator.targets" Pack="true" PackagePath="build/" /> |
|
0 commit comments