-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix debugging the child process in VS.
Using NuGet central package management unintentionally lead to the removal of the EnvDTE Version attributes in the .targets file.
- Loading branch information
Showing
3 changed files
with
22 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
<Project> | ||
<ItemGroup> | ||
<PackageVersion Include="EnvDTE" Version="17.8.37221 " /> | ||
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.6.0" /> | ||
<PackageVersion Include="xunit" Version="2.4.2" /> | ||
<PackageVersion Include="xunit.runner.visualstudio" Version="2.4.5" /> | ||
|
||
<!-- !! Also update EnvDteVersion in Tmds.ExecFunction.targets. --> | ||
<PackageVersion Include="EnvDTE" Version="17.8.37221" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,23 @@ | ||
<Project> | ||
<ItemGroup Condition="'$(Configuration)' == 'Debug'"> | ||
<PackageReference Include="EnvDTE" /> | ||
<PropertyGroup> | ||
<EnableTmdsExecFunctionVsDebugging Condition="'$(EnableTmdsExecFunctionVsDebugging)' == '' And '$(Configuration)' == 'Debug'">true</EnableTmdsExecFunctionVsDebugging> | ||
<EnvDteVersion Condition="'$(EnvDteVersion)' == ''">17.8.37221</EnvDteVersion> | ||
</PropertyGroup> | ||
|
||
<ItemGroup Condition="'$(EnableTmdsExecFunctionVsDebugging)' == 'true' And '$(ManagePackageVersionsCentrally)' != 'true'"> | ||
<PackageReference Include="EnvDTE" Exclude="@(PackageReference)" Version="$(EnvDteVersion)" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(EnableTmdsExecFunctionVsDebugging)' == 'true' And '$(ManagePackageVersionsCentrally)' == 'true'"> | ||
<PackageVersion Include="EnvDTE" Exclude="@(PackageVersion)" Version="$(EnvDteVersion)" /> | ||
<PackageReference Include="EnvDTE" Exclude="@(PackageReference)" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(EnableTmdsExecFunctionVsDebugging)' == 'true'"> | ||
<VsDebuggerFile Include="$(MSBuildThisFileDirectory)\..\tools\any\vsdebugger\**\*" /> | ||
</ItemGroup> | ||
<Target Name="CopyVsDebuggerFileOnBuild" Condition="'$(Configuration)' == 'Debug'" BeforeTargets="Build"> | ||
|
||
<Target Name="CopyVsDebuggerFileOnBuild" Condition="'$(EnableTmdsExecFunctionVsDebugging)' == 'true'" BeforeTargets="Build"> | ||
<Copy SourceFiles="@(VsDebuggerFile)" DestinationFolder="$(TargetDir)\" /> | ||
</Target> | ||
</Project> | ||
</Project> |