Skip to content

Commit

Permalink
<IsPackable>false</IsPackable> to fix "dotnet pack" issue
Browse files Browse the repository at this point in the history
  • Loading branch information
leandromonaco committed Jan 22, 2025
1 parent 9e8f600 commit 7e83ed1
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 25 deletions.
10 changes: 6 additions & 4 deletions src/DevEx.Console/DevEx.Console.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
<OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework>
<PackageId>dxc</PackageId>
<PackAsTool>true</PackAsTool> <!-- This makes it a .NET tool -->
<ToolCommandName>dxc</ToolCommandName> <!-- The command users will run -->
<!-- This makes it a .NET tool -->
<PackAsTool>true</PackAsTool>
<!-- The command users will run -->
<ToolCommandName>dxc</ToolCommandName>
</PropertyGroup>

<ItemGroup>
Expand All @@ -18,8 +20,8 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\DevEx.Core\DevEx.Core.csproj" PrivateAssets="all"/>
<ProjectReference Include="..\DevEx.Plugins\DevEx.Plugins.Vault\DevEx.Plugins.Vault.csproj" PrivateAssets="all"/>
<ProjectReference Include="..\DevEx.Core\DevEx.Core.csproj"/>
<ProjectReference Include="..\DevEx.Plugins\DevEx.Plugins.Vault\DevEx.Plugins.Vault.csproj"/>
</ItemGroup>

<ItemGroup>
Expand Down
18 changes: 9 additions & 9 deletions src/DevEx.Core/DevEx.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IncludeBuildOutput>false</IncludeBuildOutput>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
</ItemGroup>

</Project>
24 changes: 12 additions & 12 deletions src/DevEx.Plugins/DevEx.Plugins.Vault/DevEx.Plugins.Vault.csproj
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IncludeBuildOutput>false</IncludeBuildOutput>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="9.0.1" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="9.0.1" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\DevEx.Core\DevEx.Core.csproj" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\DevEx.Core\DevEx.Core.csproj" />
</ItemGroup>

</Project>

0 comments on commit 7e83ed1

Please sign in to comment.