Unable to add ContentPage in Xamarin.Forms - visual-studio

Are there any solution to this one? Searching google only gave 3 results and no possible solution. I updated my VS 2019 Preview to the latest version - Preview 2 due to P1 is having an issue with the DLL being used by another process and XF GitHub said, it was fixed in P2. It was fixed alright but it introduced a new painful error. I cannot add a ContentPage, event ContentView. I can add .cs, but .xaml.
Does anyone has a solution for this one?

Related

Joomla Content Editor not displaying helper lines around table cells on some computers

I recently installed the latest version of JCE (2.6.33) on top of Joomla 3.9.0 and discovered that the guidelines you get around table cells when creating K2 and Acymailing articles to show their outlines were gone. I'm referring to the "Visual Guidelines" as described at:
https://www.joomlacontenteditor.net/support/documentation/editor/editor-content
I then just happened to look on a different computer and they were still present. Both computers are Windows 7, both are running Firefox 63.0. The one with guidelines missing is a laptop, the other a desktop. I tried clicking the "Toggle guidelines/invisible elements" button and it did nothing.
I couldn't figure out a solution so I decided to revert to my old JCE version, 2.6.30, and that fixed the problem on my laptop but then CAUSED the problem on my desktop.
I've been reading forums, googling, trying everything I can imagine and just cannot figure out what might be causing this. Has anyone come across anything like this and, if so, how do you fix it?
Try installing the Web Developer Toolbar and delete some cookies. Seems like it might just be a change in how that setting is stored: https://chrispederick.com/work/web-developer

Sitecore installation wizard freeze

I need to install a package on my sitecore instance but for some reason when I click on upload button in the Intallation wizard the whole UI greys out and I can't even upload my package.
Its blocking me from moving forward
Your problem is this: http://getfishtank.ca/blog/fixing-showmodaldialog-javascript-error-in-chrome-for-sitecore
Sorry for the link-only answer, but this is a known issue with a known resolution path - and it's all summed up there.

MVVMCross How does this View get linked to the ViewModel?

I'm trying to figure out why I get an error message about not being able to find the right ViewModel when I'm running my iOS app.
The question I have is when I look at this example I don't understand where MainMenuView gets bound to MainMenuViewModel.
Can someone answer this for me?
Thanks,
PkL728
They are bound by class names: for XXXView should be corresponded XXXViewModel
Just want to add to the answer: double-check the names of the views after renaming (even Resharper renaming is not perfect). Spent several dozens of minutes (and a beer can), catching similar MvvmCross's error Could not find view for %ViewModelName%.
I'm getting this on a project that I've just upgraded to MvvmCross 4. I don't have much experience with MvvmCross, and the project hasn't been maintained for a few years, so it's possible something else is wrong.
I ended up hard coding the mappings in Setup::InitializeViewLookup because I don't have time to waste on it anymore.
For anyone who ends up here having the same problem I had. I was getting this error in an Android project because my (properly named) view was extending Activity and not MvxActivity (happens easily when you use Xamarin Studio's "Add Android Activity" feature)

Intellisense doesn't allow adding multiple css classes in class attribute of an element

I have just installed Visual Studio 2012 RC Ultimate on my Windows 7 x64 bit system.
I have several CSS classes in a CSS file and have referenced it properly. Now see how I am doing
I added a class in my a div element like
<div class="page">
when I put my cursor after page and before ">. And I press Space button, intellisense opens but it contains only item that I have already included, it is page.
I have to write all the other classes names completely by typing.
Please tell me if you are facing the same issue. If not, then someone please tell me how can I fix this.
Added Later
Here, I have reported this BUG in Microsoft Connect.
I have just installed VS 2012 Update 2 and was hoping to get this fixed and It is now fixed. No such issue anymore. Thanks to Microsoft for considering my Bug report.
It's a know issue with VS2012. Microsoft is aware of it and working on a fix (BUG 760316: Intellinsense does not work for adding multiple classes)
You can still add multiple classes, you just have to type them out.
This issue is now fixed with Visual Studio 2012 Update 2
Instead of typing spacebar alone, type Ctrl+Spacebar. it will show you all classes.
when you type only spacebar then it will show you classes starting with page.
Do following.
go to css file. copy .page class and paste immidiately below and rename it as page1.
go back to your repro steps and you will 2 classes in intellisense now. One "page" and another "page1".

Visual Studio model link not working correctly

First, let me explain what I have done:
I have installed the Visual Studio 2010 Feature Pack both on my local computer and on the TFS host.
The process is documented by Microsoft
I have a VS 2010 modeling solution with a component diagram.
I have created a work item of type Model (custom work item type).
I have created an association from a component in the component diagram, to the Model WI (using Link to Work Item)
The component diagram correctly links to the Model WI
The Model WI correctly contains a model link to the component in the component diagram
Problem: When I click the model link in the Model WI 'All links' tab, I get the following error:
Cannot find the linked model element. The corresponding diagram file or modeling project might have been renamed, moved, or deleted. To fix the link, click the Edit Link button in this work item to re-link the element
I tried to do exactly this, by re-selecting the component using the 'Select model element' dialog. The error is not resolved.
I tried to delete the link and re-create it by creating a new model link. The error is not resolved.
The link looks like this:
ModelLink: modelbus://ComponentDesignerAdapter.1.0/SystemComponentOverview/Architecture::ComponentName/$source control location/filename%comonent-guid
This works perfectly for another modeling project. The error only occurs in this specific modeling project, however it affects more than one component (I do not know if it affects all components in this project)
So my question is this. What could possibly cause this error?
Update: We just realized the error only occurs on my computer. When my colleague attempts to follow the link, the diagram opens correctly. I have tried 'Get latest version' from source control and restarting Visual Studio. Nothing has resolved the issue.
Update 2: I tried creating a new workspace, to no avail. At this point I am concidering re-installing Visual Studio, but I'll hold it off a day or so in case someone knows what might be causing this.

Resources