Skip to content

Commit

Permalink
Don't pack ConsoleApp1 & Diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
FaustVX committed Nov 25, 2023
1 parent c274fda commit 1898915
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 40 deletions.
21 changes: 1 addition & 20 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,31 +73,12 @@
}
},
{
"label": "pack SG",
"label": "pack",
"command": "dotnet",
"type": "process",
"args": [
"pack",
"-tl",
"${workspaceFolder}/PrimaryParameter.SG/PrimaryParameter.SG.csproj",
],
"problemMatcher": "$msCompile",
"options": {
"statusbar": {
"running": {
"label": "Packing"
}
}
}
},
{
"label": "pack CF",
"command": "dotnet",
"type": "process",
"args": [
"pack",
"-tl",
"${workspaceFolder}/PrimaryParameter.CodeFix/PrimaryParameter.CodeFix.csproj",
],
"problemMatcher": "$msCompile",
"options": {
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>

<PropertyGroup>
Expand Down
6 changes: 3 additions & 3 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<PropertyGroup>
<!-- https://weblog.west-wind.com/posts/2022/Sep/11/Referencing-a-Local-Private-NuGet-Package-in-your-Solution#project-specific-packagesource -->
<RestoreAdditionalProjectSources Condition="Exists('../PrimaryParameter.SG/bin/Release')">$(RestoreAdditionalProjectSources);../PrimaryParameter.SG/bin/Release</RestoreAdditionalProjectSources>
<RestoreAdditionalProjectSources Condition="Exists('../PrimaryParameter.Diagnostics/bin/Release')">$(RestoreAdditionalProjectSources);../PrimaryParameter.Diagnostics/bin/Release</RestoreAdditionalProjectSources>
<RestoreAdditionalProjectSources Condition="Exists('../PrimaryParameter.CodeFix/bin/Release')">$(RestoreAdditionalProjectSources);../PrimaryParameter.CodeFix/bin/Release</RestoreAdditionalProjectSources>
</PropertyGroup>

<ItemGroup>
Expand All @@ -24,7 +24,7 @@
<PackageVersion Include="xunit.extensibility.core" Version="2.6.1" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.5.3" />
<PackageVersion Include="coverlet.collector" Version="6.0.0" />
<PackageVersion Include="FaustVX.PrimaryParameter.SG" Version="1.3.2" />
<PackageVersion Include="FaustVX.PrimaryParameter.Diagnostics" Version="1.0.0" />
<PackageVersion Include="FaustVX.PrimaryParameter.SG" Version="2.0.0-beta1" />
<PackageVersion Include="FaustVX.PrimaryParameter.CodeFix" Version="1.0.0-beta1" />
</ItemGroup>
</Project>
18 changes: 1 addition & 17 deletions PrimaryParameter.Diagnostics/PrimaryParameter.Diagnostics.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<LangVersion>12</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
Expand All @@ -13,21 +14,4 @@
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" PrivateAssets="all" />
</ItemGroup>

<!-- 👇 This ensures the library will be packaged as a source generator when we use `dotnet pack` -->
<ItemGroup>
<None Include="../README.md" Pack="true" PackagePath="/" />
<None Include="../LICENSE" Pack="true" PackagePath="/" />
</ItemGroup>

<PropertyGroup>
<PackageId>FaustVX.PrimaryParameter.Diagnostics</PackageId>
<Version>1.0.0</Version>
<Authors>FaustVX</Authors>
<RepositoryUrl>https://github.com/FaustVX/PrimaryParameter</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageTags>primary constructor parameter readonly field error</PackageTags>
</PropertyGroup>

</Project>

0 comments on commit 1898915

Please sign in to comment.