-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
buildbuild issues; typically submitted using templatebuild issues; typically submitted using templateep:DMLissues related to the DirectML execution providerissues related to the DirectML execution provider
Description
Description
I would like to try to use the new Microsoft.AI.MachineLearning NuGet (1.6.0) but I am experiencing the following build error when I add the NuGet to my UWP project. I don't have this problem with the previous version (1.5.2).
Build configuration: Debug | x64
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VisualStudio\v16.0\AppxPackage\Microsoft.AppXPackage.Targets(6140,5): error APPX1111: Payload contains two or more files with the same destination path 'Microsoft.AI.MachineLearning.dll', but they are different sizes. Source files:
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VisualStudio\v16.0\AppxPackage\Microsoft.AppXPackage.Targets(6140,5): error APPX1111: C:\Users\hig\.nuget\packages\microsoft.ai.machinelearning\1.6.0\build\uap\..\..\runtimes\win-x64\uap\Microsoft.AI.MachineLearning.dll
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VisualStudio\v16.0\AppxPackage\Microsoft.AppXPackage.Targets(6140,5): error APPX1111: C:\Users\hig\.nuget\packages\microsoft.ai.machinelearning\1.6.0\runtimes\win-x64\native\static\microsoft.ai.machinelearning.dll
The target of my app is Build 19041 and the min version is Build 18362 and I am using the latest Visual Studio 16.8.3.
Urgency
I would like to test the new version in order to close #5389.
System information
- OS Platform and Distribution: Windows 10 x64 (20H2) (Build 19042)
- ONNX Runtime installed from (source or binary): NuGet
- ONNX Runtime version: 1.6.0
- Visual Studio version: 16.8.3
To Reproduce
- Create a UWP project that targets Build 19041
- Add Microsoft.AI.MachineLearning NuGet (1.6.0)
- Build for Debug | x64
Expected behavior
The build runs without errors.
Metadata
Metadata
Assignees
Labels
buildbuild issues; typically submitted using templatebuild issues; typically submitted using templateep:DMLissues related to the DirectML execution providerissues related to the DirectML execution provider