[Build][Nuget] Microsoft.AI.MachineLearning.dll
is not copied to the output folder.
#22939
Labels
api:CSharp
issues related to the C# API
build
build issues; typically submitted using template
.NET
Pull requests that update .net code
Describe the issue
Microsoft.AI.MachineLearning.dll
is not copied to the output folder when compiling native C++/WinRT projects.Nuget package version
1.20.1
.Urgency
No response
Target platform
Windows x64
Build script
There is no custom one. Only Nuget's
.props/.targets
are involved.Error / output
The condition in
csharp/src/Microsoft.AI.MachineLearning/Microsoft.AI.MachineLearning.targets, line 35
seems to be broken since1.16.0
:<ItemGroup Condition="'$(NuGetProjectStyle)' != 'PackageReference' AND WinAppSDKPackageName == ''">
Shouldn't the WinAppSDKPackageName be an MSBuild variable?
Also, the
Microsoft.AI.MachineLearning NuGet Settings
rule never pops up in the project settings UI, but this is probably unrelated.Visual Studio Version
17.9.6
GCC / Compiler Version
No response
The text was updated successfully, but these errors were encountered: