Closed IBIT-ZEE closed 6 years ago
Did you add a reference to System.Windows.Forms in your project?
Thanks... This is a single file program... I have no project file...
Some assemblies are recognized by intellisense... like collections, io, linq, etc. but there are a lot missing... like Windows...
Can I had a reference to an assembly in a single code file... like my test.cs or if I create a app.config onmisharp-sublime add references to assemblies automagically,,,
Thanx
Not really, if you add a reference you are modifying a csproj. If you dont have one of those then it wont work.
Just create an empty solution in Xamarin/VS
On 16 June 2015 at 14:29, IBIT.ZEE notifications@github.com wrote:
Thanks... This is a single file program... I have no project file...
Some assemblies are recognized by intellisense... like collections, io, link, etc. but there are a lot missing... like Windows...
Can I had a reference to an assembly in a single code file... like my test.cs or if I create a app.config onmisharp-sublime add references to assemblies automagically,,,
Thanx
— Reply to this email directly or view it on GitHub https://github.com/OmniSharp/omnisharp-sublime/issues/185#issuecomment-112428239 .
That's not quite true... omnisharp-server will work if you just have a bunch of cs files and dll files in a folder without any project files. It will reference every dll that it finds.
Although then you are on your own when it comes to compiling - xbuild/msbuild aren't going to work.
You'd need to fallback to csc/mcs etc
good info nosami... i'll try that... maybe with symbolic links we can some funcionaity,,,
Why Autocomplete/intellisense fails when I try to use System.Windows.*
for example : using System.Windows.Forms