Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

383
Views
MongoDb.Driver 2.14.1 "Se incluyeron elementos de 'Contenido' duplicados" al usar MongoDb.Bson en un proyecto compartido (.Net SDK 6.0.101)

Configuración del proyecto con mongodb NuGets:

  • Proyecto backend con MongoDb.Driver y MongoDb.Driver.Core
  • Proyecto compartido con Mongodb.Bson (¡al que se hace referencia en el backend!)

Recibo el siguiente error de compilación después de actualizar nugets de 2.13.3 a 2.14.1 :

 Microsoft.NET.Sdk.DefaultItems.Shared.targets(213, 5):[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\**\.nuget\packages\mongodb.driver.core\2.14.1\build\..\runtimes\win\native\libzstd.dll' 'C:\Users\**\.nuget\packages\mongodb.driver.core\2.14.1\build\..\runtimes\win\native\snappy32.dll' 'C:\Users\**\.nuget\packages\mongodb.driver.core\2.14.1\build\..\runtimes\win\native\snappy64.dll' 'C:\Users\**\.nuget\packages\mongodb.driver.core\2.14.1\build\..\runtimes\linux\native\libsnappy64.so' 'C:\Users\**\.nuget\packages\mongodb.driver.core\2.14.1\build\..\runtimes\linux\native\libzstd.so' 'C:\Users\**\.nuget\packages\mongodb.driver.core\2.14.1\build\..\runtimes\osx\native\libsnappy64.dylib' 'C:\Users\**\.nuget\packages\mongodb.driver.core\2.14.1\build\..\runtimes\osx\native\libzstd.dylib'

Revertir a 2.13.3 resuelve el problema. ¿Es esto un error, o alguien tiene una idea de lo que está mal aquí?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!