Skip to content

Fix Csc task usage in the FileTrackerTests.cs #12063

@AR-May

Description

@AR-May

Some of the (currently skipped) tests in the FileTrackerTests.cs use Microsoft.CodeAnalysis.BuildTasks.Csc task from Microsoft.CodeAnalysis.Build.Tasks package. This nuget package was discontinued. We would need to reconsider this type usage if/when we are going to enable the tests back. There are several options:

  1. Replace Csc usage with some mock class. We probably do not need to really generate executables during tests.
  2. Or consider using Csc task from Microsoft.Net.Compilers.Toolset or maybe Microsoft.Net.Compilers, see Replacement for Microsoft.CodeAnalysis.Build.Tasks package roslyn#78956

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions