Skip to content

Commit 803074c

Browse files
Add target framework net 6 for fluent metadata (#14)
* Add target framework net 6 for fluent metadata and upgrade OpenRiaServices to 5.1.2 * Update azure-pipelines.yml * add back nuget and dotnet sdk * Use nuget 6.3.1 Co-authored-by: Daniel Svensson <daniel.svensson@hotmail.se>
1 parent cbea6d6 commit 803074c

4 files changed

Lines changed: 16 additions & 8 deletions

File tree

FluentMetadata.Tests/FluentMetadata.Tests.Web/FluentMetadata.Tests.Web.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@
7676
</ItemGroup>
7777
<ItemGroup>
7878
<PackageReference Include="OpenRiaServices.Hosting.Wcf">
79-
<Version>5.0.0</Version>
79+
<Version>5.1.2</Version>
8080
</PackageReference>
8181
<PackageReference Include="OpenRiaServices.Server">
82-
<Version>5.0.0</Version>
82+
<Version>5.1.2</Version>
8383
</PackageReference>
8484
</ItemGroup>
8585
<ItemGroup>

FluentMetadata.Tests/FluentMetadata.Tests/FluentMetadata.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.1.1" />
1212
<PackageReference Include="MSTest.TestAdapter" Version="1.4.0" />
1313
<PackageReference Include="MSTest.TestFramework" Version="1.4.0" />
14-
<PackageReference Include="OpenRiaServices.Client.Core" Version="5.0.0" />
15-
<PackageReference Include="OpenRiaServices.Client.CodeGen" Version="5.0.0">
14+
<PackageReference Include="OpenRiaServices.Client.Core" Version="5.1.2" />
15+
<PackageReference Include="OpenRiaServices.Client.CodeGen" Version="5.1.2">
1616
<PrivateAssets>all</PrivateAssets>
1717
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1818
</PackageReference>

FluentMetadata/OpenRiaServices.Server.FluentMetadata.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net472</TargetFrameworks>
4+
<TargetFrameworks>net472;net6.0</TargetFrameworks>
55
<Description>library that provides a fluent configuration interface for configuring domain services.</Description>
66
<PackageId>OpenRiaServices.FluentMetadata</PackageId>
77
<GeneratePackageOnBuild Condition="'$(BUILD_BUILDID)' != ''">true</GeneratePackageOnBuild>
@@ -12,7 +12,7 @@
1212
</ItemGroup>
1313

1414
<ItemGroup>
15-
<PackageReference Include="OpenRiaServices.Server" Version="5.0.0" />
15+
<PackageReference Include="OpenRiaServices.Server" Version="5.1.2" />
1616
</ItemGroup>
1717

1818
</Project>

azure-pipelines.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# .NET Desktop
22
# Build and run tests for .NET Desktop or Windows classic desktop solutions.
3-
# Add steps that publish symbols, save build artifacts, and more:
43
# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net
54

65
trigger:
@@ -25,6 +24,15 @@ steps:
2524
inputs:
2625
versionSpec: '5.x'
2726

27+
- task: NuGetToolInstaller@1
28+
inputs:
29+
versionSpec: '6.3.1'
30+
31+
- task: UseDotNet@2
32+
inputs:
33+
packageType: 'sdk'
34+
version: '6.x'
35+
2836
- task: gitversion/execute@0
2937
displayName: Use GitVersion
3038

@@ -75,4 +83,4 @@ steps:
7583

7684
- task: SonarCloudPublish@1
7785
inputs:
78-
pollingTimeoutSec: '300'
86+
pollingTimeoutSec: '300'

0 commit comments

Comments
 (0)