Skip to content

Commit 21583f9

Browse files
committed
Fix template issues
1 parent 799d0f3 commit 21583f9

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

src/Components/Blazor/Build/src/targets/Publish.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
<ItemGroup>
4545
<_BlazorPublishConfigContent Include="." />
46-
<_BlazorPublishConfigContent Include="$(AssemblyName)" />
46+
<_BlazorPublishConfigContent Include="$(AssemblyName)/" />
4747
</ItemGroup>
4848

4949
<WriteLinesToFile

src/ProjectTemplates/BlazorWasm.ProjectTemplates/content/BlazorWasm-CSharp/.template.config/template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
}
135135
],
136136
"args": {
137-
"files": "BlazorWasm-CSharp.Client.csproj"
137+
"files": ["BlazorWasm-CSharp.Client.csproj"]
138138
},
139139
"actionId": "210D431B-A78B-4D2F-B762-4ED3E3EA9025",
140140
"continueOnError": true

src/ProjectTemplates/test/BlazorTemplateTestBase.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ private void TestBasicNavigation(Project project)
6666
{
6767
// Give components.server enough time to load so that it can replace
6868
// the prerendered content before we start making assertions.
69-
Thread.Sleep(5000);
7069
Browser.Exists(By.TagName("ul"));
7170

7271
// <title> element gets project ID injected into it during template execution

src/ProjectTemplates/test/Helpers/Project.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ public class Project
3131

3232
public SemaphoreSlim DotNetNewLock { get; set; }
3333
public SemaphoreSlim NodeLock { get; set; }
34-
public string ProjectDirectory { get; set; }
3534
public string AppName { get; set; }
3635
public string ProjectName { get; set; }
3736
public string ProjectArguments { get; set; }

0 commit comments

Comments
 (0)