microsoftgraph / microsoftgraph/microsoft-graph-comms-samples

Error in AppHost.cs

Open
#553 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
253
Forks
275
Avg merge
1d 5h
Merged PRs (30d)
1

Description

We are receiving an error as below
Severity Code Description Project File Line Suppression State
Error CS1503 Argument 2: cannot convert from 'Microsoft.Extensions.Configuration.IConfigurationRoot' to 'RecordingBot.Services.IConfig' RecordingBot.Services C:\repos\teams-recording-bot\src\RecordingBot.Services\ServiceSetup\AppHost.cs 90 Active
Please help with your suggestions.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by opening src/RecordingBot.Services/ServiceSetup/AppHost.cs at line 90 and inspect the arguments involved in the CS1503 error. Build the RecordingBot.Services project to reproduce it, then determine what change is needed for IConfigurationRoot and RecordingBot.Services.IConfig to be accepted together; done means the project builds without this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.