Keith Elder Microsoft MVP

Slides:



Advertisements
Similar presentations
1 Unit 02. Visual Studio Visual Studio.NET Creating Projects Project Anatomy Using the IDE Code Snippets.
Advertisements

Introduction to HT-IDE3000 Micro-C development System Department.
Visual Studio.NET: Tips, Tricks, & Toys by Kevin Grossnicklaus.
DEV-2: Getting Started with OpenEdge® Architect – Part I
Using Eclipse. Getting Started There are three ways to create a Java project: 1:Select File > New > Project, 2 Select the arrow of the button in the upper.
1 Lab Session-II CSIT 121 Fall 2000 Visual Studio Introduction Lab-1 Explanation and Demos Debugging Tips How to add new files to your projects How many.
E.1 Eclipse. e.2 Installing Eclipse Download the eclipse.installation.exe from the course web site to your computer and execute it. Keep the destination.
CS 1400 Using Microsoft Visual Studio 2005 if you don’t have the appropriate appendix.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Using Visual C++ and Pelles C
Eclipse IDE. 2 IDE Overview An IDE is an Interactive Development Environment Different IDEs meet different needs BlueJ and DrJava are designed as teaching.
Creating a Console Application with Visual Studio
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Microsoft Visual Basic 2005 CHAPTER 8 Using Procedures and Exception Handling.
Microsoft Excel 2007 © Wiley Publishing All Rights Reserved. The L Line The Express Line to Learning L Line.
Using Visual Studio 2013 An Integrated Development Environment (IDE)
IT 211 Project Integration and Deployment Lab #11.
Intro to C++. Getting Started with Microsoft Visual Studios Open Microsoft Visual Studios 2010 Click on file Click on New Project Choose Visual C++ on.
MLC CAD Systems Introducing… Presented by: John McCord How to customize.
Win’XP keyboard short cuts CTRL CTRL (Copy the selected item) CTRL+SHIFT CTRL+SHIFT (Create a shortcut to the selected item) CTRL+RIGHT ARROW CTRL+RIGHT.
Lecture Set 2 Part B – Configuring Visual Studio; Configuration Options and The Help System (scan quickly for future reference)
Creating a Project with C++ Builder
DEV339 Best Practices for Debugging Visual Studio.NET Applications Keith Pleas Architect, Guided Design
1 INF160 IS Development Environments AUBG, COS dept Lecture 06 Title: Dev Env: Visual Studio (Extract from Syllabus) Reference:
Program Design and Coding
Tutorial 11 Five windows included in the Visual Basic Startup Screen Main Form Toolbox Project Explorer (Project) Properties.
Introduction In The Name Of Allah, The Beneficent, The Merciful.
Active-HDL Interfaces Debugging C Code Course 10.
Programming with Visual C++ A short review of the process.
Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )
Programming with Visual Studio 2005.NET A short review of the process.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 8 Debugging, Creating Executable Files, and Distributing a Windows Application.
Programming with Visual Studio.NET A short review of the process.
ASNApalooza 2007 by Roger Pence ASNA Education Director Visual Studio tips, tricks, and traps Visual Studio is a rich and deep product. Here are a few.
1 Getting Started with C++. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Visual Studio 2008.
Bit-DSP-MicrocontrollerTMS320F2812 Texas Instruments Incorporated European Customer Training Center University of Applied Sciences Zwickau (FH)
DEV330 Visual Studio.NET IDE Tips and Tricks Billy Hollis Author / consultant.
Using Visual Studio C++ Express Ron Gross A current copy of this can be found at or this direct linkhttp://tinyurl.com/2ucarothis.
Taking Control of Visual Studio through Extensions and Extensibility Anthony Cangialosi Senior Program Manager Lead Microsoft Corporation DEV311.
Lab00-Getting Started with VC Launch VS 2005 Launch Visual Studio 2005 – Start > All Programs > Microsoft Visual Studio 2005 > Microsoft Visual.
Object-Oriented Application Development Using VB.NET 1 Chapter 2 The Visual Studio.NET Development Environment.
Open project in Microsoft Visual Studio → build program in “Release” mode.
Debugging tools in Flash CIS 126. Debugging Flash provides several tools for testing ActionScript in your SWF files. –The Debugger, lets you find errors.
11 Getting Started with ASP.NET Beginning ASP.NET in C# and VB Chapters 1 and 2.
Jump-Start WDSc-RSE by Robert Arce from PrismaTech. Jump-Start WDSc-RSE Presented by: Robert Arce.
Visual Basic.Net. Software to Install Visual Studio 2005 Professional Edition (Requires Windows XP Pro) MSDN Library for Visual Studio 2005 Available.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Programming and Debugging with the Dragon and JTAG Many thanks to Dr. James Hawthorne for evaluating the Dragon system and providing the core content for.
Chapter 2 Build Your First Project A Step-by-Step Approach 2 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
Tutorial 1 Writing Your First C++ Program CSC1110C Introduction to Computer Programming By Paul Pun Acknowledgement: Special thanks to Dr. Michael Fung.
Increasing your Coding Speed in SQL Server Management Studio
Chapter 2: The Visual Studio .NET Development Environment
Programming and Debugging with the Dragon and JTAG
Eclipse Navigation & Usage.
Increasing your Coding Speed in SQL Server Management Studio 2017
Increasing your Coding Speed in SQL Server Management Studio 17
Computer Programming I
CENG2400 Tutorial 1 Keil IDE CENG2400 tutorial 1 v.7a.
Tips and Tricks in Visual Studio 2017
Visual Studio Advanced Features
Quick Start Guide for Visual Studio 2010
JMP User Group Meeting JSL Scripting101
Understanding the Visual IDE
Patrick Flynn | Link Group Australia
Our Environment We will exercise on Microsoft Visual C++ v.6
MS Confidential : SharePoint 2010 Developer Workshop (Beta1)
ECE 3567 Microcontrollers Lab
Presentation transcript:

