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