Skip to content
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

FSharp.Compiler.Service.ProjectCracker.dll is not in Nuget #31

Open
fbehrens opened this issue Jan 4, 2018 · 5 comments
Open

FSharp.Compiler.Service.ProjectCracker.dll is not in Nuget #31

fbehrens opened this issue Jan 4, 2018 · 5 comments

Comments

@fbehrens
Copy link
Contributor

fbehrens commented Jan 4, 2018

How to pull it in ?

image

cc @forki

@forki
Copy link
Member

forki commented Jan 4, 2018 via email

@Krzysztof-Cieslak
Copy link
Member

There is FSharp.Compiler.Service.ProjectCracker nuget package.... but not sure if using ProjectCracker is good idea anyway. Enrico's Dotnet.ProjInfo (https://github.com/enricosada/dotnet-proj-info) works better as far as I can tell....

@enricosada
Copy link

enricosada commented Jan 9, 2018

i dont want to vote because is mine, but ProjectCracker has many drawback (in process, known stackoverflow, depends on msbuild libs not always avaiable and special env var to set, doesnt really work on netcore because .net msbuild <> .net core msbuild).

if you can start with Dotnet.ProjInfo, works for both old fsproj and new fsproj (see https://github.com/fsharp/FsAutoComplete/ ) and anyway the data structure is the same (the one for FCS) so can be replaced if needed

@enricosada
Copy link

any issue with project parsing, anyone, feel free to ping me directly

@enricosada
Copy link

enricosada commented Jan 9, 2018

And about dotnet.projinfo, for POC, you dont need to use as library (more complicated maybe).
just call it from command line (ref https://github.com/enricosada/dotnet-proj-info/tree/master/examples using --fsc-args arg ) to get the list of fsc args (enough to initialize FCS, always)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants