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

Fix C# pipeline build error #10524

Merged
merged 1 commit into from
Feb 11, 2022
Merged

Conversation

skottmckay
Copy link
Contributor

Description:
Can't use internal types in the external E2E test project. Throw standard C# exception instead.
Issue was introduced in #10428

Pipeline errors:

D:\a\_work\1\s\csharp\test\Microsoft.ML.OnnxRuntime.Tests.Common\TestDataLoader.cs(59,48): error CS0122: 'ErrorCode' is inaccessible due to its protection level [D:\a\_work\1\s\csharp\test\Microsoft.ML.OnnxRuntime.EndToEndTests\Microsoft.ML.OnnxRuntime.EndToEndTests.csproj]
D:\a\_work\1\s\csharp\test\Microsoft.ML.OnnxRuntime.Tests.Common\TestDataLoader.cs(59,27): error CS1729: 'OnnxRuntimeException' does not contain a constructor that takes 2 arguments [D:\a\_work\1\s\csharp\test\Microsoft.ML.OnnxRuntime.EndToEndTests\Microsoft.ML.OnnxRuntime.EndToEndTests.csproj]

Motivation and Context
Fix pipeline build error.

@snnn snnn merged commit 318d31e into master Feb 11, 2022
@snnn snnn deleted the skottmckay/FixCSharpE2ETestBuildError branch February 11, 2022 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants