Skip to content

Try to lock the mono manifest file to figure out which tests are upda… #24932

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
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
3 changes: 3 additions & 0 deletions src/Tests/Microsoft.NET.TestFramework/ToolsetInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,9 @@ public static ToolsetInfo Create(string repoRoot, string repoArtifactsDir, strin
dotnetRoot = Path.GetDirectoryName(ResolveCommand("dotnet"));
}

var manifestFile = Path.Combine(dotnetRoot,"sdk-manifests","7.0.100","microsoft.net.workload.mono.toolchain","WorkloadManifest.json");
File.SetAttributes(manifestFile,FileAttributes.ReadOnly);

var ret = new ToolsetInfo(dotnetRoot);

if (!string.IsNullOrEmpty(commandLine.FullFrameworkMSBuildPath))
Expand Down