Last active
May 4, 2016 15:34
-
-
Save stofte/c1cfe1ea128fb2058c4db652886da1c2 to your computer and use it in GitHub Desktop.
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.Linq; | |
using System.IO; | |
using System.Reflection; | |
using System.Runtime.Loader; | |
using Microsoft.DotNet.ProjectModel.Workspaces; | |
namespace ConsoleApplication | |
{ | |
public class Program | |
{ | |
public static void Main(string[] args) | |
{ | |
var assemblyName = "test"; | |
var jsonPath = @"C:\dd"; | |
var sln = new ProjectJsonWorkspace(jsonPath); | |
Console.WriteLine("Hello World!"); | |
} | |
} | |
} |
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
{ | |
"version": "1.0.0-*", | |
"buildOptions": { | |
"preserveCompilationContext": true, | |
"emitEntryPoint": true | |
}, | |
"dependencies": { | |
"NETStandard.Library": "1.5.0-*", | |
"System.Runtime.Loader": "4.0.0-*", | |
"Microsoft.DotNet.ProjectModel.Workspaces": "1.0.0-*", | |
"Microsoft.CodeAnalysis": "1.3.0-beta1-20160429-01", | |
"Microsoft.EntityFrameworkCore": "1.0.0-*", | |
"Microsoft.NETCore.App": { | |
"version": "1.0.0-*", | |
"type": "platform" | |
} | |
}, | |
"frameworks": { | |
"netcoreapp1.0": { | |
"imports": [ "portable-net45+win8+wp8+wpa81", "portable-net45+win8+wp8" ] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment