fsprojects / FSharp.TypeProviders.SDK

The SDK for creating F# type providers
https://fsprojects.github.io/FSharp.TypeProviders.SDK/
MIT License
298 stars 94 forks source link

"Base type not found in assembly" when using new TPSDK for Swagger on Linux/OSX #166

Closed dsyme closed 6 years ago

dsyme commented 6 years ago

We get this error when using the latest TPSDK with Swagger https://github.com/fsprojects/SwaggerProvider/pull/88#issuecomment-339783919

error FS3033: The type provider 'SwaggerProvider.SwaggerTypeProvider' reported an error: Error in pass2 for type PetStore, error: One of your modules expects the type 'SwaggerProvider.Internal.ProvidedSwaggerBaseType' to be defined within the module being emitted. keys = [|TdKey ([],,""); TdKey ([],SwaggerProvider,"PetStore");� TdKey (["SwaggerProvider.PetStore"],,"ApiResponse");�

dsyme commented 6 years ago

I can at least now repro this using Windows Subsystem for Linux :)

dsyme commented 6 years ago

@sergey-tihon This is now fixed, I think you can try yet another update on Swagger on Linux

dsyme commented 6 years ago

@sergey-tihon @isaacabraham @Thorium That closes out all regression issues I know of with the latest SDK - please let me know ASAP if there are more problems to deal with

isaacabraham commented 6 years ago

I've not tried the Azure TP on non-windows yet (or built against core yet) but will get around to it soon :-)

ReedCopsey commented 6 years ago

@dsyme I'm still having issues with trying to migrate FsXaml - See https://github.com/fsprojects/FsXaml/issues/73#issuecomment-338833437 for specific details. Project was updated to using this more recent push, with behavior unchanged.