|
1 |
| -<Project Sdk="Microsoft.NET.Sdk"> |
2 |
| - |
3 |
| - <PropertyGroup> |
4 |
| - <PackageId>OpenFeature.Contrib.Providers.Flipt</PackageId> |
5 |
| - <VersionNumber>0.1.0</VersionNumber> <!--x-release-please-version --> |
6 |
| - <VersionPrefix>$(VersionNumber)</VersionPrefix> |
7 |
| - <AssemblyVersion>$(VersionNumber)</AssemblyVersion> |
8 |
| - <FileVersion>$(VersionNumber)</FileVersion> |
9 |
| - <Description>Flipt provider for .NET</Description> |
10 |
| - <Authors>Jean Andrei de la Cruz Austria</Authors> |
11 |
| - </PropertyGroup> |
12 |
| - |
13 |
| - <ItemGroup> |
14 |
| - <!-- make the internal methods visble to our test project --> |
15 |
| - <AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo"> |
16 |
| - <_Parameter1>$(MSBuildProjectName).Test</_Parameter1> |
17 |
| - </AssemblyAttribute> |
18 |
| - </ItemGroup> |
19 |
| - |
20 |
| - <ItemGroup Condition=" '$(TargetFramework)' == 'net462' or '$(TargetFramework)' == 'netstandard2.0'"> |
21 |
| - <PackageReference Include="System.Net.Http" Version="4.3.4"/> |
22 |
| - </ItemGroup> |
23 |
| - |
24 |
| - <ItemGroup> |
25 |
| - <PackageReference Include="NSwag.MSBuild" Version="14.1.0"> |
26 |
| - <PrivateAssets>all</PrivateAssets> |
27 |
| - <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
28 |
| - </PackageReference> |
29 |
| - <PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0"/> |
30 |
| - <Compile Include="$(ProjectDir)obj/$(ConfigurationName)/$(TargetFramework)/Flipt.Rest.Client.cs"/> |
31 |
| - <PackageReference Include="System.Text.Json" Version="8.0.5"/> |
32 |
| - </ItemGroup> |
33 |
| - |
34 |
| - <PropertyGroup> |
35 |
| - <LangVersion>latest</LangVersion> |
36 |
| - </PropertyGroup> |
37 |
| - |
38 |
| - <Target Name="NSwag" BeforeTargets="BeforeBuild"> |
39 |
| - <Exec Command="$(NSwagExe_Net80) openapi2csclient /className:FliptRestClient /namespace:Flipt.Rest /input:"openapi.yaml" /output:"$(ProjectDir)obj/$(ConfigurationName)/$(TargetFramework)/Flipt.Rest.Client.cs" /GenerateExceptionClasses:true /OperationGenerationMode:SingleClientFromPathSegments /JsonLibrary:SystemTextJson /GenerateOptionalParameters:true /GenerateDefaultValues:true /GenerateResponseClasses:true /GenerateClientInterfaces:true /GenerateClientClasses:true /GenerateDtoTypes:true /ExceptionClass:FliptRestException /GenerateNativeRecords:true /UseBaseUrl:false /GenerateBaseUrlProperty:false"/> |
40 |
| - </Target> |
41 |
| -</Project> |
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + |
| 3 | + <PropertyGroup> |
| 4 | + <PackageId>OpenFeature.Contrib.Providers.Flipt</PackageId> |
| 5 | + <VersionNumber>0.0.2</VersionNumber> <!--x-release-please-version --> |
| 6 | + <VersionPrefix>$(VersionNumber)</VersionPrefix> |
| 7 | + <AssemblyVersion>$(VersionNumber)</AssemblyVersion> |
| 8 | + <FileVersion>$(VersionNumber)</FileVersion> |
| 9 | + <Description>Flipt provider for .NET</Description> |
| 10 | + <Authors>Jean Andrei de la Cruz Austria</Authors> |
| 11 | + </PropertyGroup> |
| 12 | + |
| 13 | + <ItemGroup> |
| 14 | + <!-- make the internal methods visble to our test project --> |
| 15 | + <AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo"> |
| 16 | + <_Parameter1>$(MSBuildProjectName).Test</_Parameter1> |
| 17 | + </AssemblyAttribute> |
| 18 | + </ItemGroup> |
| 19 | + |
| 20 | + <ItemGroup Condition=" '$(TargetFramework)' == 'net462' or '$(TargetFramework)' == 'netstandard2.0'"> |
| 21 | + <PackageReference Include="System.Net.Http" Version="4.3.4"/> |
| 22 | + </ItemGroup> |
| 23 | + |
| 24 | + <ItemGroup> |
| 25 | + <PackageReference Include="NSwag.MSBuild" Version="14.1.0"> |
| 26 | + <PrivateAssets>all</PrivateAssets> |
| 27 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
| 28 | + </PackageReference> |
| 29 | + <PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0"/> |
| 30 | + <Compile Include="$(ProjectDir)obj/$(ConfigurationName)/$(TargetFramework)/Flipt.Rest.Client.cs"/> |
| 31 | + <PackageReference Include="System.Text.Json" Version="8.0.5"/> |
| 32 | + </ItemGroup> |
| 33 | + |
| 34 | + <PropertyGroup> |
| 35 | + <LangVersion>latest</LangVersion> |
| 36 | + </PropertyGroup> |
| 37 | + |
| 38 | + <Target Name="NSwag" BeforeTargets="BeforeBuild"> |
| 39 | + <Exec Command="$(NSwagExe_Net80) openapi2csclient /className:FliptRestClient /namespace:Flipt.Rest /input:"openapi.yaml" /output:"$(ProjectDir)obj/$(ConfigurationName)/$(TargetFramework)/Flipt.Rest.Client.cs" /GenerateExceptionClasses:true /OperationGenerationMode:SingleClientFromPathSegments /JsonLibrary:SystemTextJson /GenerateOptionalParameters:true /GenerateDefaultValues:true /GenerateResponseClasses:true /GenerateClientInterfaces:true /GenerateClientClasses:true /GenerateDtoTypes:true /ExceptionClass:FliptRestException /GenerateNativeRecords:true /UseBaseUrl:false /GenerateBaseUrlProperty:false"/> |
| 40 | + </Target> |
| 41 | +</Project> |
0 commit comments