Azure Pipelines DotNetCoreCLI error for not finding the file

46 Views Asked by At

I am following a youtube tutorial and so far everything was great, tutorial uses Visual studio and I am using vs code

I am totally new to this and this is my first project. I've tried ms build, entering URL, but nothing works

Repository

trigger:
- master

pool: MyComputerAgent

variables:
  solution: '**/*.sln'
  buildPlatform: 'Any CPU'
  buildConfiguration: 'Release'

steps:
- task: NuGetToolInstaller@1
- task: NuGetCommand@2
  inputs:
    restoreSolution: '$(solution)'
  
- task: UseDotNet@2
  inputs:
    packageType: 'sdk'
    version: '7.0.400'  # Specify the .NET 7 SDK version

- task: DotNetCoreCLI@2
  displayName: Build
  inputs:
    command: build
    projects: '**/*.csproj'
    arguments: '--configuration $(buildConfiguration)' 
0

There are 0 best solutions below