Why richtextblock not supported? - wpf

I'm trying to add richtextblock to my project in Xaml .NETFrameWork 4.7
and I'm getting errors-
It's important to note that I can not find it in the toolbox, should it be there?
I googled I did not find any place that says something needs to be installed, I would love for you to help me
Thank you

Related

Binding Native C library in Xamarin project

I am currently have an issue of binding c library. I am following the introduction from this link to bind C library in Xamarin project: https://www.youtube.com/watch?v=ZUoPLcmnf1o (It is a Xamarin Unversity Turtorial regarding binding c/c++ library, I literally did the same thing except those caused by environment differences ). However, I am stuck at the last step: using functions from the c library in the Xamarin project, it always shows "Native linking failed, undefined symbol *". I have tried to solve it for around 2 days, but did not go any further, may I ask for your help? Thank you very much in advance.
Environment: iOS: macOS High Sierra, xcode: 10.1, SDK: 12.1, IDE: Visual Studio for Mac
Does anyone has followed the same tutorial before and know how to do it? I am totally stuck on this. Any suggestion welcome.
This is an overview of the approach which also refers to this step-by-step guide will give an idea of how to prepare the binding for c/cpp. The is also a video with a quick demo.

Reference System.Windows.Forms

Inside a console application (.net 4.5 using vs 2013), it's just not possible for me to add a reference to this lib.(System.Windows.Forms). Have started the new console proj many times from scratch to no avail. Any clues? this seems like a very simple task... but well, it's anything but. (thanks)
NO there is no such issue with console application when we add reference with Windows.Forms library.
Close your visual studio and try again.
Well.... this was interesting. Started playing with the property settings and set the target framework to 4 client and was finally able to add the library. Tried to run and it didn't, then changed it back to .net 4.5 full and set the build platform target as x86 as someone suggested here on SO... and yes !! it worked. So, basically playing around with those settings got me running, but still think it might have been an environment issue and not the platform itself. ... thanks !

Visual Studio error while debugging : FileNotFoundException: arimon__.ttf and arimonbd.ttf, ArgumentException Culture name 'UG' not supported

I red the question/answer:
Locating the source of managed exceptions that aren't coming directly from my code? at stack overflow but couldn't really figure it out how to really fix my problem instead of creating a new culture to hide the problem.
Does anybody else had the same problem or have a suggestion ?
I have Windows Vista Enterprise French(initial installation) but running in English.
Edited: ...
I have fixed (or hide) my problem by changing the 3 projects configuration of my solution from target frameworks 3.5 to 4. The problem disapear but I would really like to know what was the cause of it. Any good advise that could lead me to understand what was the cause will get the "Right answer"...
I have fixed (or hide) my problem by changing the 3 projects configuration of my solution from target frameworks 3.5 to 4. The problem disapear but I would really like to know what was the cause of it.

Silverlight 4 OOB White Screen of Death. Failed to load pre-requisites for the application

I'm developing a SL4 OOB application that has suddenly started giving me the white screen of death.
If I try to run it 'in-browser' and check the console I can see the error 2105 : 'Failed to load pre-requisites for the application' but there's very little info about it anywhere.
None of my breakpoints get hit. Even starting the app with F11 (step into) doesn't get me anywhere.
I can run other Silverlight projects just fine so it's not the runtime. I've even copied the source into another project to see if that might help but to no avail.
Does anyone have any ideas how I might get started fixing this?
I have seen this myself and it was a pain..
What I had to do was a system restore, de-installed all traces of Silverlight and Blend and then reinstalled them all. However I had also just installed Silverlight 5 RC which didn't play nicely with Telerik and might have been the problem.
There is also some information about this error here:
http://connect.microsoft.com/VisualStudio/feedback/details/530074/unhandled-error-in-silverlight-application-2105-when-building-as-an-x86-configuration.
Is this your problem?
Damn it, I hate answering my own questions but the problem was quite obscure.
Somehow, I managed to get a regular .Net reference in my Silverlight project through a Nuget package. That was it.
DOH!

Silverlight Web Project shows install icon when debugging

When I add a Silverlight project to a blank solution, it asks me whether I want to add a web project to host the silverlight page or automatically generate a test page. Oddly enough, when I automatically generate a test page, everything in fine. However, when I add the web project I have problems.
I first get an error saying that it needs System.Web.Silverlight.dll in the bin folder of the web, so I do this. Then when I run it, all I get is the “Install Silverlight” icon. I’ve tried playing with and/or removing the minimum version tag and the version tag, but I just can’t seem to get it to work that way.
Has anyone had this problem before? If so, how did you get around it?
Sounds like you've got an old toolkit installed or the project template is corrupt.
Try a re-install the lattest Silverlight Tools for Visual Studio
To get rid of the first error, go to your references in your web project, and go to the properties for System.Web.Silverlight and go to its properties. Make CopyLocal true.
To get rid of the install icon problem, go to the Silverlight control markup in your aspx page and remove the MinimumVersion attribute. This doesn't seem like te most ideal solution, but at least one can debug.

Resources