Skip to content
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

編譯器錯誤, 找不到 .net 4.0 #2000

Closed
DavidJosephLai opened this issue Feb 6, 2025 · 5 comments
Closed

編譯器錯誤, 找不到 .net 4.0 #2000

DavidJosephLai opened this issue Feb 6, 2025 · 5 comments
Labels
dotnet-framework/svc support-request Support-style question;customer needs help solving a problem [org][type][category] winforms/subsvc

Comments

@DavidJosephLai
Copy link

DavidJosephLai commented Feb 6, 2025

Type of issue

Code doesn't work

Description

下載 .net 開發人員套件, 它說已在系統裡, 無法安裝???
[請在此輸入您的意見]

Page URL

https://learn.microsoft.com/zh-tw/dotnet/desktop/winforms/controls/design-time-errors-in-the-windows-forms-designer?view=netframeworkdesktop-4.8&f1url=%3FappId%3DDev17IDEF1%26l%3DZH-TW%26k%3Dk(DTELErrorList)%3Bk(TargetFrameworkMoniker-.NETFramework%2CVersion%253Dv4.0)%26rd%3Dtrue

Content source URL

https://github.com/dotnet/docs-desktop/blob/main/dotnet-desktop-guide/framework/winforms/controls/design-time-errors-in-the-windows-forms-designer.md

Document Version Independent Id

f0ac6a95-eac8-64df-6bd8-d508e4103332

Article author

@adegeo

Metadata

  • ID: d1d72f14-cf02-36b6-9448-9617839ba915
  • Service: dotnet-framework
  • Sub-service: winforms

Related Issues

@DavidJosephLai
Copy link
Author

Note: This project is upgrade form VS2005 !

@DavidJosephLai
Copy link
Author

Note: In VS2005 is work well !

@adegeo
Copy link
Contributor

adegeo commented Feb 7, 2025

You need the project to select a .NET Framework SDK installed with Visual Studio 2022, most likely .NET Framework 4.8 or 4.8.1. VS2005 was probably targeting .NET Framework 3.5, which is no longer included with Windows.

@adegeo adegeo closed this as completed Feb 7, 2025
@adegeo adegeo added support-request Support-style question;customer needs help solving a problem [org][type][category] and removed ⌚ Not Triaged Not triaged labels Feb 7, 2025
@DavidJosephLai
Copy link
Author

DavidJosephLai commented Feb 9, 2025 via email

@DavidJosephLai
Copy link
Author

DavidJosephLai commented Feb 13, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dotnet-framework/svc support-request Support-style question;customer needs help solving a problem [org][type][category] winforms/subsvc
Projects
None yet
Development

No branches or pull requests

2 participants