Skip to content

Commit 8f80a79

Browse files
committed
Dotnet publish still not preserving pathing.
add CopyToOutputDirectory for App_Data
1 parent 025cf58 commit 8f80a79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Northwind/Northwind.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<Content Include="App_Data\**\*" CopyToPublishDirectory="PreserveNewest" />
12+
<Content Include="App_Data\**\*" CopyToOutputDirectory="PreserveNewest" CopyToPublishDirectory="PreserveNewest" />
1313
</ItemGroup>
1414

1515
<ItemGroup>

0 commit comments

Comments
 (0)