-
Notifications
You must be signed in to change notification settings - Fork 582
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reference Type Provider Design-Time Reference Assemblies #2272
Comments
I guess we don't currently reference the design-time assemblies but we need to. I guess we only need to reference them and not add them to our runtime resolution... |
Apparently the compiler even tried to load |
Just checked - there's no such file in that folder. There are other instances of that file across the nuget package, but not in there. |
afaik it was specced somewhere, I always thought this logic made it into the compiler but maybe it was added to the SDK. This would mean we would need to add it to FAKE internal logic as well.. |
@matthid I'm starting to think that this isn't actually a FAKE issue at all. If I run dotnet build on the project itself (directly from the command line), the project fails to build with the same issue. However, if I run msbuild directly after this, it works. Of course running MSBuild from clean fails with the good old missing assets.project.json issue. |
@isaacabraham tbh I have no idea how msbuild would be related to this. There is no msbuild in fake afaik :) |
Yeah. I meant that this might be something relating to the type provider and |
F# tooling expects only references to TPRTC assemblies. It will find the TPDTC itself Please ping me if you have more questions. The spec is at https://github.com/fsharp/fslang-design/blob/master/tooling/FST-1003-loading-type-provider-design-time-components.md |
I think this may be incorrect layout of the |
looks like this:
|
Looking over this it feels like an external bug/limitation in the |
not sure it issues are related, but I also cannot use TP (FSharp.Data) from FAKE |
Can you provide a small sample to reproduce? |
The following FAKE script does not build.
with the following error:
This is only when you add the SQL Data Client package.
The text was updated successfully, but these errors were encountered: