Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft.ML.OnnxRuntime.DirectML causes VS 2022 project to have empty project properties list #20574

Open
llfab opened this issue May 6, 2024 · 2 comments · May be fixed by #22145
Open

Microsoft.ML.OnnxRuntime.DirectML causes VS 2022 project to have empty project properties list #20574

llfab opened this issue May 6, 2024 · 2 comments · May be fixed by #22145
Labels
ep:DML issues related to the DirectML execution provider platform:windows issues related to the Windows platform stale issues that have not been addressed in a while; categorized by a bot

Comments

@llfab
Copy link

llfab commented May 6, 2024

Describe the issue

Once above nuget package is added VS 2022 lists an empty "Properties" list for the VS project such that a VS extension cannot access specific properties of the project

To reproduce

  • Create an Exe project in VS 2022 e.g. console application with .net 8 C#
  • Add nuget reference to Microsoft.ML.OnnxRuntime.DirectML (latest)
  • Run any VS extension and debug through the project Properties => empty list

Urgency

No response

Platform

Windows

OS Version

Windows 11

ONNX Runtime Installation

Released Package

ONNX Runtime Version or Commit ID

1.17.3

ONNX Runtime API

C#

Architecture

X64

Execution Provider

DirectML

Execution Provider Library Version

No response

@github-actions github-actions bot added ep:DML issues related to the DirectML execution provider platform:windows issues related to the Windows platform labels May 6, 2024
Copy link
Contributor

github-actions bot commented Jun 5, 2024

This issue has been automatically marked as stale due to inactivity and will be closed in 30 days if no further activity occurs. If further support is needed, please provide an update and/or more details.

@github-actions github-actions bot added the stale issues that have not been addressed in a while; categorized by a bot label Jun 5, 2024
@grokys
Copy link

grokys commented Sep 18, 2024

Looks like this issue:

dotnet/project-system#8418

The <PropertyPageSchema> indeed does not include a <Context>Project</Context>:

<PropertyPageSchema Include="$(MSBuildThisFileDirectory)\Microsoft.AI.MachineLearning.Rules.Project.xml"/>

<PropertyPageSchema Include="$(MSBuildThisFileDirectory)\Microsoft.AI.MachineLearning.Rules.Project.xml"/>

Causing the properties to fail with "SynthesizedEmpty":

image

@nlessmann-stryker nlessmann-stryker linked a pull request Sep 19, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ep:DML issues related to the DirectML execution provider platform:windows issues related to the Windows platform stale issues that have not been addressed in a while; categorized by a bot
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants