Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import subprocess
import sys
import tempfile
import xml.sax.saxutils as _saxutils
from abc import ABC, abstractmethod
from pathlib import Path

Expand Down Expand Up @@ -2600,11 +2601,11 @@ def _compile_csharp(self, source_file: str, output_dir: str) -> tuple[bool, str]
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<OutputType>Library</OutputType>
<OutputPath>{output_dir}</OutputPath>
<OutputPath>{_saxutils.escape(str(output_dir))}</OutputPath>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
</PropertyGroup>
<ItemGroup>
<Compile Include="{source_path.absolute()}" />
<Compile Include="{_saxutils.escape(str(source_path.absolute()), {chr(34): "&quot;"})}" />
</ItemGroup>
</Project>
"""
Expand Down