-
-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding nuget package management inline in .csproj file
- Loading branch information
fernandoescolar
committed
Nov 21, 2024
1 parent
75eb72b
commit c966009
Showing
22 changed files
with
467 additions
and
62 deletions.
There are no files selected for viewing
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
"email": "[email protected]" | ||
}, | ||
"engines": { | ||
"vscode": "^1.70.0" | ||
"vscode": "^1.73.0" | ||
}, | ||
"categories": [ | ||
"Other" | ||
|
@@ -336,6 +336,11 @@ | |
"command": "solutionExplorer.deleteMultiple", | ||
"title": "Delete Multiple Items", | ||
"category": "Solution Explorer" | ||
}, | ||
{ | ||
"command": "solutionExplorer.invalidateNugetCache", | ||
"title": "Invalidate Nuget Cache", | ||
"category": "Solution Explorer" | ||
} | ||
], | ||
"menus": { | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { Action, ActionContext } from "./base/Action"; | ||
import * as nuget from '@extensions/nuget'; | ||
|
||
export class InvalidateNugetCache implements Action { | ||
constructor() { | ||
} | ||
|
||
public async execute(context: ActionContext): Promise<void> { | ||
if (context.cancelled) { return; } | ||
|
||
nuget.invalidateCache(); | ||
} | ||
|
||
public toString(): string { | ||
return `Invalidate Nuget cache`; | ||
} | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { TreeItem} from "@tree"; | ||
import { Action } from "@actions"; | ||
import { SingleItemActionsCommand } from "@commands"; | ||
import { InvalidateNugetCache } from "@actions"; | ||
|
||
|
||
export class InvalidateNugetCacheCommand extends SingleItemActionsCommand { | ||
constructor() { | ||
super('Invalidate Nuget Cache'); | ||
} | ||
|
||
public shouldRun(item: TreeItem | undefined): boolean { | ||
return true; | ||
} | ||
|
||
public async getActions(item: TreeItem | undefined): Promise<Action[]> { | ||
return [new InvalidateNugetCache()]; | ||
} | ||
} |
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
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
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
Oops, something went wrong.