Skip to content

Commit 2f47765

Browse files
committed
Fix build error
1 parent 1a49df6 commit 2f47765

File tree

12 files changed

+110
-6
lines changed

12 files changed

+110
-6
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"workbench.colorCustomizations": {
3+
"activityBar.activeBackground": "#91e60e",
4+
"activityBar.background": "#91e60e",
5+
"activityBar.foreground": "#15202b",
6+
"activityBar.inactiveForeground": "#15202b99",
7+
"activityBarBadge.background": "#0d85d2",
8+
"activityBarBadge.foreground": "#e7e7e7",
9+
"commandCenter.border": "#15202b99",
10+
"sash.hoverBorder": "#91e60e",
11+
"statusBar.background": "#73b60b",
12+
"statusBar.debuggingBackground": "#4e0bb6",
13+
"statusBar.debuggingForeground": "#e7e7e7",
14+
"statusBar.foreground": "#15202b",
15+
"statusBarItem.hoverBackground": "#558608",
16+
"statusBarItem.remoteBackground": "#73b60b",
17+
"statusBarItem.remoteForeground": "#15202b",
18+
"titleBar.activeBackground": "#73b60b",
19+
"titleBar.activeForeground": "#15202b",
20+
"titleBar.inactiveBackground": "#73b60b99",
21+
"titleBar.inactiveForeground": "#15202b99"
22+
},
23+
"peacock.color": "#73b60b"
24+
}

projects/application-environment/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var app = WebApplication.Create();
22
app.Run(async context =>
33
{
4-
context.Response.Headers.Add("content-type", "text/html");
4+
context.Response.Headers.Append("content-type", "text/html");
55
await context.Response.WriteAsync($"Application Name: {System.Reflection.Assembly.GetEntryAssembly().GetName().Name}<br/>");
66
await context.Response.WriteAsync($"Application Base Path: {System.AppContext.BaseDirectory}<br/>");
77

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Application Environment
2+
3+
This sample shows how to obtain application environment information (target framework, etc).
4+
5+
dotnet8
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.5.002.0
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "application-environment", "application-environment.csproj", "{2353C50C-6C1A-4F43-9710-334A68035E1E}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{2353C50C-6C1A-4F43-9710-334A68035E1E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{2353C50C-6C1A-4F43-9710-334A68035E1E}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{2353C50C-6C1A-4F43-9710-334A68035E1E}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{2353C50C-6C1A-4F43-9710-334A68035E1E}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {17683AEE-C64B-46BE-8FC8-C17F9180291B}
24+
EndGlobalSection
25+
EndGlobal

projects/blazor-ss/Localization-2/Localization.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
<ImplicitUsings>true</ImplicitUsings>
55
</PropertyGroup>
66
<ItemGroup>
7-
<PackageReference Include="OrchardCore.Localization.Core" Version="1.0.0" />
7+
<PackageReference Include="OrchardCore.Localization.Core" Version="1.8.2" />
88
</ItemGroup>
99
</Project>

projects/blazor-ss/Localization-3/Localization.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
<ImplicitUsings>true</ImplicitUsings>
55
</PropertyGroup>
66
<ItemGroup>
7-
<PackageReference Include="OrchardCore.Localization.Core" Version="1.0.0" />
7+
<PackageReference Include="OrchardCore.Localization.Core" Version="1.8.2" />
88
</ItemGroup>
99
</Project>

projects/blazor-ss/Localization-4/Localization.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
<ImplicitUsings>true</ImplicitUsings>
55
</PropertyGroup>
66
<ItemGroup>
7-
<PackageReference Include="OrchardCore.Localization.Core" Version="1.0.0" />
7+
<PackageReference Include="OrchardCore.Localization.Core" Version="1.8.2" />
88
</ItemGroup>
99
</Project>
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"workbench.colorCustomizations": {
3+
"activityBar.activeBackground": "#d72008",
4+
"activityBar.background": "#d72008",
5+
"activityBar.foreground": "#e7e7e7",
6+
"activityBar.inactiveForeground": "#e7e7e799",
7+
"activityBarBadge.background": "#023d09",
8+
"activityBarBadge.foreground": "#e7e7e7",
9+
"commandCenter.border": "#e7e7e799",
10+
"sash.hoverBorder": "#d72008",
11+
"statusBar.background": "#a61906",
12+
"statusBar.debuggingBackground": "#0693a6",
13+
"statusBar.debuggingForeground": "#e7e7e7",
14+
"statusBar.foreground": "#e7e7e7",
15+
"statusBarItem.hoverBackground": "#d72008",
16+
"statusBarItem.remoteBackground": "#a61906",
17+
"statusBarItem.remoteForeground": "#e7e7e7",
18+
"titleBar.activeBackground": "#a61906",
19+
"titleBar.activeForeground": "#e7e7e7",
20+
"titleBar.inactiveBackground": "#a6190699",
21+
"titleBar.inactiveForeground": "#e7e7e799"
22+
},
23+
"peacock.color": "#a61906"
24+
}

projects/blazor-ss/Localization/Components/Pages/Index.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@page "/"
2-
@inject IStringLocalizer<Localization.Global> Local
2+
@inject IStringLocalizer<Global> Local
33

44
<div class="container">
55
<h1>Localization</h1>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.5.002.0
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Localization", "Localization.csproj", "{01F03E5D-1640-4088-ADF7-65205694FB4D}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{01F03E5D-1640-4088-ADF7-65205694FB4D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{01F03E5D-1640-4088-ADF7-65205694FB4D}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{01F03E5D-1640-4088-ADF7-65205694FB4D}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{01F03E5D-1640-4088-ADF7-65205694FB4D}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {1F36ABA1-F373-4C0A-811F-7D9204B7DAC2}
24+
EndGlobalSection
25+
EndGlobal

0 commit comments

Comments
 (0)