Skip to content

Commit

Permalink
Added pack task
Browse files Browse the repository at this point in the history
  • Loading branch information
FaustVX committed May 18, 2024
1 parent b3467e2 commit 708a9b0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,17 @@
}
},
{
"label": "watch",
"label": "pack",
"command": "dotnet",
"type": "process",
"args": [
"watch",
"run",
"--project",
"${workspaceFolder}/ConsoleApp1/ConsoleApp1.csproj"
"pack",
],
"problemMatcher": "$msCompile",
"options": {
"statusbar": {
"running": {
"label": "watching"
"label": "packing"
}
}
}
Expand Down
1 change: 1 addition & 0 deletions ConsoleApp1/ConsoleApp1.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<LangVersion>12</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
</PropertyGroup>

<!-- 👇 These groups emits Source Generated files and removes them from the compilation -->
Expand Down
1 change: 1 addition & 0 deletions PrimaryParameter.SG/PrimaryParameter.SG.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<IncludeBuildOutput>false</IncludeBuildOutput>
<!-- 👇 Generates a package at build -->
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<IsPackable>true</IsPackable>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 708a9b0

Please sign in to comment.