Skip to content

Instantly share code, notes, and snippets.

View nkolev92's full-sized avatar

Nikolche Kolev nkolev92

View GitHub Profile
{
"version": 3,
"targets": {
".NETFramework,Version=v4.6": {
"Newtonsoft.Json/9.0.1": {
"type": "package",
"compile": {
"lib/net45/Newtonsoft.Json.dll": {}
},
"runtime": {
{
"version": 3,
"targets": {
".NETCoreApp,Version=v2.0": {
"Microsoft.NETCore.App/2.0.0": {
"type": "package",
"dependencies": {
"Microsoft.NETCore.DotNetHostPolicy": "2.0.0",
"Microsoft.NETCore.Platforms": "2.0.0",
"NETStandard.Library": "2.0.0"
{
"version": 3,
"targets": {
".NETCoreApp,Version=v1.1": {
"Libuv/1.9.1": {
"type": "package",
"dependencies": {
"Microsoft.NETCore.Platforms": "1.0.1"
},
"runtimeTargets": {
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>TestSolution</RootNamespace>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>

Keybase proof

I hereby claim:

  • I am nkolev92 on github.
  • I am nikolchekolev (https://keybase.io/nikolchekolev) on keybase.
  • I have a public key ASDRrH7O4v16FariwBUstemTrPLgjO3xsx_9MTwDvh-Xogo

To claim this, I am signing this object:

@nkolev92
nkolev92 / Tests
Created July 13, 2017 18:52
RebuildCleanTests
NetCoreProjectTest.ps1
function Test-NetCoreConsoleAppRebuildDoesNotDeleteCacheFile {
# Arrange & Act
$project = New-NetCoreConsoleApp ConsoleApp
Build-Solution
Assert-ProjectCacheFileExists $project
@nkolev92
nkolev92 / PowershellFunctions.ps1
Last active May 23, 2017 21:33
NuGet Client Development Productivity Tips & Tricks
$nugetClientRoot="C:\Code\Nuget.Client"
Function Run-NuGetTargetsCustom($projectPath, $target, $extra)
{
$buildPath = Join-Path $nugetClientRoot "src\NuGet.Core\NuGet.Build.Tasks"
$publishDllPath = Join-Path $nugetClientRoot "artifacts\NuGet.Build.Tasks\15.0\bin\Debug\net45\NuGet.Build.Tasks.dll"
$targetsPath = Join-Path $nugetClientRoot "src\NuGet.Core\NuGet.Build.Tasks\NuGet.targets"
Write-Host "msbuild $projectPath /t:$target /p:NuGetRestoreTargets=$targetsPath /p:RestoreTaskAssemblyFile=$publishDllPath $extra"
& msbuild $projectPath /t:$target /p:NuGetRestoreTargets=$targetsPath /p:RestoreTaskAssemblyFile=$publishDllPath $extra
}