VS axml Edit and Continue in Xamarin.Android Projects - visual-studio

Is there any way to edit the .axml file of a Xamarin.Android project file, while debugging and see the updated changes live? Or is there any workaround for this?
I am coming from WPF and UWP, where we have the Xaml Edit and Continue feature, where you could edit the .xaml file while debugging and the changes would update the debug application in real time.
I know there is no such feature as .axml Edit and Continue in Visual Studio, but in WPF, before xaml edit and continue existed I was using the snoop workaround, where you could attach with another application to you debug application and change controls/ View Models properties live. The changes we're not persisted to the .xaml file, but it was enough for UI debugging.

The best workaround I could find is to inspect the application while debugging with Xamarin Inspector.
This won't update the .axml file, but for debugging purposes it is good enough.
Here's [minute 5:30] a short demo video on how it works.

Related

i can't find the design viewer option in my visual studio community

when I create a new project the first time I can see the Design viewer option, but when I close VS and reload the project the second time I can't see the design viewer anymore, I didn't find the solution please help!
When you open VS you may see the code page. If you want to see the designer view, click in the menu View and Designer. You can also use the shortcut SHIFT+F7. But first make sure, you opened the file in the project explorer.

Visual Studio WinForms Designer: Unable to Move Controls inside of TabPage

I am using a .net core 3.1 WinForms Application.
Moving controls works perfectly fine outside of a tab control, but the moment I place a control inside of a TabPage I am unable to move it again. I can no longer select it from the designer either, and the only way I can is to select it from the properties menu.
After I access it from there, the only thing I can do is resize it, as shown in the image below:
Things I tried:
Made sure the component was not locked.
Pressed escape (as per the solution here)
Rebuilt the solution.
Restarted Visual Studio.
Deleted Visual Studio's AppData folder.
Made sure my Dock property was set to none.
Ensured Visual Studio is on my primary monitor
I really want to use tab pages with my application, but I don't want to keep resizing it everytime I want to move something, so any help is greatly appreciated.
Update: I decided to switch my project from .Net Core to .Net Framework and it now works, so it must have something to do with .Net Core. I'll leave this open if anyone has a solution for .Net Core.

Where can I view Xcode generated code?

I work a lot of with the Visual Studio and I'm able to view auto-generated IDs and other stuff, when I'm adding some controls to the form via Designer window.
But, I don't know about XCode possibilities.
I've added some controls to the form and have bind some events to it.
Where does locate the generated code for the UI?
I want to view the source code of the generated code, which was created by the designer window.
xCode is different from Visual studio. Visual Studio provides lots of simplicity for development. xCode has it's own way of doing things.
Once you create a View typically you can see the code in associated ViewController class (.m) and header(.h)
Probably you need to have a look at the basics, these guide can help you in detail
http://www.hongkiat.com/blog/ios-development-guide-part1/
http://developer.apple.com/library/ios/navigation/

How can I programmatically refresh Visual Studio WPF designers?

Is it possible to programmatically refresh WPF designer windows in Visual Studio e.g. using DTE?
I have some design-time behaviour where I would like to refresh WPF designer windows after file system changes I have detected.
I have tried:
dte.ItemOperations.OpenFile(file) //where file is a xaml file
but this has no effect.
Update
I am looking for a solution where I do not close and then re-open the xaml file, as this is too heavy-handed. I'm looking for a way of getting WPF designers to reload\refresh as they do when the solution is rebuilt.
The best that i can think of is
dte.ActiveDocument.Close(vsSaveChanges.vsSaveChangesNo);
dte.ItemOperations.OpenFile(FileName);

Controls do not show up when dragging from toolbox

When I drag controls from the toolbox to an .aspx page or the designer for that page nothing shows up. I am using Visual Studio 2010 with an existing website project.
** Update
It seems to work now... I'm not sure if this was specific to one project, or a combination of things.
Is the project under source control or in a read only state?
I think the project is so messed up it just doesn't work. If I start a new project it works, so I'm going to leave it at that

Resources