microsoftgraph / microsoftgraph/microsoft-graph-comms-samples

Can't run the sample how to solve it?

Open
#116 1 comment 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

  • Severity Code Description Project File Line Column Suppression State
    Error CS0006 Metadata file 'C:\microsoft-graph-comms-samples-master (6)\microsoft-graph-comms-samples-master\Samples\Common\Sample.Common\bin\Debug\net461\Sample.Common.dll' could not be found IncidentBot C:\microsoft-graph-comms-samples-master (6)\microsoft-graph-comms-samples-master\Samples\BetaSamples\RemoteMediaSamples\IncidentBot\CSC 1 1 Active

  • Severity Code Description Project File Line Column Suppression State
    Error NETSDK1004 Assets file 'C:\microsoft-graph-comms-samples-master (6)\microsoft-graph-comms-samples-master\Samples\Common\Sample.Common\obj\project.assets.json' not found. Run a NuGet package restore to generate this file. Sample.Common C:\Program Files\dotnet\sdk\2.1.509\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets 198 5

  • Severity Code Description Project File Line Column Suppression State
    Error NETSDK1004 Assets file 'C:\microsoft-graph-comms-samples-master (6)\microsoft-graph-comms-samples-master\Samples\Common\Sample.Common\obj\project.assets.json' not found. Run a NuGet package restore to generate this file. Sample.Common C:\Program Files\dotnet\sdk\2.1.509\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets 198 5

Can anyone help me with this?

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 with Samples/Common/Sample.Common and the reported NETSDK1004 errors for the missing project.assets.json file. Check the NuGet restore and build flow for Sample.Common, then rebuild Samples/BetaSamples/RemoteMediaSamples/IncidentBot. Done means the assets file is generated and the missing Sample.Common.dll and related build errors no longer occur.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system
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.