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

referencing ProvidedTypes in Runtime project? is it needed? #355

Closed smoothdeveloper closed 2 years ago

smoothdeveloper commented 3 years ago

AFAIU, referencing the ProvidedTypes.fs files in the runtime assembly is not necessary:

https://github.com/fsprojects/FSharp.TypeProviders.SDK/blob/88696001fe4d5e841ef86955a6507bff3c27e4a6/templates/content/basic/src/MyProvider.Runtime/paket.references

For example, I've removed it in https://github.com/fsprojects/FSharp.Data.SqlClient/pull/398 with no unexpected side effects.

Can this get confirmed and fixed, or be explained in which context those files should be compiled in the runtime assembly?