Skip to content

Instantly share code, notes, and snippets.

View nkolev92's full-sized avatar

Nikolche Kolev nkolev92

View GitHub Profile
@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
}
@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

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:

<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>
{
"version": 3,
"targets": {
".NETCoreApp,Version=v1.1": {
"Libuv/1.9.1": {
"type": "package",
"dependencies": {
"Microsoft.NETCore.Platforms": "1.0.1"
},
"runtimeTargets": {
{
"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": {
".NETFramework,Version=v4.6": {
"Newtonsoft.Json/9.0.1": {
"type": "package",
"compile": {
"lib/net45/Newtonsoft.Json.dll": {}
},
"runtime": {
{
"version": 3,
"targets": {
".NETCoreApp,Version=v2.1": {
"Microsoft.AspNet.WebApi.Client/5.2.6": {
"type": "package",
"dependencies": {
"Newtonsoft.Json": "10.0.1",
"Newtonsoft.Json.Bson": "1.0.1"
},
OJSimpson_,Elige,2019-01-05 20:32,
tarik_is_bestest,Tarik,2019-01-06 00:20,
madeintyo,ElIGE,2019-01-05 20:32,
DutchCSBestCS,ELiGE,2019-01-05 20:32,
TricoN - HLTV.org,Only 3.1% users pick suNny :D,2019-01-05 20:32,
OJSimpson_,F,2019-01-05 20:33,
16|0,Good for you, imagine adding all these users that picked EliGE,2019-01-05 20:41,
OJSimpson_,I didn’t, it was so high I just estimated it xd, it would probably only change it by around 1 percent,2019-01-05 20:47,
PandaDc1212,there is a chart for it for all the chosen players, 2019-01-05 23:01,
G0Dteukkab,go look your last thread i picked sunny, will i get my point?,2019-01-05 21:41,
{
"version": 3,
"targets": {
".NETFramework,Version=v4.7.2": {}
},
"libraries": {},
"projectFileDependencyGroups": {
".NETFramework,Version=v4.7.2": []
},
"packageFolders": {