Keith Elder Microsoft MVP

What Does Visual Studio Do? It is your IDEIt is your debugger It allows you to connect and manage databases and other servers It allows you to manage all of your projects via source control It allows you to build and deploy your software deliverables It allows you to write code faster. Unit TestingLoad TestingIt is your friend.

Start Screen of Visual Studio Dockable Windows Solutions and Projects Files are opened in tabs.

Your First Project

First Project: Console Application Basics You get a solution even though you didn’t ask for it Projects are green in C# Solution Facts

A solution is a deployable software deliverable. It is just a plain text file. The extension is.SLN There is also a user options file. A solution is made up of one or more projects. Solution folders allow devs to organize larger projects.

Solution Facts – File System Tip: User options should never be checked into source control. Most things in Visual Studio map directly to the file system.

Solution Facts – Solution Folders Tip: Solution folders aren’t “real” folders.

Project Facts Projects contain your code Projects are broken up based on separation of concerns Each file you see in a project relates precisely to a file in your file system. Projects are XML files Projects reference DLLs Projects can reference other projects Adding a folder to a project, adds a folder to your file system Different solutions can reference different projects.

Project Facts - Just XML

Solutions and Projects

Building Software: Ctrl-Shift-B The key shortcut ctrl-shift-b is how you can test your project to see if it compiles. Build errors show up in the Error List. Double click an error to jump to that line in your solution.

Build Configurations Configurations Provide Different build types (debug or release) Different CPU builds Which projects should or should not be built.

Build Facts The configuration determines where files will be copied to by default Project dependencies are built first, then the main project At least one solution must be set as the startup project Class library projects cannot be set as the startup project

Building your software

My code is perfect! How about yours?

Debugging Facts Allows you to stop your program in mid execution Provides full access to variables Start by setting a break point Press F5 to launch VS in debug mode Supports conditional break points F10 – Step over F11 – Step into Shift-F11 – Step out

Debugging – Visualizers

Debugging – Quick Watches

Finding those bugs

Coding Facts Intellisense as you type Ctrl-Space – shows intellisense window Code snippets save repetitive tasks Write your own! If you see code that has a red underline at the end, pay attention! Ctrl-K-C – comment code Ctrl-K-U – uncomment code Shift-Alt-down – highlight code in a block Ctrl-F – find text Ctrl-H – search and replace Ctrl-K-D – reformat document Bookmarks – mark your place and go back Ctrl-Tab – toggle between open files

I didn’t know I could code this fast!

Links Sara Ford – Visual Studio Tip of the Day Sara/dp/ /ref=sr_1_1?ie=UTF8&s=books&qid = &sr=8-1 Sara/dp/ /ref=sr_1_1?ie=UTF8&s=books&qid = &sr=8-1 (podcast with Sara)