Hello @André Verwijs
I would suggest you to re install .net framework and Visual studio blend installation to see if it resolve the issue.
Also, Please clean up C:\Windows\Temp and %AppData%\Local\Temo folder.
Hope this helps.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Microsoft Blend for Visual Studio Community 2022 Preview
Version 17.0.0 Preview 3.1
VisualStudio.17.Preview/17.0.0-pre.3.1+31612.314
Microsoft .NET Framework
Version 4.8.04161
Visual C++ 2022 00476-70000-00000-AA618
Microsoft Visual C++ 2022
C# Tools 4.0.0-3.21403.23+d51d1a7338e32d3a3cd1e5452665964ee8ec15df
NuGet Package Manager 6.0.0
ProjectServicesPackage Extension 1.0
ProjectServicesPackage Visual Studio Extension Detailed Info
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
Visual Basic Tools 4.0.0-3.21403.23+d51d1a7338e32d3a3cd1e5452665964ee8ec15df
Visual Studio IntelliCode 2.2
OS & Hardware:
OS: Microsoft Windows 11 Pro - Version 0.0.22000 Build 22000.184
Processor: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz, 3401 MHz, 4 core('s), 8 logische processor(s)
Totaal physical memory: 8 GB
when creating a new visual bacic project, i'm getting this...
The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: Form1 --- The base class 'System.Windows.Forms.Form' could not be loaded. Ensure the assembly has been referenced and that all projects have been built.
Call Stack :
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.EnsureDocument(IDesignerSerializationManager manager)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)
tips are welcome..
Hello @André Verwijs
I would suggest you to re install .net framework and Visual studio blend installation to see if it resolve the issue.
Also, Please clean up C:\Windows\Temp and %AppData%\Local\Temo folder.
Hope this helps.
Hello again,
Maybe you are trying to compile a x64 application? I have experienced this kind of issue as Visual Studio is a 32bit application, and if the designer is set for x64 instructions it will make it crash the compile.
To resolve this: Design your app using the "Any CPU" option. This will cause your code to JIT to 32-bit on 32-bit platforms and 64-bit on 64-bit platforms.The designer will work in "any cpu" because the assemblies get jitted to 32-bit. When you need to debug 64-bit specifically, switch your build configuration to 64-bit (knowing that you must switch back to "32-bit or "any cpu" do form design)
Hope this also helps in your case,
Best regards,