Visual Studio Community 2017 Unparalleled productivity for any dev, any app, and any platform A free, fully-featured, and extensible IDE for creating modern applications for Windows, Android, and iOS, as well as web applications and cloud services.
Active6 months ago
Visual Studio
I installed Microsoft Visual Studio 2017 on my Mac recently, hoping to use it to program in C++. It appeared to install correctly, no errors occurred, but it seems to be missing support for C++. It will only allow me to make projects using C# and F#; I don't see C++ anywhere.
Searching around, many people suggest opening up the Visual Studio Installer and add 'C++ Tools' to VS. https://kidzgenerous474.weebly.com/sound-studio-for-mac.html. However, when I open up the visual studio installer, I only see the necessary packages to develop in Android, IOS, .NET, MacOS, and Xamarin.
Where is C++? Do I need to configure visual studio some other way to be able to use it for C++?
Shades
37211 gold badge33 silver badges1111 bronze badges
3 Answers
https://kidzgenerous474.weebly.com/visual-studio-for-mac-c.html. From these links- https://www.visualstudio.com/vs/community/ - https://social.msdn.microsoft.com/Forums/vstudio/en-US/c879ea3b-e834-402a-847c-8214078beaa1/visual-studio-for-mac-c-empty-project?forum=visualstudiogeneral
VS Mac does not support C++
SaadSaad
Check into this article on VS Code for Mac:VS Code for Mac
Talks about coding in C++ on Mac and how to install, configure, use, debug with etc. Haven't tried it personally.
SpankySpanky
2,81255 gold badges3131 silver badges3535 bronze badges
As @Saad stated, there is no support for C++ on Visual Studio 2017 for macOS.
If you want to program in C++ in macOS, you can go with Xcode.
dklimadklima
Not the answer you're looking for? Browse other questions tagged c++macosvisual-studio or ask your own question.
Active4 months ago
In MS Visual Studio Express 2013 for Windows Desktop:
I'm learning C# and following an example that shows how to create a user interface in a .xaml file. https://msdn.microsoft.com/en-us/library/jj153219.aspx
It appears from the tutorial (see Figures 7 & 8) that there should be some windows showing the GUI. However, when I try to open the .xaml file in the Solution Explorer, View Code (Ctrl + Alt + 0) and View Designer (Shift + F7) both present the same thing: just the code. How do I open up the GUI box?
Update -- Here are the .xaml file contents. Note: I'm trying to open a new C# WPF Application. This is the stock code that Visual studio produces.
No XAML UI Designer option:
No Full XAML View Setting:Thanks!
Can't See Design Tab In Visual Studio Community 2017 For Mac Free Download![]()
This is the version of Visual Studio that I downloaded. The description leads me to believe that the XAML UI Designer should be installed and that this shouldn't be an issue.
Express 2013 for Windows Desktop
Visual Studio Express for Windows Desktop lets you take full advantage of Windows with XAML designers, a productive IDE, and a variety of programming languages including C#, Visual Basic, and C++. Choose between Windows Presentation Foundation (WPF), Windows Forms, and Win32, to target the Windows desktop with the right technology for your application and your skills.
P3d0rP3d0r
27922 gold badges88 silver badges1919 bronze badges
17 Answers
Tools>Option>XAML Designer and enable XAML Designer worked for me.
PS: By default it is enabled. Fl studio 11 for mac. I disabled it due to VS performance issue and forgot about this change and end up facing same issue when I started working on WPF project.
Waqas AshrafWaqas Ashraf
I believe you are looking for XAML Designer and it can be loaded from here:
I am using Microsoft VS Community 2015 (final update)
(screenshot)
AhmarAhmar
I am not sure if I should post the answer here because it may not apply for VS Express 2013.
I have exactly the same problem using Visual Studio 2015 Community Edition.It turns out my project Target version is higher.
Try the following:
Let me know if it is not relevant and I will delete my answer.
Cheers,Sam
SamSam
XML designer can be disabled by Resharper in Resharper > Options > Performance Guide
I fixed my problem by turning off Resharper block, and restoring XML designer in Tools > Options
B. CaesarB. Caesar
In VS2017 v15.8.9 I found the designer wasn't displaying e.g. when right clicking in a xaml view's code pane and selecting View Designer.
Performing the following resolved it for me:I went into Tools > Options > XAML Designer and the Enable XAML Designer option was ticked.So, I unticked it, clicked Ok on the Options dialog to close it.
I exited and restarted Visual Studio and again went into Tools > Options > XAML Designer, ticked the Enable XAML Designer, clicked Ok, restarted Visual Studio, and it's now working.
mattpmmattpm
72011 gold badge1313 silver badges2323 bronze badges
Confirming Sam's answer for VS 2015; VS seems to have a reproducible feature:1. Create a new solution (Windows Universal, say)2. Create a new XAML view page in that solution3. If Designer won't load on that page, do what Sam says: Right click on your project in solution explorer and Change the Target version to Windows 10 (10.0; Build 10240).I had the same issue on a project, created a new test solution to explore the issue, and had the same problem. Sam's fix worked.
jbheliconjbhelicon
For some reason it used '(XML) Text Editor' as the default editor for XAML, to fix this you should right-click your file in the solution explorer then select 'Open with.' and select 'XAML UI Designer'
Eduardo WadaEduardo Wada
I have no idea what the issue was, but uninstalling and re-installing the same software did the trick.
Interesting
P3d0rP3d0r
27922 gold badges88 silver badges1919 bronze badges
Problem: XAML UI Designer not showing
Solutions: (different from and much more elegant than my earlier solution)
Solution 1: Open the .sln file:
My project is cloned from a git repository. When I open it from the Start Page it opens up with a whole list of files in the Solution Explorer. If I open any of the
.xaml files from that Solution Explorer they open with a XML editor which doesn't show the graphical XAML view.
At the very bottom of the Solution Explorer is a
.sln (solution) file. Opening that file then loads the file list I'm used to. If any .xaml files are open they will not have access to the Design view. Opening them and closing them at this point will load the Design view. If the Design view still doesn't appear see Solution 2 immediately below.
Solution 2: Click on Expand Pane:
At the bottom of the XAML editor window you may see a small icon with a double arrow (Expand Pane). If you do, it means that you've hidden the Design Pane. Click it and you should get the Design Pane back.
Version: Visual Studio 2017
Type of project: C# and WPF targetting .Net 4.5.2 with Console Application as the Output Type (for trouble-shooting purposes I've got it both as a WPF and a Console Application).
Problem Details:
I pulled a project I was working on from a git repository onto the problem computer (using all of Microsoft's in-built software and accounts). It was cloned successfully onto the problem computer and Visual Studio worked. After a pull from the repo the XAML UI Designer (Blend?) disappeared leaving me with only the XAML source.
An earlier solution I came across was to delete the
source directory from my local computer and pull a fresh clone of the project. That fixed my problem, however, now I've played with it and found two other reasons my XAML Design View was missing. I imagine that I didn't need to delete the folder and that these two solutions would've been sufficient.
Eric DEric D
FYI: This is a brute force method. I posted a much cleaner solution to my problem in a different answer.
Problem: XAML UI Designer not showing while using a git repository
Solution:Delete and recreate the project directory in
%USERPROFILE%sourceRepos .
Steps:
Version: Visual Studio 2017
Type of project: C# and WPF targetting .Net 4.5.2 with Console Application as the Output Type (for trouble-shooting purposes I've got it both as a WPF and a Console Application).
Problem Details:
I pulled a project I was working on from a git repository onto the problem computer (using all of Microsoft's in-built software and accounts). It was cloned successfully onto the problem computer and Visual Studio worked. After a pull from the repo the XAML UI Designer (Blend?) disappeared leaving me with only the XAML source. The solution (after trying some of the others listed here) was to delete the
source directory from my local computer and pull a fresh clone of the project.
Hint:
Deleting and re-creating the project may work for other cases as well. YMMV.
Eric DEric D
Most probably its set not to open the XAML in full XAML view. Try this
If you don’t see Text Editor in the Options menu, check the box Show all Settings in the bottom left of the Options window.
Saagar Elias JackySaagar Elias Jacky
2,46722 gold badges1010 silver badges2626 bronze badges
I had the same problem for a different reason. I had excluded-from-project the XAML file. When I clicked to edit it there was just the XAML code, no picture. It took a while to spot.
PaulustriousPaulustrious
LetzerWilleLetzerWille
3,61622 gold badges1212 silver badges2121 bronze badges
I know this is an old topic but my solution might help someone in the future.
I ran into the same problem with Visual Studio 2015 Community on Windows 7, where one of my xamarin android project's xaml files stopped showing the Designer tab below the XAML code, the other day.
I tried all the given solutions with no effect however, following in the footsteps of @Waqas, i found out that 'Use quadrant based layout' was unchecked while other checkboxes were ticked. To summarize:
VS 2015 community>Tools>Option>XAML Designer> check Use quadrant based layout
I then quit and restarted Visual Studio to find out the Designer tab to be there at the bottom left of the XAML code, alongside the Source tab. HTH.
ContemplativeCyborgContemplativeCyborg
What helped me was just like many other problems with Xamarin designer, close all tabs, clean solution, delete mohasmohas
bin and obj folders, rebuild the solution
1,10311 gold badge1010 silver badges1616 bronze badges
As of now, a designer has not been created for projects targeting .NET Core 3.
![]()
kot83kot83
This is my situation but might not apply to yours: I had the same issue but the fix is simple. Somehow my program is still running even I closed my WPF window. I have to stop debugging and then the designer page will automatically show up for me. Hope this works.
RogerSRogerS
Not the answer you're looking for? Browse other questions tagged c#wpfxamlvisual-studio-2013 or ask your own question.Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |