Skip to content

Commit

Permalink
Just create the C# file with colon on name on Linux, keep the csproj …
Browse files Browse the repository at this point in the history
…always there (#82724)
  • Loading branch information
thaystg authored Feb 27, 2023
1 parent 59e75aa commit b2106ae
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,6 @@
<Target Name="CreateProjectWithColonInSourceName"
Condition="!$([MSBuild]::IsOSPlatform('windows'))">
<PropertyGroup>
<CsprojContent>
<Project Sdk="Microsoft.NET.Sdk">
</Project>
</CsprojContent>
<CsContent>
namespace DebuggerTests
{
Expand All @@ -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)"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<Project Sdk="Microsoft.NET.Sdk"></Project>

0 comments on commit b2106ae

Please sign in to comment.