Using MS Visual Studio Community 2015 (Update 2), I have started a C# Universal application and I want to set its icon. The information here states where it should be and indeed where I thought it would be, but its not.
Am I missing an intrinsic part of setting my application up?
This is what I see where I would expect to see icon options: -
(This is my first venture in C#!)
The process (and link) you describe is for a Windows application, not an UWP application.
See this post for the instructions on setting up the icon of an UWP app.
Related
I'm learning how to design a Windows Forms Application in Visual Studio 2017. The tutorial asks me to create a new project using the File -> New -> Project option and selecting 'Windows Forms Application' in the new project dialog box.
However, when I explore this option in Visual Basic, my New Project dialog window only has three options, and the Windows Forms Application is not one of them (see screenshot - attached).
Just wondered if anyone might be able to suggest how to get this option to appear? I have tried looking for the correct option in the Visual Studio installer, but I cannot find it their either.
Screenshot attached.
Because you need to install it.
Go to Visual Studio Installer from the start and check the checkbox .NET Desktop Development.
After that restart the VS 2017.
Open Visual Studio Installer, ‘Modify’ your installation and install the ‘.Net Desktop Development’ workload.
Add "Universal Windows Platform development" to your work load
Visual studio community
The title says it all, I was just beginning learning Xamarin and installed VS Community 2015 and Xamarin.Android. I was guided by this link.
I started the sample project, the Phoneword app flashed on my Android 5.1 Oppo but not with the elements (e.g. Text Field, Button, etc).
Any ideas?
It just happened that Visual Studio by default comments out the line of code that set the main layout as the current Activity layout. Its now working all fine except that I need to find another software for the emulator because its taking me forever to boot one. Thanks!
I am getting started on C# and installed Microsoft blend for visual studio and my newproject window looks like below.
I am looking for console application as shown in below screeshot,how do I get it?
EDIT1:
how do I launch visual studio IDE?
Use Visual Studio, not Blend, to create a new Console Application.
More info on Blend and it's uses.
Blend is an interface design tool and therefore can't be used to build console apps... Try Visual Studio Community instead.
Just going along with what everyone else is saying, Visual Studio 2015 COMMUNITY EDITION is free to download and fully featured. Great tool, if anything it has too many uses. I believe it may even have most of the Visual Basic features built in.
https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx
From the Microsoft Blend Website:
Microsoft Expression Blend is a full-featured professional design tool for creating engaging and sophisticated user interfaces for Microsoft Windows
Which a console application is not; is has basically no UI. You should keep on using Visual Studio for console application.
You can likely make the console window appear in almost any application simply by using Console.WriteLine you can also create an arbitrary console by launching one:
Is there a way to create a second console to output to in .NET when writing a console application?
Legacy Services were default are not User Interactive and thus have no console easily viewable..
There's probably a really quick and easy solution to this but I was not able to find it in search. In a nutshell, created a windows 8.1 desktop project a while back in VS2013 on windows 10. Had to rebuild the win10 machine. Installed VS 2015 this time around. enable develop mode, crack open the same solution (project targets windows 8.1).....but my only debug options are my installed web browsers. It's as if VS has it confused as being a web app. Everything in the property pages looks correct. Any ideas?
Create a new desktop project in VS 2015, and then use a tool like winmerge or other diff tool to diff the project/solution files (your real one and the new one). That should show you what is incorrectly making VS treat it like a web project.
It was just me being a numb skull. Hadn't worked in VS in a while, had added a couple web projects to the solution right before walking away from it last, forgot to set windows 8 project as startup project. smh {-_-}
I'm working through the Head First C# (3rd ed) text with instructions specific to VS 2012 and I'm having trouble finding the equivalent in VS Community 2015.
The text says to begin a new project with Windows Store -> Blank App (XAML) but I don't see that as an option in my version of VS. The closest I could find was Windows Forms Application but that doesn't seem to be right since it didn't generate the MainPage.xaml among other things.
WPF is the closest you can get if you're not on Windows 8, the book says it too and it links to here where you can get the WPF version of the chapters.
You are right, a Windows Forms Application will be very different. While it may not be identical, the:
New Project -> Visual C# -> Windows -> Windows 8 -> Windows -> Blank App (Windows 8.1) is probably the closest.
I had the same problem. But I'm using 2019 version.
The answer seems to be to install the Universal Windows Platform development package from the Visual Studio installer (Modify button).
Then you can search for the correct project type by first selecting C# as the language and then typing 'blank app' and selecting the Blank App (Universal Windows) option.