Add support for referencing .NET projects in F# interactive
**Is your feature request related to a problem? Please describe.** It would be nice to have similar functionality like in other languages, where it is possible to reference a project inside an interactive session. Languages that support such functionality are for example: Haskell, Elixir, Python, Clojure **Describe the solution you'd like** I would like to start an interactive session and reference the project like I would reference an assembly file today. An example could be (F# projects only): #r "fsproj: MyProject.fsproj" or (across languages): #r "project: MyProject.fsproj" #r "project: MyProject.csproj > Those two proposals need to be tackled very differently. For a F# only solution it is enough to reference all library references and the F# source files. In order to work across .NET languages it is needed to compile the project first and then reference the libraries and the generated assembly. @Krzysztof-Cieslak has already created a prototype where he got working a F# only solution: https://github.com/Krzysztof-Cieslak/DependencyManager.FsProj So the first question to answer is: * [ ] Should the solution work for fsproj and csproj files from the beginning? * [ ] Should we define a cross project syntax and start with an F# only solution? * [ ] Is it a F# fsproj only thing? **Describe alternatives you've considered** * Reference every library reference and every project source file by hand. * Use `#r: "nuget: Dependency"` for every dependent li
Posted by toburger on Mar 21, 2020, 8:59 AM
Tags
Related issues
- The only thing keeping me on VSCode these days is the remote SSH development.
- Something similar was done in a sheep model: "A bioactive supramolecular and covalent polymer scaffold for cartilage repair in a sheep m...
- Proposal for OpenHarmony Adaptation of [ ThreadPool ]
- Proposal for a pipe-like operator to chain constructor/method invocations without nesting
- Implement support for Node Stashing
- RSC and CDN interaction makes next.js inefficient for highload projects
Raise real-world problems, find people facing the same issue, and discuss solutions.3,500 issues0 comments
support (E-commerce)
The only thing keeping me on VSCode these days is the remote SSH development.
Something similar was done in a sheep model: "A bioactive supramolecular and covalent polymer scaffold for cartilage repair in a sheep m...
Proposal for OpenHarmony Adaptation of [ ThreadPool ]
Proposal for a pipe-like operator to chain constructor/method invocations without nesting
Implement support for Node Stashing
RSC and CDN interaction makes next.js inefficient for highload projects
Extract Action Notifier framework for push notifications
Improve support for monorepo by supporting git options such as depth, and sparse checkout
Add support for referencing .NET projects in F# interactive
**Is your feature request related to a problem? Please describe.** It would be nice to have similar functionality like in other languages, where it is possible to reference a project inside an interactive session. Languages that support such functionality are for example: Haskell, Elixir, Python, Clojure **Describe the solution you'd like** I would like to start an interactive session and reference the project like I would reference an assembly file today. An example could be (F# projects only): #r "fsproj: MyProject.fsproj" or (across languages): #r "project: MyProject.fsproj" #r "project: MyProject.csproj > Those two proposals need to be tackled very differently. For a F# only solution it is enough to reference all library references and the F# source files. In order to work across .NET languages it is needed to compile the project first and then reference the libraries and the generated assembly. @Krzysztof-Cieslak has already created a prototype where he got working a F# only solution: https://github.com/Krzysztof-Cieslak/DependencyManager.FsProj So the first question to answer is: * [ ] Should the solution work for fsproj and csproj files from the beginning? * [ ] Should we define a cross project syntax and start with an F# only solution? * [ ] Is it a F# fsproj only thing? **Describe alternatives you've considered** * Reference every library reference and every project source file by hand. * Use `#r: "nuget: Dependency"` for every dependent li
Comments (0)
No comments yet. Start the discussion.