copy all bin/pdb files to /bin during build

This commit is contained in:
Brett Samblanet 2020-05-01 14:26:51 -07:00
Родитель 2f828ccc61
Коммит b70c53662e
3 изменённых файлов: 12 добавлений и 9 удалений

Просмотреть файл

@ -11,7 +11,7 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ExtensionsMetadataGeneratorVersion>1.1.7</ExtensionsMetadataGeneratorVersion>
<ExtensionsMetadataGeneratorVersion>1.1.8</ExtensionsMetadataGeneratorVersion>
</PropertyGroup>
</Project>

Просмотреть файл

@ -23,13 +23,16 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and
<PropertyGroup>
<UseNETCoreGenerator Condition="$(UseNETCoreGenerator)=='' AND !$(AzureFunctionsVersion.StartsWith('v1'))">true</UseNETCoreGenerator>
</PropertyGroup>
<!-- TODO: CopyFilesToOutputDirectory does not look at the outdir to copy the pdbs. hence copying it manually. -->
<!-- Copy the application pdb to the bin folder-->
<Move SourceFiles="$(TargetDir)$(TargetName).pdb"
DestinationFiles="$(TargetDir)bin\$(TargetName).pdb"
OverwriteReadOnlyFiles="true"
Condition="Exists('$(TargetDir)$(TargetName).pdb')"
ContinueOnError="true"/>
<ItemGroup>
<FunctionsBuildAssemblies Include="$(TargetDir)*.dll;
$(TargetDir)*.pdb" />
</ItemGroup>
<!-- Copy the additional assemblies to the bin folder-->
<Move SourceFiles="@(FunctionsBuildAssemblies)"
DestinationFiles="$(TargetDir)bin\%(Filename)%(Extension)"
OverwriteReadOnlyFiles="true" />
<ItemGroup>
<UserProvidedFunctionJsonFiles Include="@(None);@(Content)" Condition="Exists(%(Identity))

Просмотреть файл

@ -11,7 +11,7 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<FunctionsSdkVersion>1.0.35</FunctionsSdkVersion>
<FunctionsSdkVersion>1.0.36</FunctionsSdkVersion>
</PropertyGroup>
</Project>