Skip to content

thom0707/kiota-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. Create netstandard2.0 class library: dotnet new classlib --framework "netstandard2.0" -o KiotaTest
  2. Set LangVersion to 7.3 in the csproj file.
  3. Add Kiota dependencies:
dotnet add package Microsoft.Kiota.Abstractions
dotnet add package Microsoft.Kiota.Http.HttpClientLibrary
dotnet add package Microsoft.Kiota.Serialization.Form
dotnet add package Microsoft.Kiota.Serialization.Json
dotnet add package Microsoft.Kiota.Serialization.Text
dotnet add package Microsoft.Kiota.Serialization.Multipart
  1. Add file events-api.yml.
  2. Generate API client. kiota generate -l CSharp -c EventsClient -n KiotaEvents.Client -d ./events-api.yml -o ./Client --clean-output
  3. Build.

Build Output:
[...]KiotaTest\Client\Events\EventsRequestBuilder.cs(20,88): error CS0246: The type or namespace name 'DateOnly' could not be found (are you missing a using directive or an assembly reference?) [...]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages