Skip to content

Commit

Permalink
Merge pull request #1245 from Microsoft/toolsIssue965fix
Browse files Browse the repository at this point in the history
[Various Samples][C#] Fix for bot files being uploaded w/ az bot publish
  • Loading branch information
stevengum authored Feb 19, 2019
2 parents 59183b2 + 51e4d08 commit 06c5a86
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,10 @@
<WCFMetadata Include="Connected Services" />
</ItemGroup>

<ItemGroup>
<None Update="*.bot">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<TargetFramework>netcoreapp2.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<Content Include="qnamaker-activelearning.bot">
<ItemGroup>
<None Update="*.bot">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
</None>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore" Version="2.1.3" />
Expand Down
8 changes: 7 additions & 1 deletion samples/csharp_dotnetcore/51.cafe-bot/CafeBot.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
Expand Down Expand Up @@ -40,4 +40,10 @@
<Folder Include="Dialogs\Help\" />
</ItemGroup>

<ItemGroup>
<None Update="*.bot">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>

</Project>

0 comments on commit 06c5a86

Please sign in to comment.