Copy TestServer to Visual Studio 2026

This commit is contained in:
Matthias Heil
2026-04-08 14:24:40 +02:00
parent 49e94b9b45
commit b56974ec06
2 changed files with 21 additions and 1 deletions
+13 -1
View File
@@ -8,5 +8,17 @@
<ItemGroup>
<ProjectReference Include="..\NamedPipes\NamedPipes.csproj" />
</ItemGroup>
<Target Name="CopyToVs2026" Condition="Exists('$(OutputPath)\$(MSBuildProjectName).exe')" AfterTargets="AfterBuild" >
<Message Importance="High" Text="CopyToVs2026"></Message>
<ItemGroup>
<FilesToCopy Include="$(OutputPath)\$(MSBuildProjectName).exe;
$(OutputPath)\$(MSBuildProjectName).dll;
$(OutputPath)\$(MSBuildProjectName).runtimeconfig.json;
$(OutputPath)\PipeMethodCalls.dll;
$(OutputPath)\NamedPipes.dll;
$(OutputPath)\CommunityToolkit.Mvvm.dll;
"/>
</ItemGroup>
<Copy SourceFiles="@(FilesToCopy)" DestinationFolder="$(USERPROFILE)\Documents\Visual Studio 2026\Visualizers" SkipUnchangedFiles="True" />
</Target>
</Project>