-
Install SublimeREPL package from package control
-
Install scriptcs package from package control
-
Download this experimental build of scriptcs and extract to some folder on your machine
-
go to ~/.config/sublime-text-2/Packages/SublimeREPL/config/ScriptCS and open Main.sublime-menu file
-
Update the "linux" path in that file to "linux": ["mono", "PATH/TO/YOUR/scriptcs.exe", "-modules", "mono", "-repl"]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace WebApi.AzureWorker | |
open Owin | |
open System | |
open System.Diagnostics | |
open System.Net | |
open System.Threading | |
open System.Net.Http | |
open System.Web.Http | |
open Microsoft.Owin.Hosting |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//usage | |
//removeStrongName.exe <path_to_strong_named.dll> | |
using System; | |
using System.IO; | |
public class Program | |
{ | |
public static void Main(string[] args) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# brew install --HEAD https://gist.github.com/filipw/6cbc6394360142a1976e/raw/scriptcs.rb -v | |
# note: requires >= mono 3.6.1 (http://www.go-mono.com/mono-downloads/download.html) | |
require 'formula' | |
class Scriptcs < Formula | |
homepage 'https://github.com/scriptcs/scriptcs' | |
head 'https://github.com/scriptcs/scriptcs.git', :branch => 'master' | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> :scriptpacks | |
Wharrgarbl.WharrgarblScriptPackContext | |
Superscribe.ScriptCS.SuperscribeCS | |
** Methods ** | |
- void Listen() | |
ScriptCs.ReplCommand.Pack.ReplCommandPackContext | |
** Methods ** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class FromBodyApplicationModelConvention : IApplicationModelConvention | |
{ | |
public void Apply(ApplicationModel application) | |
{ | |
foreach (var controller in application.Controllers) | |
{ | |
foreach (var action in controller.Actions) | |
{ | |
foreach (var parameter in action.Parameters) | |
{ |
-
Update VS Code settings to treat
.csx
as.cs
win: C:\Users\username\AppData\Local\Code\app-0.1.0\resources\app\plugins\vs.language.csharp\ticino.plugin.json os x: \AppData\Local\Code\app-0.1.0\resources\app\client\vs\languages\vs.language.csharp\ticino.plugin.json
There is an extensions array there tht you should modify.
- Get
omnisharp-roslyn
and build
git clone https://github.com/OmniSharp/omnisharp-roslyn.git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using System.Xml; | |
using System.Xml.Linq; | |
using NuGet.Frameworks; | |
using NuGet.Packaging; |
OlderNewer