-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add custom vision C# SDK #4152
Add custom vision C# SDK #4152
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a few comments
:: | ||
|
||
@echo off | ||
call %~dp0..\..\..\..\..\..\..\tools\generate.cmd cognitiveservices/data-plane/CustomVision/Prediction %* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please create a generate.ps1
file similar to this and generate the code again
<PropertyGroup> | ||
<PackageId>Microsoft.Azure.CognitiveServices.Vision.CustomVision.Prediction</PackageId> | ||
<Description>This client library provides access to the Microsoft Cognitive Services CustomVision Prediction APIs.</Description> | ||
<VersionPrefix>1.0.0-preview</VersionPrefix> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We recommend starting versioning from 0.9.0-preview
<PropertyGroup> | ||
<Description>Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Tests Class Library</Description> | ||
<AssemblyName>Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Tests</AssemblyName> | ||
<VersionPrefix>1.0.2-preview</VersionPrefix> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test projects version should always be 1.0.0
since they are never published
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this item required?
:: | ||
|
||
@echo off | ||
call %~dp0..\..\..\..\..\..\..\tools\generate.cmd cognitiveservices/data-plane/CustomVision/Training %* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please create a generate.ps1
script similar to this and regenerate the code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Running the generate.ps1
command must create a .txt
file, please commit this file.
<PropertyGroup> | ||
<Description>Microsoft.Azure.CognitiveServices.Vision.CustomVision.Prediction.Tests Class Library</Description> | ||
<AssemblyName>Microsoft.Azure.CognitiveServices.Vision.CustomVision.Prediction.Tests</AssemblyName> | ||
<VersionPrefix>1.0.2-preview</VersionPrefix> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Preview package versioning must start with 0.9.0-preview
|
||
<PropertyGroup> | ||
<TargetFrameworks>net452;netstandard1.4</TargetFrameworks> | ||
<Version>1.0.0-preview</Version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the version number here
<PropertyGroup> | ||
<PackageId>Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training</PackageId> | ||
<Description>This client library provides access to the Microsoft Cognitive Services CustomVision Training APIs.</Description> | ||
<VersionPrefix>1.0.2-preview</VersionPrefix> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Preview package versioning must start from 0.9.0-preview
Add session recordings for tests
804a4ce
to
b5b62f7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Adding the generated C# Client SDK for Custom Vision.
Swagger PR: Azure/azure-rest-api-specs#2177
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
Testing Guidelines
SDK Generation Guidelines
*.csproj
andAssemblyInfo.cs
files have been updated with the new version of the SDK.