Skip to content

Commit 3c3b0de

Browse files
committed
fix cli artifact
1 parent 06f86da commit 3c3b0de

1 file changed

Lines changed: 28 additions & 29 deletions

File tree

Lines changed: 28 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,34 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
5-
<ImplicitUsings>enable</ImplicitUsings>
6-
<Nullable>enable</Nullable>
7-
<OutputType>exe</OutputType>
8-
<PackAsTool>true</PackAsTool>
9-
<ToolCommandName>encrypted-config-value-dotnet</ToolCommandName>
10-
<SolutionDir>$([System.IO.Path]::GetDirectoryName($(MSBuildProjectDirectory)))</SolutionDir>
11-
<NuspecFile>.\EncryptedConfigValue.Cli.nuspec</NuspecFile>
12-
</PropertyGroup>
3+
<PropertyGroup>
4+
<TargetFramework>net9.0</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
<OutputType>exe</OutputType>
8+
<PackAsTool>true</PackAsTool>
9+
<ToolCommandName>encrypted-config-value-dotnet</ToolCommandName>
10+
<SolutionDir>$([System.IO.Path]::GetDirectoryName($(MSBuildProjectDirectory)))</SolutionDir>
11+
<NuspecFile>.\EncryptedConfigValue.Cli.nuspec</NuspecFile>
12+
</PropertyGroup>
1313

14-
<ItemGroup>
15-
<None Include="$(SolutionDir)\Readme.md" Pack="true" PackagePath="Readme.md" />
16-
<None Update="DotnetToolSettings.xml">
17-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
18-
</None>
19-
</ItemGroup>
14+
<ItemGroup>
15+
<None Include="$(SolutionDir)\Readme.md" Pack="true" PackagePath="Readme.md" />
16+
<None Update="DotnetToolSettings.xml">
17+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
18+
</None>
19+
</ItemGroup>
2020

21-
<ItemGroup>
22-
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
23-
<_Parameter1>$(MSBuildProjectName).Test</_Parameter1>
24-
</AssemblyAttribute>
25-
</ItemGroup>
21+
<ItemGroup>
22+
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
23+
<_Parameter1>$(MSBuildProjectName).Test</_Parameter1>
24+
</AssemblyAttribute>
25+
</ItemGroup>
2626

27-
<ItemGroup>
28-
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="4.1.1" />
29-
<ProjectReference Include="..\EncryptedConfigValue\EncryptedConfigValue.csproj" PrivateAssets="All">
30-
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
31-
<IncludeAssets>EncryptedConfigValue.dll</IncludeAssets>
32-
</ProjectReference>
33-
</ItemGroup>
27+
<ItemGroup>
28+
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="4.1.1" />
29+
<ProjectReference Include="..\EncryptedConfigValue\EncryptedConfigValue.csproj">
30+
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
31+
</ProjectReference>
32+
</ItemGroup>
3433

3534
</Project>

0 commit comments

Comments
 (0)