Skip to content

Commit 263ea56

Browse files
committed
Clean up inclusion of the resx files. Add default namespace for dotnet-sln.Tests.csproj.
1 parent 9ed5a0c commit 263ea56

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Cli/dotnet/dotnet.csproj

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@
3232
</ItemGroup>
3333

3434
<ItemGroup>
35-
<!-- <EmbeddedResource Include="Commands\New\*.zip" /> -->
36-
<EmbeddedResource Update="**\*.resx" GenerateSource="true" />
37-
<EmbeddedResource Update="*.resx" Namespace="Microsoft.DotNet.Cli" />
35+
<EmbeddedResource Update="CliStrings.resx" LinkBase="Resources" GenerateSource="true" Namespace="Microsoft.DotNet.Cli" />
36+
<EmbeddedResource Update="Commands\CliCommandStrings.resx" LinkBase="Resources" GenerateSource="true" Namespace="Microsoft.DotNet.Cli.Commands" />
3837
<EmbeddedResource Include="$(RepoRoot)src\Tasks\Common\Resources\Strings.resx" LinkBase="Resources" GenerateSource="True" Namespace="Microsoft.NET.Build.Tasks" />
3938
</ItemGroup>
4039

test/dotnet-sln.Tests/dotnet-sln.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<TargetFramework>$(ToolsetTargetFramework)</TargetFramework>
1111
<OutputType>Exe</OutputType>
1212
<StrongNameKeyId>MicrosoftAspNetCore</StrongNameKeyId>
13+
<RootNamespace>Microsoft.DotNet.Cli.Sln</RootNamespace>
1314
</PropertyGroup>
1415

1516
<ItemGroup>

0 commit comments

Comments
 (0)