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

build command results in 404 from server #100

Open
aggieben opened this issue Apr 13, 2015 · 7 comments
Open

build command results in 404 from server #100

aggieben opened this issue Apr 13, 2015 · 7 comments

Comments

@aggieben
Copy link

I'm new to OmniSharp, so I don't know much yet about how to do a lot of troubleshooting. After having failed to get a released version to work with DNX/project.json, I got the sources for the latest master (after the merge of the roslyn stuff) and tried that. It kinda-sorta works, and I don't have all the red squigglies like before, but building doesn't work. The following is produced in the OmniSharp output pane:

image

What did I do wrong?

Output of apm list:

C:\Users\Administrator\.atom\packages (7)
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
@ctolkien
Copy link
Member

@aggieben , bits from master will work with dnx/project.json based builds. However omnisharp-roslyn is still being fleshed out:

This issue tracks current support:
OmniSharp/omnisharp-roslyn#29

Note that /buildcommand is not supported yet!

@aggieben
Copy link
Author

Perfect, thanks!

@nosami
Copy link
Contributor

nosami commented Apr 13, 2015

Also - You don't really need an explicit build command with Asp.Net 5 projects. Edit, then run.

@aggieben
Copy link
Author

Not all DNX projects are ASP.NET 5 ;-) Also, explicit building has the benefit of explicit diagnostic spew and error messages.

@nosami
Copy link
Contributor

nosami commented Apr 13, 2015

Still.... the same applies for an Asp.Net 5 console app ;)

@davidfowl
Copy link
Member

You can still build. We should wire up the DTH build here.

@RexMiller
Copy link

I am getting the same 404 response trying to build a .csproj project in a solution with a .sln file. I'm using version 3.0, on Windows. Is it supposed to be able to build sln/csproj projects?

The server seems to recognize the project in the last two lines below:

capture

But it seems suspect that on the second line it seems to be picking the dnx runtime that I also have installed on the machine. Should that be? Not sure how to specify the runtime. Building results in the 404:

capture1

The packages I have installed are:

C:\Users\currentuser\.atom\packages (6)
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]

I'm sorry if I'm totally missing the point here. Very much liking Omnisharp though.

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

6 participants