File tree Expand file tree Collapse file tree 4 files changed +22
-4
lines changed
Expand file tree Collapse file tree 4 files changed +22
-4
lines changed Original file line number Diff line number Diff line change 119119 <None Include =" packages.config" />
120120 </ItemGroup >
121121 <Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
122+ <PropertyGroup >
123+ <TargetAssembly >$(TargetPath)</TargetAssembly >
124+ <TargetAssemblyPdb >$(TargetDir)$(TargetName).pdb</TargetAssemblyPdb >
125+ </PropertyGroup >
122126 <Target Name =" AfterBuild" DependsOnTargets =" RGieseckeDllExport" >
123- <Copy SourceFiles =" $(TargetPath)" DestinationFiles =" $(PythonBuildDir)\clr.pyd" />
127+ <Copy SourceFiles =" $(TargetAssembly)" DestinationFiles =" $(PythonBuildDir)\clr.pyd" />
128+ <Copy SourceFiles =" $(TargetAssemblyPdb)" Condition =" Exists('$(TargetAssemblyPdb)')" DestinationFiles =" $(PythonBuildDir)\clr.pdb" />
124129 </Target >
125130 <Import Project =" ../../packages/UnmanagedExports.1.2.6/tools/RGiesecke.DllExport.targets" Condition =" Exists('../../packages/UnmanagedExports.1.2.6/tools/RGiesecke.DllExport.targets')" />
126131</Project >
Original file line number Diff line number Diff line change 172172 <ProjectExtensions >
173173 <VisualStudio AllowExistingFolder =" true" />
174174 </ProjectExtensions >
175+ <PropertyGroup >
176+ <TargetAssembly >$(TargetPath)</TargetAssembly >
177+ <TargetAssemblyPdb >$(TargetDir)$(TargetName).pdb</TargetAssemblyPdb >
178+ </PropertyGroup >
175179 <Target Name =" AfterBuild" >
176- <Copy SourceFiles =" $(TargetPath)" DestinationFolder =" $(PythonBuildDir)" />
180+ <Copy SourceFiles =" $(TargetAssembly)" DestinationFolder =" $(PythonBuildDir)" />
181+ <Copy SourceFiles =" $(TargetAssemblyPdb)" Condition =" Exists('$(TargetAssemblyPdb)')" DestinationFolder =" $(PythonBuildDir)" />
177182 </Target >
178183</Project >
Original file line number Diff line number Diff line change 189189 <ProjectExtensions >
190190 <VisualStudio AllowExistingFolder =" true" />
191191 </ProjectExtensions >
192+ <PropertyGroup >
193+ <TargetAssembly >$(TargetPath)</TargetAssembly >
194+ <TargetAssemblyPdb >$(TargetDir)$(TargetName).pdb</TargetAssemblyPdb >
195+ </PropertyGroup >
192196 <Target Name =" AfterBuild" >
193- <Copy SourceFiles =" $(TargetPath)" DestinationFolder =" $(PythonBuildDir)" />
197+ <Copy SourceFiles =" $(TargetAssembly)" DestinationFolder =" $(PythonBuildDir)" />
198+ <Copy SourceFiles =" $(TargetAssemblyPdb)" Condition =" Exists('$(TargetAssemblyPdb)')" DestinationFolder =" $(PythonBuildDir)" />
194199 </Target >
195200</Project >
Original file line number Diff line number Diff line change 141141 </ProjectExtensions >
142142 <PropertyGroup >
143143 <PythonBuildDir Condition =" '$(PythonBuildDir)' == '' " >$(SolutionDir)</PythonBuildDir >
144+ <TargetAssembly >$(TargetPath)</TargetAssembly >
145+ <TargetAssemblyPdb >$(TargetDir)$(TargetName).pdb</TargetAssemblyPdb >
144146 </PropertyGroup >
145147 <Target Name =" AfterBuild" >
146- <Copy SourceFiles =" $(TargetPath)" DestinationFolder =" $(PythonBuildDir)" />
148+ <Copy SourceFiles =" $(TargetAssembly)" DestinationFolder =" $(PythonBuildDir)" />
149+ <Copy SourceFiles =" $(TargetAssemblyPdb)" Condition =" Exists('$(TargetAssemblyPdb)')" DestinationFolder =" $(PythonBuildDir)" />
147150 </Target >
148151</Project >
You can’t perform that action at this time.
0 commit comments