Skip to content

Commit 68c7b93

Browse files
committed
Update MyApp.csproj
1 parent 34a3b5b commit 68c7b93

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

MyApp/MyApp.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,14 @@
4747
<Target Name="CreateAppDataFolder" BeforeTargets="Publish">
4848
<MakeDir Directories="$(PublishDir)App_Data" Condition="!Exists('$(PublishDir)App_Data')" />
4949
<Exec Command="npm run build" WorkingDirectory="../MyApp.Client" />
50+
<Exec Command="npm install" />
51+
<Exec Command="npm run ui:build" />
5052
<RemoveDir Directories="$(PublishDir)wwwroot" />
5153
<ItemGroup>
5254
<CopyDist Include="../MyApp.Client/dist/**/*.*" />
55+
<CopyDist Include="./wwwroot/**/*.*" />
5356
</ItemGroup>
5457
<Copy SourceFiles="@(CopyDist)" DestinationFiles="@(CopyDist->'$(PublishDir)wwwroot\%(RecursiveDir)%(Filename)%(Extension)')" />
5558
</Target>
5659

57-
</Project>
60+
</Project>

0 commit comments

Comments
 (0)