You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
have you checked the faq, the documentation in the docs folder and couldn't find the information there
have you checked existing issues for a similar question?
Error :
warning | output-folder path should be an absolute path
fatal | System.InvalidOperationException: The duration property of MaintenanceConfiguration ends with "Duration" but does not use the duration format to be generated as TimeSpan type. Add "format": "duration" with directive in autorest.md for the property if it's ISO 8601 format like P1DT2H59M59S. Add "x-ms-format": "duration-constant" if it's the constant format like 1.2:59:59.5000000. If the property does not conform to a TimeSpan format, please use "x-ms-client-name" to rename the property for the client.
at AutoRest.CSharp.Mgmt.Decorator.Transformer.FrameworkTypeUpdater.ValidateAndUpdate(CodeModel codeModel) in D:\a_work\1\s\autorest.csharp\src\AutoRest.CSharp\Mgmt\Decorator\Transformer\FrameworkTypeUpdater.cs:line 27
at AutoRest.CSharp.Mgmt.Decorator.CodeModelTransformer.TransformForMgmt(CodeModel codeModel) in D:\a_work\1\s\autorest.csharp\src\AutoRest.CSharp\Mgmt\Decorator\CodeModelTransformer.cs:line 43
at AutoRest.CSharp.AutoRest.Plugins.CSharpGen.ExecuteAsync(CodeModel codeModel) in D:\a_work\1\s\autorest.csharp\src\AutoRest.CSharp\Common\AutoRest\Plugins\CSharpGen.cs:line 51
at AutoRest.CSharp.AutoRest.Plugins.CSharpGen.Execute(IPluginCommunication autoRest) in D:\a_work\1\s\autorest.csharp\src\AutoRest.CSharp\Common\AutoRest\Plugins\CSharpGen.cs:line 128
at AutoRest.CSharp.AutoRest.Plugins.PluginProcessor.Start(IPluginCommunication autoRest) in D:\a_work\1\s\autorest.csharp\src\AutoRest.CSharp\Common\AutoRest\Plugins\PluginProcessor.cs:line 39
fatal | Process() cancelled due to failure
error | Error: Plugin csharpgen reported failure.
error | Autorest completed with an error. If you think the error message is unclear, or is a bug, please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing.
The text was updated successfully, but these errors were encountered:
rbandi124
added
the
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
label
May 2, 2024
Before asking the question:
Error :
warning | output-folder path should be an absolute path
fatal | System.InvalidOperationException: The duration property of MaintenanceConfiguration ends with "Duration" but does not use the duration format to be generated as TimeSpan type. Add "format": "duration" with directive in autorest.md for the property if it's ISO 8601 format like P1DT2H59M59S. Add "x-ms-format": "duration-constant" if it's the constant format like 1.2:59:59.5000000. If the property does not conform to a TimeSpan format, please use "x-ms-client-name" to rename the property for the client.
at AutoRest.CSharp.Mgmt.Decorator.Transformer.FrameworkTypeUpdater.ValidateAndUpdate(CodeModel codeModel) in D:\a_work\1\s\autorest.csharp\src\AutoRest.CSharp\Mgmt\Decorator\Transformer\FrameworkTypeUpdater.cs:line 27
at AutoRest.CSharp.Mgmt.Decorator.CodeModelTransformer.TransformForMgmt(CodeModel codeModel) in D:\a_work\1\s\autorest.csharp\src\AutoRest.CSharp\Mgmt\Decorator\CodeModelTransformer.cs:line 43
at AutoRest.CSharp.AutoRest.Plugins.CSharpGen.ExecuteAsync(CodeModel codeModel) in D:\a_work\1\s\autorest.csharp\src\AutoRest.CSharp\Common\AutoRest\Plugins\CSharpGen.cs:line 51
at AutoRest.CSharp.AutoRest.Plugins.CSharpGen.Execute(IPluginCommunication autoRest) in D:\a_work\1\s\autorest.csharp\src\AutoRest.CSharp\Common\AutoRest\Plugins\CSharpGen.cs:line 128
at AutoRest.CSharp.AutoRest.Plugins.PluginProcessor.Start(IPluginCommunication autoRest) in D:\a_work\1\s\autorest.csharp\src\AutoRest.CSharp\Common\AutoRest\Plugins\PluginProcessor.cs:line 39
fatal | Process() cancelled due to failure
error | Error: Plugin csharpgen reported failure.
error | Autorest completed with an error. If you think the error message is unclear, or is a bug, please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing.
The text was updated successfully, but these errors were encountered: