I'm trying to do some Android C# app development for the first time. Iv installed Xamarin for VS2015 and I'm able to create, build, and start an Android Xamarin Project. The only problem is when I add an Android Layout, I can see the .axml source, but not the design view. No matter how many times I click on it, it keeps the source view open. This is quite confusing and aggravating as there are no errors or warnings being displayed. Any help would be greatly appreciated.
Here is a GIF of me trying to click on the Designer tab profusely:
Solved. I instead opened main.axml in the layout folder which allowed it to load in some files for a few seconds and showed the designer.
In your Solution Explorer, right click on an axml file and select "Open With". As one of the options, you should see "Android Designer". Open it with that. In addition, you can reset it as the Default by clicking the "Set As Default" button.
asp below link:
https://forums.xamarin.com/discussion/5233/visual-studio-plugin-cant-switch-between-source-design-anymore
Related
I'm trying to port my C# Windows Form project from .csproj to CSharp CMake CMakeLists.txt. I successfully made CMakeLists.txt similar to here. The only problem is when the project opened with CMakeLists.txt, the Form Designer is not available (as shown below). Is it any way to fix the problem?
csproj:
CMakeLists.txt:
Your second image (from your CMake-generated project) is in a different View than the first image. The first image is the Solution View, in which the Form1.cs and Form1.Designer.cs files are grouped to show that the Form Designer is available. The CMake (second) image is showing the Folder View, which does not group the two files together.
CMake does not control what view you see in Visual Studio, your Visual Studio IDE controls this. The toolbar across the top of Solution Explorer has a button (called "Switch Views") to switch from a solution view to a folder view (and vice versa). You can use this to switch your perspective back to Solution View so the Form Designer is shown.
Note: This button has a bug in Visual Studio 2019 (see here), so switching back to Solution View may not work as expected. I've worked around this issue by simply closing and re-opening the Solution.
When you open the solution file (via File > Open > Project/Solution...), your default View should be the Solution View, and the Form Designers for your forms sources should be accessible. If you open the solution by doing File > Open > CMake..., your default View will be Folder View, which is not what you want.
in the last few days i was programing a project in visual studio express 2013. I saved it last night. Today, i cant view it properly. I can't view designer mode or view my coding. Help. When I open the project, it only shows me the files on the solution explorer, but nothing on the main screen. How can i go back to the moment where i was able to program just after i click open project?
When i click on form1.cs and chose view designer this happens : There is no editor available for filename.cs Make sure the application for the file type (.cs) is installed . I need help please. The code was in c#
Its Not a Programming Question But about Visual studio express 2012.
Trying to create a new report in the visual studio 2012 but can not see the list of data sets, parameters etc: In general tab i am seeing this
"There are no usable controls in this group. Drag an item onto this text to add it to the toolbox"
I have searched to fixed it but not succeeded till now..
I came across this same issue today and read plenty of things such as "this is VS bug...." but the solution was much simpler than that, I just needed to stop debugging (Shift+F5).
If that doesn't work, I recommend restarting the IDE.
If this doesn't work, I guess that uninstalling VS and doing a fresh installation is the answer you're looking for. It's important to note that it's recommended to restart Windows after installing VS and before launching it.
Right click on the Toolbox and press "Show All"
Right click on Toolbox, Click on "choose Items.". Restart IDE. That worked for me.
Right click on Toolbar and select: Reset Toolbox.
MFC controls will reappear.
I also had this problem, and it turned out I was trying to open the wrong toolbox: what I was actually looking for was the 'SSIS toolbox'. If none of the other options have worked, try selecting View -> Other Windows -> SSIS Toolbox. That fixed it for me.
[I found this out from this blog by James Serra]
In VS 2015, the SSIS Toolbox is under SSIS tab, not under View.
"There are no usable controls..." is shown when you have currently opened a file that is not designer file (e.g. "Form1.cs"). Once you open the designer file (e.g. "Form1.Designer.cs") the items should be shown again.
Just hover over the design and then press escape. A control that you had selected and not dropped is holding up memory.
This happened to me, and it was because I was currently debugging. Once I ended debugging, the usable controls appeared.
When I open form designer, it freezes - shows a blank page or what was shown before. This is how it looks:
I have FormMain.cs [Design] opened, but it shows contents of the tab that was there before (also it causes another issue in solution explorer, but that gets solved when I click anywhere in the solution explorer). I tried deleting the .suo file, but it didn't solve the issue.
Also for some reason, I can right-click and lock controls, then unlock and it solves the issue temporarily, when I open another tab and go back to the designer, it's frozen again. It happens only for FormMain.cs, the other 2 forms are okay, so I thought it might be something in the designer code - http://pastebin.com/AxTdEbg3 - but even if I delete all the controls from FormMain.Designer.cs, it still freezes.
I have Hotfix (KB2635973) and Service Pack 1 (KB983509) for Visual C#, .NET Framework 4 SP1 (but the project uses 3.0). Thanks for all answers, if you need some more information (like the whole project folder), then I'll upload it.
I am developing a Win Forms with C# in Visual Studio 2012 RC.
The Problem is my project is not creating
example.XmlSerializers.dll
in
*\bin\Debug directory of my project.
This problem occur when i publish the project using Click Once.
What i have done already to get rid of this problem.
In Project's properties Build Tab. i have set Generate Serialization Assembly = ON
In project's properties Publish Tab. I clicked on Application Files Button and select example.XmlSerializers.dll = Include
I have searched on Google but didn't find the satisfactory answer.
Please Help. I am in trouble. How can i get rid of it. I will be very very thankful.
If you build your application, do the dll's show up in the \bin\debug folder? If do, then build the application, then open the Application Files dialog (in the Publish tab of your main project's properties). At the bottom of the screen, check "Show all files". Those dll's should show up. Set them to "Include" and "Required".
I found this link, which helped me sort out the problem.
Seems that the "Publish Now" button has a bug which doesn't include the [application_name].XMLserializers.dll. If you select the "Publish Wizard" button instead, your missing files should be included...