Bonjour à tous

Je viens vers vous parce que nous utilisons le framework OpenXML SDK dans notre application mais d'une vieille version. Nous souhaiterons profiter de la mettre à jour en passant par nuget cette fois ci. Le projet qui l'utilise est en C++/CLI (la surcouche C++ de microsoft).

Lorsque j'essaye d'installer le framework via nuget pour notre projet cela me met une erreur*:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
 
Attempting to gather dependency information for package 'DocumentFormat.OpenXml.2.11.3' with respect to project 'myproj', targeting 'native,Version=v0.0'
Gathering dependency information took 594 ms
Attempting to resolve dependencies for package 'DocumentFormat.OpenXml.2.11.3' with DependencyBehavior 'Lowest'
Resolving dependency information took 0 ms
Resolving actions to install package 'DocumentFormat.OpenXml.2.11.3'
Resolved actions to install package 'DocumentFormat.OpenXml.2.11.3'
Install failed. Rolling back...
Package 'DocumentFormat.OpenXml.2.11.3' does not exist in project 'myproj'
Package 'DocumentFormat.OpenXml.2.11.3' does not exist in folder 'E:\WS1\Dev\packages'
Executing nuget actions took 606 ms
Could not install package 'DocumentFormat.OpenXml 2.11.3'. You are trying to install this package into a project that targets 'native,Version=v0.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
Time Elapsed: 00:00:01.5437374
En revanche, dans un de nos projets C# l'installer fonctionne très bien. On dirait que le paquet nuget ne veut pas s'installer parce que le projet de destination n'est pas en C# lui même.

Avez vous une idée ?