Just create the C# file with colon on name on Linux, keep the csproj always there (#82724)

This commit is contained in:
Thays Grazia 2023-02-27 17:05:16 -03:00 committed by GitHub
parent 59e75aa1b8
commit b2106aeae6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 9 deletions

1
.gitignore vendored
View File

@ -363,5 +363,4 @@ src/coreclr/System.Private.CoreLib/common
# Temporary artifacts from local libraries stress builds
.dotnet-daily/
run-stress-*
debugger-test-with-colon-in-source-name.csproj
test:.cs

View File

@ -119,10 +119,6 @@
<Target Name="CreateProjectWithColonInSourceName"
Condition="!$([MSBuild]::IsOSPlatform('windows'))">
<PropertyGroup>
<CsprojContent>
<Project Sdk="Microsoft.NET.Sdk">
</Project>
</CsprojContent>
<CsContent>
namespace DebuggerTests
{
@ -136,10 +132,6 @@
}
</CsContent>
</PropertyGroup>
<WriteLinesToFile
File="../tests/debugger-test-with-colon-in-source-name/debugger-test-with-colon-in-source-name.csproj"
Lines="$(CsprojContent)"
Overwrite="true"/>
<WriteLinesToFile
File="../tests/debugger-test-with-colon-in-source-name/test:.cs"
Lines="$(CsContent)"

View File

@ -0,0 +1 @@
<Project Sdk="Microsoft.NET.Sdk"></Project>