-
Notifications
You must be signed in to change notification settings - Fork 123
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
How to include MSBUILD dependencies? #337
Comments
The msbuild 12 bits are for the project file cracking stuff, but msbuild is also used for reference resolution. Why would that never be installed? |
MSBUILD is now (well, for the last 3 years) a part of Visual Studio and so we cannot expect it to be installed... |
These are the bits that added the v12 dependencies: https://github.com/fsharp/FSharp.Compiler.Service/blob/master/src/fsharp/vs/service.fs#L2336-L2454 |
I have a pcl version of FCS that Im working on that has no msbuild dependencies, not yet finished I might add. |
I suppose the appropriate DLLs should be bundled as part of the FCS package for now, that seems reasonable, similar to here: fsharp/fsharp#409. Could you send a PR to adjust? |
It seems that the intention here was to add the relevant MSBUILD dependencies/dlls into the FSCS nuget package - this does not seem to have been implemented though as my usage of FSCS via nuget has just downloaded fsharp.compiler.services.dll. |
Up-vote for this issue. simra/IfSharp#7. |
This should be addressed by #470. |
When you get the
FSharp.Compiler.Service
NuGet package and install it as part of some application on Azure VM, the application will fail, because F# Compiler Service depends on MSBUILD assemblies that are not part of .NET Framework:This is a bit unfortunate, because it measn that
FSharp.Compiler.Service
will not work on non-dev machines. I'm not sure what the best solution is?[See also my comment in: https://github.com/fsharp/fsharp/pull/409]
The text was updated successfully, but these errors were encountered: