Compile in Developer Command Prompt for VS 2015
PS> cl echo.c
{ | |
"name": "dotnet-sql-cache", | |
"version": "1.0.0-preview2-final", | |
"bin": { "dotnet-sql-cache": "./shim.js" }, | |
"files": [ | |
"shim.js", | |
"**/*.dll", | |
"*.runtimeconfig.json", | |
"*.deps.json", | |
"runtimes/**/*" |
using System; | |
using System.IO; | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
foreach (var file in args) | |
{ | |
var attributes = new FileInfo(file).Attributes; |
Compile in Developer Command Prompt for VS 2015
PS> cl echo.c
Consider this following example:
An implementation of ALC is setup to load CommonAssembly, Version=2.0.0.0, InformationalVersion=2.0.0-beta.
The host in an app that this on the TPA: CommonAssembly, Version=2.0.0.0, InformationalVersion = 2.0.0-alpha.
// in a test app that depends on CommonAssembly "2.0.0-alpha"
public class HostProgram
{
REM npm i -g rimraf | |
REM https://github.com/isaacs/rimraf | |
rimraf %USERPROFILE%\.nuget\ %LOCALAPPDATA%\NuGet\v3-cache\ %LOCALAPPDATA%\NuGet\Cache\ |
using System; | |
using Microsoft.Data.Sqlite; | |
using static System.Console; | |
namespace ConsoleApplication | |
{ | |
public class Program | |
{ | |
public static void Main(string[] args) | |
{ |
{ | |
"runtimes": { | |
"base": {}, | |
"any": { | |
"#import": ["base"] | |
}, | |
"win": { | |
"#import": ["any"] |