Namespace change for SpellCheck C# SDK#4219
Conversation
| <Description>This client library provides access to the Microsoft Cognitive Services SpellCheck API.</Description> | ||
| <VersionPrefix>1.2.0</VersionPrefix> | ||
| <AssemblyName>Microsoft.Azure.CognitiveServices.SpellCheck</AssemblyName> | ||
| <VersionPrefix>1.3.0-preview</VersionPrefix> |
There was a problem hiding this comment.
Changing namespace name is a breaking change. You might want to rev the major version number (2.0.0)
@shahabhijeet FYI
|
|
||
| [assembly: AssemblyVersion("1.0.0.0")] | ||
| [assembly: AssemblyFileVersion("1.2.0.0")] | ||
| [assembly: AssemblyFileVersion("1.3.0.0")] |
There was a problem hiding this comment.
Please update version numbers here too
| @@ -8,12 +8,12 @@ | |||
| [assembly: AssemblyDescription("Provides API functions for consuming the Microsoft Azure Cognitive Services SpellCheck API.")] | |||
|
|
|||
| [assembly: AssemblyVersion("1.0.0.0")] | |||
There was a problem hiding this comment.
In case of major version update, AssemblyVersion must also be updated. Apologize for the back and forth
dsgouda
left a comment
There was a problem hiding this comment.
- Please create a generate.ps1 file similar to this and regenerate the code
- Please run
msbuild build.proj /t:build /p:Scope=SDKs/CognitiveServices/dataPlane/Language/SpellCheck/BingSpellCheck
Please commit any artifacts generated by these commits.
| <AssemblyName>Microsoft.Azure.CognitiveServices.Language.SpellCheck</AssemblyName> | ||
| <PackageTags>Microsoft Cognitive Services;Cognitive Services;Cognitive Services SDK;SpellCheck API;REST HTTPclient;SpellCheckSDK;netcore451511</PackageTags> | ||
| <PackageReleaseNotes>This is a public release of the Cognitive Services SpellCheck SDK. Included with this release is support for SpellCheck API.</PackageReleaseNotes> | ||
| <PackageReleaseNotes>This is a preview release of the Cognitive Services SpellCheck SDK. Included with this release is support for SpellCheck API.</PackageReleaseNotes> |
There was a problem hiding this comment.
If this is a preview, the package should be versioned as 2.0.0-preview
There was a problem hiding this comment.
I updated the generate.cmd file in this directory. Does msbuild build.proj generate the files ? how I run this exactly ? where do i find msbuild and build.proj ?
|
@ashku-ms |
| @@ -0,0 +1 @@ | |||
| powershell.exe -ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile -File "..\..\..\..\..\..\..\tools\generateTool.ps1" -ResourceProvider "cognitiveservices\data-plane\SpellCheck" -PowershellInvoker -AutoRestVersion "latest" No newline at end of file | |||
There was a problem hiding this comment.
Replace this with
powershell.exe -ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile -File "..\..\..\..\..\..\..\tools\generateTool.ps1" -ResourceProvider "cognitiveservices/data-plane/SpellCheck/BingSpellCheck" -PowershellInvoker -AutoRestVersion "latest"
Description
Keeping in line with the standardization efforts, changing the namespace of C# SDK to the prescribed format Microsoft.Azure.CognitiveServices. The spec was reviewed here
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
Testing Guidelines
SDK Generation Guidelines
*.csprojandAssemblyInfo.csfiles have been updated with the new version of the SDK.