Remove ngen uninstall workarounds
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 20/100
- Issue type
- Refactor
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- docker
- Domain
- devops
Research direction
Start by locating the SDK image definitions containing the shown ngen uninstall commands and review the Visual Studio installer and ngen issues referenced in the issue. Done means those issues are addressed, the workaround commands are removed, and the affected images still build successfully.
Written by the indexing model from the issue text.
Description
Within the SDK images there are several ngen uninstall calls to remove assemblies that have been queued to be ngen'd but fail to ngen. In order to remove the workarounds, VS will need to address their issues first.
Example:
RUN `
# Workaround for issue with 32 bit assemblies from .NET Framework 4.8 SDK being 64 bit ngen'ed
\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen uninstall "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\SecAnnotate.exe" `
&& \Windows\Microsoft.NET\Framework64\v4.0.30319\ngen uninstall "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\WinMDExp.exe" `
`
&& \Windows\Microsoft.NET\Framework64\v4.0.30319\ngen update `
`
# Workaround VS installer/ngen issues
&& \Windows\Microsoft.NET\Framework\v4.0.30319\ngen uninstall "C:\Program Files (x86)\Microsoft Visual Studio\2019\TestAgent\Common7\IDE\VSWebLauncher.exe" `
&& \Windows\Microsoft.NET\Framework\v4.0.30319\ngen uninstall "C:\Program Files (x86)\Microsoft Visual Studio\2019\TestAgent\Common7\IDE\CommonExtensions\Microsoft\Editor\Microsoft.VisualStudio.Diff.CommandLineSwitch.pkgdef" `
&& \Windows\Microsoft.NET\Framework\v4.0.30319\ngen uninstall "C:\Program Files (x86)\Microsoft Visual Studio\2019\TestAgent\Common7\IDE\CommonExtensions\Microsoft\Editor\Microsoft.VisualStudio.Diff.pkgdef" `
`
&& \Windows\Microsoft.NET\Framework\v4.0.30319\ngen update
- Dominant language
- C#
- Stars
- 761
- Forks
- 349
- Avg merge
- 36m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/dotnet-framework-docker
-
area-dockerfiles
microsoft/dotnet-framework-docker#1297 · 1 comment · 1 assignee ·
-
untriaged
microsoft/dotnet-framework-docker#1278 · 3 comments · 1 assignee ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
microsoft/dotnet-framework-docker#1277 · 2 comments · 4 reactions ·
-
area-dockerfiles
microsoft/dotnet-framework-docker#1223 · 4 comments · 1 assignee ·
-
latest tag doesn't reference the latest version of .NET and doesn't include any 2025 Windows images Openarea-dockerfiles
microsoft/dotnet-framework-docker#1215 · 9 comments · 1 assignee ·
All issues in microsoft/dotnet-framework-docker
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:auth FE mvp P3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
klasolsson81/jobbliggaren#1788 ·