Kajri

Kajri

  • 1.1k
  • 611
  • 384

Net80 dotnet-nswag.dll Nswagexe.Msbuild giving error in net core 8.0

May 30 2024 6:20 AM

I am upgrading the web API from framework Net7.0 to Net 8.0, 

While upgrading i am getting the build error in my local as well as in CI pipeline build. 

My Debug.nswag is as below

and in Client.csproj

  <Target Name="GenerateClient" AfterTargets="CoreCompile">
    <Exec Command="$(NSwagExe_Net80) run mdm-source-system.$(ConfigurationName).nswag /variables:Configuration=$(ConfigurationName)" />
  </Target>
</Project>

I am getting error while building 


Answers (2)