Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/linguist/languages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8556,6 +8556,7 @@ XML:
- ".ps1xml"
- ".psc1"
- ".pt"
- ".pubxml"
- ".qhelp"
- ".rdf"
- ".res"
Expand Down
20 changes: 20 additions & 0 deletions samples/XML/Win64.pubxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<Project>
<PropertyGroup>
<Configuration>Release</Configuration>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<SelfContained>true</SelfContained>
<PublishSingleFile>false</PublishSingleFile>
<PublishDir>../publish/win-x64/</PublishDir>
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
<IncludeAllContentForSelfExtract>false</IncludeAllContentForSelfExtract>
<PublishTrimed>true</PublishTrimed>
</PropertyGroup>

<Target Name="RemovedUnusedRuntimes" AfterTargets="Publish">
<ItemGroup>
<RuntimesToDelete Include="$(PublishDir)runtimes\win-x86" />
<RuntimesToDelete Include="$(PublishDir)runtimes\win-arm64" />
</ItemGroup>
<RemoveDir Directories="@(RuntimesToDelete)" />
</Target>
</Project>
1 change: 1 addition & 0 deletions test/test_strategies.rb
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ def test_xml
"#{samples_path}/XML/obj_control.object.gmx",
"#{samples_path}/XML/MainView.axaml",
"#{samples_path}/XML/Robots.slnx",
"#{samples_path}/XML/Win64.pubxml",
]
assert_all_xml all_xml_fixtures("*") - no_root_tag

Expand Down