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

Unable to find csc.exe #37

Open
ghost opened this issue Sep 29, 2016 · 10 comments
Open

Unable to find csc.exe #37

ghost opened this issue Sep 29, 2016 · 10 comments

Comments

@ghost
Copy link

ghost commented Sep 29, 2016

I'm using macOS Sierra and mono for compiling and running my C# code.

Whenever I start vim, I get the message Unable to find csc.exe before vim actually starts up. This is kinda frustrating.

@jorgeflh
Copy link

jorgeflh commented Oct 1, 2016

Yes, same is happening here. I'm using in Debian 8.

@msawangwan
Copy link

same. centOS 7

@rmboggs
Copy link

rmboggs commented Jan 3, 2017

Yup, same here on OpenBSD.

Looking at the code, the screenshots, and the some of the notes, I think this plugin is specific to .NET on Windows. This plugin may not support Mono on a non-Windows system.

It looks like the offending code is in the autoload/cs.vim file if anyone has experience with vim scrips and has the time. Not sure this project is active anymore.

@kianryan
Copy link
Member

kianryan commented Jan 3, 2017

Hello. Apologies - I've not looked at this code for quite a while. I'll try and find some time in the next couple of weeks.

If people come up with pull requests, and they look sensible, I'm happy to merge them in.

@rmboggs
Copy link

rmboggs commented Jan 3, 2017

No worries. Thank you for taking a look.

Am I right in thinking that the current state of this plugin is specific to .NET on Windows systems?

@kianryan
Copy link
Member

kianryan commented Jan 3, 2017

You are correct. And the last revision was for .NET 4.5. There are some wobbles with newer framework revisions that I need to look in to.

@kianryan
Copy link
Member

Okay, please try latest version.

Last few commits should resolve this.

@rmboggs
Copy link

rmboggs commented Jan 12, 2017

Tried it, it's complaining of an undefined variable name: 'msbuild', looks like in the cs#get_ net_compiler function, line 21 I think it says.

@kianryan
Copy link
Member

Try that please - apparently I can't type. ;-)

@rmboggs
Copy link

rmboggs commented Jan 13, 2017

Seems to be working better so far. I need to test it more though. I'll let you know what I find.

Thanks for taking the time to address.

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

No branches or pull requests

4 participants