Merge pull request #1492 from Thorium/fsharplint-fixes #116
Annotations
3 errors and 1 warning
Generating expressions works in netstandard2.0 ("Xml:
tests/FSharp.Data.DesignTime.Tests/FSharp.Data.DesignTime.Tests.fsproj#L1
System.Exception : Cannot read sample XSD from 'IncludeFromWeb.xsd': System.Xml.Schema.XmlSchemaException: Type 'http://schemas.microsoft.com/sqlserver/2004/sqltypes:xml' is not declared.
at System.Xml.Schema.XmlSchemaSet.InternalValidationCallback(Object sender, ValidationEventArgs e)
at System.Xml.Schema.BaseProcessor.SendValidationEvent(XmlSchemaException e, XmlSeverityType severity)
at System.Xml.Schema.BaseProcessor.SendValidationEvent(XmlSchemaException e)
at System.Xml.Schema.Compiler.CompileElement(XmlSchemaElement xe)
at System.Xml.Schema.Compiler.Compile()
at System.Xml.Schema.Compiler.Execute(XmlSchemaSet schemaSet, SchemaInfo schemaCompiledInfo)
at System.Xml.Schema.XmlSchemaSet.Compile()
at FSharp.Data.Runtime.XmlSchema.parseSchemaFromTextReader(String resolutionFolder, TextReader textReader) in D:\a\FSharp.Data\FSharp.Data\src\FSharp.Data.Xml.Core\XmlRuntime.fs:line 401
at FSharp.Data.Runtime.XmlSchema.parseSchema(String resolutionFolder, String xsdText) in D:\a\FSharp.Data\FSharp.Data\src\FSharp.Data.Xml.Core\XmlRuntime.fs:line 405
at <StartupCode$FSharp-Data-DesignTime>.$XmlProvider.getSpec$cont@75[b](ProvidedTypeDefinition tpType, String sample, Boolean globalInference, String cultureStr, String resolutionFolder, String schema, InferenceMode' inferenceMode, String value, Unit unitVar) in D:\a\FSharp.Data\FSharp.Data\src\FSharp.Data.DesignTime\Xml\XmlProvider.fs:line 77
at <StartupCode$FSharp-Data-DesignTime>[email protected](a _arg1, String value) in D:\a\FSharp.Data\FSharp.Data\src\FSharp.Data.DesignTime\Xml\XmlProvider.fs:line 75
at ProviderImplementation.ProviderHelpers.parseTextAtDesignTime[a](String valueToBeParsedOrItsUri, FSharpFunc`2 parseFunc, String formatName, DisposableTypeProviderForNamespaces tp, TypeProviderConfig cfg, String encodingStr, String resolutionFolder, String resource, String fullTypeName, FSharpOption`1 maxNumberOfRows) in D:\a\FSharp.Data\FSharp.Data\src\FSharp.Data.DesignTime\CommonProviderImplementation\Helpers.fs:line 323
|
Validate signature didn't change ("Xml:
tests/FSharp.Data.DesignTime.Tests/FSharp.Data.DesignTime.Tests.fsproj#L1
System.Exception : Cannot read sample XSD from 'IncludeFromWeb.xsd': System.Xml.Schema.XmlSchemaException: Type 'http://schemas.microsoft.com/sqlserver/2004/sqltypes:xml' is not declared.
at System.Xml.Schema.XmlSchemaSet.InternalValidationCallback(Object sender, ValidationEventArgs e)
at System.Xml.Schema.BaseProcessor.SendValidationEvent(XmlSchemaException e, XmlSeverityType severity)
at System.Xml.Schema.BaseProcessor.SendValidationEvent(XmlSchemaException e)
at System.Xml.Schema.Compiler.CompileElement(XmlSchemaElement xe)
at System.Xml.Schema.Compiler.Compile()
at System.Xml.Schema.Compiler.Execute(XmlSchemaSet schemaSet, SchemaInfo schemaCompiledInfo)
at System.Xml.Schema.XmlSchemaSet.Compile()
at FSharp.Data.Runtime.XmlSchema.parseSchemaFromTextReader(String resolutionFolder, TextReader textReader) in D:\a\FSharp.Data\FSharp.Data\src\FSharp.Data.Xml.Core\XmlRuntime.fs:line 401
at FSharp.Data.Runtime.XmlSchema.parseSchema(String resolutionFolder, String xsdText) in D:\a\FSharp.Data\FSharp.Data\src\FSharp.Data.Xml.Core\XmlRuntime.fs:line 405
at <StartupCode$FSharp-Data-DesignTime>.$XmlProvider.getSpec$cont@75[b](ProvidedTypeDefinition tpType, String sample, Boolean globalInference, String cultureStr, String resolutionFolder, String schema, InferenceMode' inferenceMode, String value, Unit unitVar) in D:\a\FSharp.Data\FSharp.Data\src\FSharp.Data.DesignTime\Xml\XmlProvider.fs:line 77
at <StartupCode$FSharp-Data-DesignTime>[email protected](a _arg1, String value) in D:\a\FSharp.Data\FSharp.Data\src\FSharp.Data.DesignTime\Xml\XmlProvider.fs:line 112
at ProviderImplementation.ProviderHelpers.parseTextAtDesignTime[a](String valueToBeParsedOrItsUri, FSharpFunc`2 parseFunc, String formatName, DisposableTypeProviderForNamespaces tp, TypeProviderConfig cfg, String encodingStr, String resolutionFolder, String resource, String fullTypeName, FSharpOption`1 maxNumberOfRows) in D:\a\FSharp.Data\FSharp.Data\src\FSharp.Data.DesignTime\CommonProviderImplementation\Helpers.fs:line 343
|
build
Process completed with exit code 1.
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|