-
Notifications
You must be signed in to change notification settings - Fork 419
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
Project loading without solution file #634
Comments
Maybe try using this to generate an .sln file? https://github.com/sriramgd/create-vs-sln-from-proj-files/ As for your other question, yes, it would be possible to modify Omnisharp to search for .csproj files. In fact I suspect we already have code to do so. |
@willl That won’t work for me, as it doesn’t run on Mac. |
@wjk Perhaps you could use MonoDevelop/Xamarin Studio to generate a .sln file? |
@willl I really would prefer to avoid using Xamarin Studio if it can be helped, but between this and continuous problems building Xamarin.Mac, I might just have to. |
Looks like there is a new PR underway to do this: #635 |
yup! #635 should address this |
@DustinCampbell It’s VSCode. If I understand properly, all I need to do is set the |
I just submitted dotnet/vscode-csharp#760 for the VS Code extension to better process launch targets for .csproj files when no .sln is present. |
Re-opening this issue until the change in the omnisharp-vscode repo is merged. |
v1.5-beta1 of the C# extension has been released which can launch OmniSharp on a folder of .csproj files when no .sln file is present. |
I am trying to write and maintain a fairly large codebase that uses C#
*.csproj
files. However, since I am doing this on macOS and therefore have no access to “full” Visual Studio, I cannot (easily) write a solution file. The problem is, without a solution file, OmniSharp won’t recognize the*.csproj
files. Could OmniSharp be modified to support loading a*.csproj
file by itself, one at a time, without needing a solution? (Of course, if a*.csproj
file is loaded by itself, its project and assembly references would be recursively parsed to provide IntellliSense.)The text was updated successfully, but these errors were encountered: