I have recently created a rehosted Workflow Designer application and noticed that the UI looks outdated when compared with how it looks in Visual Studio. Does anyone know which could be the problem?
No matter what version of .NET I'm using (for example 4.6 or 4.7), the UI still doesn't update. I have also followed the next article to enable Workflow 4.5 features, but without any success on the UI side.
(WF4.5) Enabling new .Net framework 4.5 features in your rehosted designer application https://blogs.msdn.microsoft.com/tilovell/2012/06/04/wf4-5-enabling-new-net-framework-4-5-features-in-your-rehosted-designer-application
In the rehosted WF application it looks like this:
While in Visual Studio 2017 Community Edition if looks like this (notice the updated colours, icons and toolbox):
Any clues? Thanks!
Related
Previously, I would be able to click on this arrow to edit the properties of RibbonControlAdv:
However, after migrating my project to .NET 5, I can no longer see the arrow:
I can, however, see it for the inner buttons:
What could cause this?
It seems this is a known issue and is in fact related to .NET Core. However, it doesn't seem like Syncfusion plans on fixing it as this issue must have been around since the start of .NET Core.
As a workaround, I created a .NET Framework 4.8 project to design the ribbon form, then copied the form over to the .NET 5 project.
I have read all the topics on this. I actually have it working on Visual Studio on one computer. I have used the installer to install the necessary work loads. I have tried downloading dotnet 5 and .net core 3.1. It just will not show up on the create projects window of Visual Studio. I only get WPF App(.NET Framework) or WPF App(.NET). I want to make WPF .netcore applications and this is a roadblock. Else, I can only make .Net Framework applications that can not be used for multi-platform development. I can make a core project in the Visual Studio with wpf .netcore template and then move it to my other computer and it works fine. The template just will not show up for core project (wpf). I am taking a wpf udemey course and it tells of the advantages of using core wpf in many applications.
Open the Visual Studio Installer (This is for VS2022, but the same should apply for 2019.)
Add the ".NET desktop development" Workload (see image below) which allows you to "Build WPF, Windows Forms, and console apps using C#, VB, & F#... "
And then it will appear (or should):
I saw set of people have the same problem and I tried some it, But I do not know why I still cannot see the design view!!
The output type is Windows Application.
Design view is working properly in VS 2013.
I created this project using MVVM Light Templates; So I do not know if there is a missing stuff in project file.
I also had the same problem until few minutes ago.
I've noticed that Blend 2013 on my PC was supporting up to .NET Framework 4.5.1
But the project on Visual Studio was done with .NET Framework 4.6.1
I changed the Framework to 4.5.1, since that was the latest Blend supports, and that was it. Problem solved.
you can go to
Tools>Options>Documents and in default document view option select which view you liked.
I followed the following link http://msdn.microsoft.com/en-us/library/aa349641.aspx and found out that my WPF version is 3.0.6920.2011 even though I have already installed .Net Framework 4.5 and Visual Studio 2012. How can that be? I can not write XAML to exploit the new features like Ribbon (cannot find it in the toolbox) with current version of WPF. Thanks.
Right click on References in your project in solution Explorer, choose Add Reference, then enter Assemblies -> Framework, find PresentationCore/PresentationFramework. There you can find version used by your projects.
Note that in some cases - for example if you want to use Ribbon presented in newer WPF, you will have to add suitable reference.
I am wondering whether it's feasible to host the Visual Studio 2010 editor in my WPF application - I understand the new editor is written in WPF.
If so, what control should I use?
Not an answer to your exact question (though I would bet that hosting part of vs.net isn't readily supported or licensed)...
SharpDevelop makes their code editor, Avalon Edit, available as a standalone. I'm using the beta WPF version and it is quite nice. It's got configurable syntax highlighting and auto completion support.
I can confirm that this is not supported in Visual Studio 2010 or Visual Studio 2008.
See http://blogs.msdn.com/wpfsldesigner/pages/general-wpf-and-silverlight-designer-faq.aspx item 5.
Thanks
Mark Wilson-Thomas
Program Manager, WPF & Silverlight Designer Team, Visual Studio
Not all of the Microsoft applications is based on the available-to-all controls. I don't see any reason, why the VS2010 should be the exclusion.
I'm sure the SharpDevelop one is probably the best option, however you could also look at ScintillaNET. This is used by MyGeneration and it very configurable.