use correct framework #319
Annotations
5 errors and 10 warnings
build:
TTSHelperLibrary/TextSpeechHelper.cs#L4
The type or namespace name 'Speech' does not exist in the namespace 'System' (are you missing an assembly reference?)
|
build:
TTSHelperLibrary/TextSpeechHelper.cs#L12
The type or namespace name 'SpeechSynthesizer' could not be found (are you missing a using directive or an assembly reference?)
|
build:
TTSHelperLibrary/TextSpeechHelper.cs#L4
The type or namespace name 'Speech' does not exist in the namespace 'System' (are you missing an assembly reference?)
|
build:
TTSHelperLibrary/TextSpeechHelper.cs#L12
The type or namespace name 'SpeechSynthesizer' could not be found (are you missing a using directive or an assembly reference?)
|
build
Process completed with exit code 1.
|
build:
TranslatorLibrary/ChatGPTTranslator.cs#L95
Unreachable code detected
|
build:
TranslatorLibrary/ArtificialTranslator.cs#L199
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
OCRLibrary/ImageProcFunc.cs#L207
The variable 'gray' is declared but never used
|
build:
TranslatorLibrary/ArtificialTranslator.cs#L199
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
TranslatorLibrary/ChatGPTTranslator.cs#L95
Unreachable code detected
|
build:
OCRLibrary/TesseractOCR.cs#L2
The type name 'tesseract' only contains lower-cased ascii characters. Such names may become reserved for the language.
|
build:
OCRLibrary/BaiduFanyiOCR.cs#L47
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
|
build:
OCRLibrary/BaiduGeneralOCR.cs#L29
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
|
build:
OCRLibrary/TencentOCR.cs#L68
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
|
build:
OCRLibrary/ImageProcFunc.cs#L207
The variable 'gray' is declared but never used
|