I am running into this error:
Error NETSDK1022: Duplicate 'Content' items were included. The .NET SDK includes 'Content' items from your project directory by default. You can either remove these items from your project file, or set the 'EnableDefaultContentItems' property to 'false' if you want to explicitly include them in your project file. For more information, see https://aka.ms/sdkimplicititems. The duplicate items were: 'C:\Users......\microsoft.cloud.instrumentationframework.vc14\3.1.6.86\build\native\lib\concrt140.dll';
Adding the EnableDefaultContentItems tag makes the build successful, but many of the important project files go missing in the final artifact.
(Edit: The important files include the xARM, x64, x86 folders which have the sdk binaries.)
I have referred multiple articles on internet related to this, but all of those were facing issues related to wwwroot folder.
For example: Duplicate 'Content' items were included. The .NET SDK includes 'Content' items from your project directory by default
Issue I am facing is with the microsoft sdk library files. Any help would be appreciated.