Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions Pipelines/bld.rel.CodeCore.ODataClient.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: rel.OBB.Backend-$(date:yyyyMMdd)$(rev:.rr)
name: rel.CodeCore.ODataClient-$(date:yyyyMMdd)$(rev:.rr)

trigger:
branches:
Expand Down Expand Up @@ -38,15 +38,15 @@ steps:
BuildVersion: $(GitVersion.SemVer)

- task: DotNetCoreInstaller@2
displayName: 'Use .NET Core sdk $(DotNetCoreSdkVersion)'
displayName: 'Use .NET Core sdk'
inputs:
version: 2.x
includePreviewVersions: true

- task: NuGetToolInstaller@0
displayName: 'Use NuGet 4.x'
inputs:
versionSpec: 4.x
versionSpec: 5.x
checkLatest: true

- task: NuGetCommand@2
Expand All @@ -65,6 +65,8 @@ steps:
msbuildArchitecture: x64

- task: NuGetCommand@2
displayName: 'NuGet pack'
condition: and(succeeded(), or(startsWith(variables['Build.SourceBranch'], 'refs/heads/fix/'),startsWith(variables['Build.SourceBranch'], 'refs/heads/bug/')))
inputs:
command: pack
packagesToPack: '**/*.csproj'
Expand Down
4 changes: 2 additions & 2 deletions Source/CodeCore.Configuration/CodeCore.Configuration.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>netstandard2.1</TargetFramework>
<LangVersion>latest</LangVersion>
<AssemblyVersion>0.1.0.0</AssemblyVersion>
<FileVersion>0.1.0.0</FileVersion>
Expand All @@ -14,7 +14,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Windows.Compatibility" Version="2.1.1" />
<PackageReference Include="Microsoft.Windows.Compatibility" Version="3.1.0" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>netstandard2.1</TargetFramework>
<LangVersion>latest</LangVersion>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.OData.Edm" Version="7.6.0" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
<PackageReference Include="Microsoft.OData.Edm" Version="7.6.3" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
</ItemGroup>

</Project>
1 change: 1 addition & 0 deletions Source/CodeCore.ODataClient.Abstract/ProxyGeneratorBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public abstract class ProxyGeneratorBase
public void Initialize(string uri)
{
// Reset the generator

EdmModel = null;
StringBuilder.Length = 0;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<LangVersion>latest</LangVersion>
<ApplicationIcon />
<OutputType>Exe</OutputType>

<PackAsTool>true</PackAsTool>
<ToolCommandName>codecore.odataclient.dotnet</ToolCommandName>
<Version>0.0.0</Version>
<PackageProjectUrl>https://github.com/NetTecture/CodeCore.ODataClient</PackageProjectUrl>
<RepositoryUrl></RepositoryUrl>

</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.OData.Edm" Version="7.6.3" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="System.CodeDom" Version="4.7.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\CodeCore.ODataClient.Abstract\CodeCore.ODataClient.Abstract.csproj" />
</ItemGroup>

</Project>
15 changes: 15 additions & 0 deletions Source/CodeCore.ODataClient.DotNet/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Text;
using CodeCore.ODataClient.Abstract;

namespace CodeCore.ODataClient.DotNet
{
class Program
{
static void Main(string[] args)
{
ProgramAbstract<ProxyGenerator>.RealMain(args);
}
}
}
Loading