Visual Studio 2017 is coming on March 7

VisualStudio2017LaunchEvent

Join us at 8:00 AM PST on March 7 for a two-day online event celebrating the launch of our latest version as well as 20 years of Visual Studio. Watch the live stream featuring Julia Liuson, Brian Harry, Miguel de Icaza, and Scott Hanselman as they share the newest innovations in Visual Studio, .NET, Xamarin, Azure, and more. After the keynote, Microsoft engineers will lead interactive technical demo sessions to help you get the most out of Visual Studio 2017 and the rest of our tools and platform.

On March 8, we’ll help you get productive even faster by hosting a full day of live interactive trainings. Don’t forget to click Save the Date above and sign up for email reminders!

Whether you are new to our tools or have been with us since the beginning, we’d love to hear and share your Visual Studio story. Share a photo of memorabilia or a short video clip of your story with Visual Studio on Instagram or post your story on Twitter and Facebook using #MyVSstory. Check out Julia’s launch event announcement for more details.

Microsoft delivers test builds of Visual Studio for Mac, Visual Studio 2017 for Windows

Visual Studio for Mac is not a port of Visual Studio for Windows; it's a rebranded version of Xamarin Studio integrated development environment (IDE) that will work on the Mac. (Microsoft bought mobile-tool vendor Xamarin in February 2016.) Visual Studio for Mac is available as of today as a preview for download.

Visual-Studio-Mac

Visual Studio 2017 is the official name of the product Microsoft has been calling "Visual Studio Next" and/or codename "VS '15'." As of today, a near-final Release Candidate version of that product is available to testers. The RC includes a few brand-new features, but is mostly complete at this point. Officials told me this week that the final/general availability version of Visual Studio 2017 would be out in early 2017.

Microsoft made these announcements at its Connect() 2016 developer event in New York City on November 16.

At that event, Microsoft also announced it is joining The Linux Foundation as a Platinum member, and that Google is joining the .NET Foundation's Technical Steering Committee. The .NET Foundation is the vehicle Microsoft has used to open source a number of its developer technologies, including .NET and ASP.NET implementations and components.

Visual Studio for Mac will include IntelliSense and refactoring via the Roslyn Compiler platform. It will use MSBuild and the same debugger engines for Xamarin and .NET Core apps, as well as the same designers for Xamarin.iOS and Xamarin.Android.

Visual Studio 2017 for Windows also is relying on the "Roslyn" work to rearchitect the C# and Visual Basic compilers. The coming release includes enhancements in refactorings, code generation, code analysis, navigation, testing, and debugging, officials said.

Visual-Studio-2017-Install

Other Connect() announcements today included a preview of a new Visual Studio Mobile Center, and general availability of both Visual Studio Team Foundation server 2017 and Azure Application Insights.

Visual-Studio-2017-Install2

Visual Studio Mobile Center is a portal that is meant to help developers build, test, distribute, and monitor apps built in Objective-C, Swift, Java, Xamarin, and React Native for Android, iOS, and Windows devices. Documentation for the new Mobile Center is here.

Visual-Studio-2017-Install3

Samsung also is releasing a preview of Visual Studio Tools for the Tizen operating system, which will allow developers to build apps for Tizen running on Samsung TVs, wearables, mobile, and other IoT devices.

Preserve data when deploying Xamarin.Android app

By default all your data from your previous runs is deleted when you’re deploying an Xamarin.Android app. In many cases you don’t want the data to be deleted.

Visual Studio


To preserve data go to Tools -> Options -> Xamarin -> Android Settings and check “Preserve application data/cache on device between deploys”.

Preserve_data_visualstudio

Xamarin Studio


To preserve data go to Tools -> Options -> Android and check “Preserve data/cache between application deploys”.

Preserve_data_xamarinstudio

Happy coding!

Visual Studio updates Xamarin

When you open Visual Studio 2015 and there is a pop windows to invite you to click on it for updating Xamarin and you click, nothing happends. There is a bug but clicking the update available popup was fixed in one of the recent releases. You can manually update in the Options menu under Tools.

As for the errors, I get those all the time. Support packages can often be a problem. Update to the latest XF package. Try deleting bin, obj, and the contents of packages folders and rebuild.

Visual-Studio-Update-Xamarin

What’s New in Visual Studio Update 1 for .NET Managed Languages

Web

Hold on to your hats, cowboys and cowgirls! A lot of exciting things are coming out of the .NET Managed Languages team for Visual Studio 2015 Update 1. Read on to learn more about new IDE features, interactive C#, new code analysis management, Visual F# improvements, and the new F5 experience for Roslyn open source development.

visual_studio_update_ImplementationUpdate1b

New Editor Features

Now that we have Roslyn in Visual Studio 2015, we can leverage its power to create the smartest IDE out there. The improvements we’ve made to the IDE experience in Update 1 relate chiefly to navigation and refactoring:

  • Go To Implementation. The most notable change we made with regards to navigation is the introduction of “Go To Implementation.” You can now navigate from a base class or type to its various implementations. This saves a lot of time when searching in large solutions—when using Find All References returns a long list.
  • Convert Method to Property. We added the refactoring that now allows you to press “Ctrl+.” inside a method with no arguments and convert it into a property. We’ll even notice if you have a pair of Get/Set methods and convert them into a single property. This refactoring cascades throughout your solution so you don’t have to manually fix this change elsewhere.
  • VB Go to Definition and Object Browser. After hearing feedback from many of you, we added an option to make it easy to restore the behavior where VB Go to Definition would navigate to the Object Browser. You can find this option under "Tools->Options->Text Editor->Basic->Advanced->Navigate to Object Browser for symbols defined in metadata".
  • VB Commands for Next/Previous Member Fix. Many VB customers noticed that we forgot to implement support for navigate to the next and previous method. Oops. We brought that back, and added support for C# as well. Look for it on the Edit menu.
  • Go To/Peek Definition Bug Fix. We fixed this issue where you had to change your tabs to spaces in order to Peek Definition or Go To Definition. Huzzah! (Could you tell that Roslyn’s coding style is to use spaces instead of tabs? ;))

New Features in Visual Studio 2015 RC

Introduction

Visual Studio 2015 RC has major changes including an integrated suite of developer productivity tools, cloud services and extensions that enable you and your team to create great apps and games for the web, for Windows Store, for the desktop, for Android and for iOS. This article highlights some of the most important features in the Visual Studio 2015 RC IDE.

The following are the new features in Visual Studio 2015 RC.

  1. Sign In across multiple accounts

    You can work with multiple user accounts in Visual Studio by adding them as you go or through the new Account Manager. Then, you can switch among those accounts on the fly when connecting to services or accessing online resources. Visual Studio remembers the accounts you add so you can use them from any instance of Visual Studio or Blend.

    Multiple-Accounts

    Figure 1: You can add multiple accounts in Visual Studio by clicking on Add an account link

  2. Choose your target platform(s)

    Visual Studio 2015 supports cross-platform mobile device development. You can write apps and games that target iOS, Android and Windows and share a common code base, all from within the Visual Studio IDE. You'll see all these new project types in the File, New Project dialog.

    And also support for classic desktop applications are better than ever, with many improvements to languages, libraries and tools. The following are the various platforms.

    • Cross-platform mobile apps in C# with Xamarin for Visual Studio
    • Cross-platform mobile apps in HTML/CSS/JavaScript with Apache Cordova
    • Cross-platform mobile games in C# with Unity
    • Classic desktop and Windows Store
    • Cross-platform mobile games in C# with Unity
    • Cross-platform apps and libraries for native C++
    • Web

    ASP.NET 5 is a major update to MVC, Web API and SignalR and runs on Windows, Mac and Linux. ASP.NET 5 has been designed from the ground up to provide you with a lean and composable .NET stack for building modern cloud-based apps. The Visual Studio 2015 RC tooling is more closely integrated with popular web development tools such as Bower and Grunt.
  3. Live code analysis (Light Bulbs)

    In Visual Studio 2015 RC, light bulbs display in the left margin (when using the keyboard) or a tool tip (when hovering over an error with the mouse). The light bulbs indicate in real time that the compiler (possibly using a custom rule set) has detected an issue in your code and also has a suggestion for how to fix the issue. When you see a light bulb, click on it for actionable suggestions.

    Live-Code-Analysis

    Figure 2: Live code analysis - image reference from MSDN site

  4. Design your UI

    The Blend experience for designing XAML user interfaces has been significantly enhanced. Blend has been completely redesigned to provide a more intuitive UI, more powerful XAML editing capabilities and better integration with Visual Studio.
  5. Diagnose Issue

    • Advance Breakpoints

      Breakpoints in the debugger are significantly more configurable and the UI for interacting with breakpoints is consolidated into a peek window so that you never need to leave the code editor.

      Breakpoints

      Figure 3: Breakpoint with expression condition -Image reference from MSDN site

    • Performance Tips

      Performance tips display the execution time of methods during debugging, enabling you to quickly spot bottlenecks without having to invoke the profiler.

      Elapsed-Time

      Figure 4: Elapsed time (Image from MSDN site)

    • Error List

      The error list now supports filtering on any column. It is also scalable enough to show a live view of errors, warnings and code analysis across your entire C# or Visual Basic solution as you type, even when a code change produces thousands of warnings. The new Error List is backward-compatible with existing usage.
    • GPU Usage Tool

      The GPU Usage Tool helps you collect and analyze GPU usage data in DirectX apps and games and troubleshoot whether performance bottlenecks are originating in the CPU or GPU.
  6. Connect To Service

    The Add Connected Service wizard also integrates with the new Account Manager to make it easy to work with multiple user accounts and subscriptions. In Visual Studio 2015 RC, support for the following services are provided out of the box (assuming that you have an account):

    • Azure Mobile Services
    • Azure Storage
    • Office 365 (mail, contacts, calendars, files, users and groups)
    • Salesforce

    Add-Conected-Service

    Figure 5: Add Connected Service (Image from MSDN site)

  7. Synchronized Settings (Roaming Settings)

    Visual Studio 2015 improves on this experience by synchronizing more of your settings and synchronizing settings across the Visual Studio family of applications, like Professional, Enterprise, Express SKUs and Blend. Settings includes settings for some of the most commonly configured settings such as Text Editor, Key bindings, Theme and Fonts and Colors, Startup and Environment Aliases
  8. High Resolution Images and Touch Support

    The Visual Studio IDE now has true high-resolution images on denser displays (in areas like menus, context menus, tool window command bars and in some projects in Solution Explorer). And on a touch-screen in the Visual Studio code editor window, you can now use gestures such as touch and hold, pinch, tap and so on to zoom, scroll, select text and invoke context menus.
  9. Title Case Menu

    Visual Studio menus are once again title-case by default. However if you happen to like the ALL CAPS style, you can set it on start up or in the Tools > Options > General property page as in the following:

    Title-Case-menu

    Figure 6: Title Case Menu- Image reference from MSDN site

  10. Custom Layouts

    You can create store and roam custom window layouts. For example, you can define one preferred layout for use on your desktop machine and a different layout for use on a laptop or small screen device. Or you may prefer one layout for a UI project and another for a database project. Key bindings enable you to rapidly switch among layouts. These layouts are available on any instance of Visual Studio when you are signed in.

    Custom-Layout

    Figure 7:
    Custom Layout (Image from MSDN site)

  11. Notification Hub

    The UI for the notification hub has been streamlined to make it easier to scan quickly. Additional kinds of notifications have been added, including performance issues, rendering issues and crashes and you can now tell Visual Studio to stop showing a notification.

    Notification-Hub

    Figure 8: Notification Hub (image from MSDN site)

  12. Code Lens: Find what happened to your code (Enterprise and Professional editions only)

    You can review changes and other history for work items, bugs, code reviews and so on for code that's stored in Visual Studio Online (VSO) or in Team Foundation Server (TFS).

    In Visual Studio Enterprise and Visual Studio Professional, you can now:

    • Get the history for an entire code file in the Visual Studio editor.

      Code-lens1

      Figure 9:
      Code Lens (image from MSDN site)

    • See a graph that shows the people that have changed your code. This can help you find patterns in your team's changes and assess their impact.

      Code-Lens
      Figure 10: Code Lens (image from MSDN site)

    • Easily see when your code was last changed.
    • Find changes in other branches that affect your code.
Reference

Main Reference: MSDN library https://msdn.microsoft.com for image references also.

Enable your device for development

Important  Currently you cannot enable devices installed with Windows 10 Insider Preview with the System Setting Developer Mode controls as outlined in this article. This feature is not currently supported, but will be enabled in a future release of Windows 10. So you don't need to follow the steps in the future approach in this article. But you must follow the links directly below to enable your specific Windows 10 device.

Enable developer mode

If you use Visual Studio on a Windows 10 desktop and you open a solution for a Windows 8.1 or Windows 10 app, you will be prompted to enable your device with this dialog. (You also need your device to be enabled to use the designers and debug your app.)

Enable developer mode dialog that is displayed in Visual Studio

When you see this dialog, click OK. Then follow the steps below to enable your desktop from Windows 10 Insider Preview.

For Windows 10 desktop

Use gpedit.msc to set the group policies to enable your device, unless you have Windows 10 Insider Preview Home Edition. If you do have Home Edition, you need to use regedit or PowerShell commands to set the registry keys directly to enable your device.

Dn706236.wedge(en-us,WIN.10).gifUse gpedit to enable your device

  1. Open a cmd prompt with administrator privileges.
  2. Run Gpedit.msc.
  3. Go to Local Computer Policy > Computer Configuration > Administrative Templates > Windows Components > App Package Deployment
  4. Edit the policies to enable the following:
    • Allow all trusted apps to install (Enables your device for sideloading apps)
    • Allows development of Windows Store apps and installing them from an integrated development environment (IDE) (Enables your device for development from Visual Studio)
  5. Reboot your machine.

Dn706236.wedge(en-us,WIN.10).gifUse regedit to enable your device

  1. Open a cmd prompt with administrator privileges.
  2. Run regedit.
  3. Set the value of this DWORD to 1: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock\AllowAllTrustedApps
  4. Set the value of this DWORD to 1: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock\AllowDevelopmentWithoutDevLicense

Dn706236.wedge(en-us,WIN.10).gifUse PowerShell to enable your device

  1. Run Windows PowerShell with administrator privileges.
  2. Run the following command: PS C:\WINDOWS\system32> reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowDevelopmentWithoutDevLicense" /d "1"
  3. Run this command too: PS C:\WINDOWS\system32> reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowAllTrustedApps" /d "1"

Future approach using System Setting Developer Mode controls

There is a different approach for development for Windows 10 devices. A developer license is no longer required for each device that you want to use to develop, install or test your app. You just enable a device once for these tasks from the settings for the device. That's it. No more renewing your developer licenses every 30 or 90 days!

If you are still using a Windows 8.1 device to develop or test your apps with Visual Studio 2013 or Visual Studio 2015, you still need to get a developer license or register your Windows Phone.

Develop your app with Visual Studio

If you use Visual Studio on a Windows 10 device and you open a solution for a Windows 8.1 or Windows 10 app, you will be prompted to enable your device with this dialog. (You also need your device to be enabled to use the designers and debug your app.)

Enable developer mode dialog that is displayed in Visual Studio

When you see this dialog, click OK. Then follow the steps below to enable your device from Windows 10 Insider Preview.

Enable your Windows 10 devices

For Windows 10 Insider Preview, you choose what tasks you want to enable on the device. This includes any devices: Windows 10 desktops, tablets and phones. You can enable a device for development, or just sideloading.

Sideloading is installing and then running or testing an app that has not been certified by the Windows store. For example, an app that is internal to your company only. (Does the Windows store allow sideloading?)

Note  If you sideload apps, you should still only install apps from trusted sources. When you install a sideloaded app that has not been certified by the Windows store, you are agreeing that you have obtained all rights necessary to sideload these apps and that you are solely responsible for any harm that results from installing and running these apps. See this privacy statement.

Dn706236.wedge(en-us,WIN.10).gifWindows 10 Desktops/tablets

  1. On your device that you want to enable, go to Settings. Choose Update & security. Then choose For developers.

    Go to Settings, choose Update and security and then choose For developers to view your options
  2. Choose the level that you need. Developer mode allows you to sideload apps too.

Dn706236.wedge(en-us,WIN.10).gifWindows 10 Phones

  1. On your device that you want to enable, go to Settings. Choose Update & security. Then choose For developers.

    From Settings on your phone, choose Update and security

  2. Choose the level that you need. Developer mode allows you to sideload apps too.

Visual Studio 2015 RC Available Now


Microsoft announced the Release Candidate (RC) version of Visual Studio 2015. The Release Candidate version is very close to the final public release version.

Microsoft is now targeting every developer and every app by opening up its one of the best software development IDE, Visual Studi0 2015 to all for free, minus enterprise developers.

At Build, Microsoft announced a free version of Visual Studio IDE named Visual Studio Code for developers that supports development on Windows, Mac OS X, or Linux.

Visual Studio Community and Visual Studio Code, both are free.

Visual Studio Community

Visual Studio Community is a full-featured and extensible tool for developers building non-enterprise Web, Windows Desktop, and cross-platform iOS, Android, and Windows apps. This free version of the product is usually for open source projects, academic research, training, education and small professional teams.

Visual Studio Code

Visual Studio Code currently PREVIEW edition is free to build applications for any platform including Linux, Mac OSX, and Windows. Key features of Visual Studio Code include the following:

  • First-class support for building ASP.NET 5 and Node.js applications
  • A lightweight, fast, keyboard-centric tool
  • Support for all programming languages
  • Intelligent code authoring, understanding, and navigation help you be productive
  • Integrated debugging and Git support right at your fingertips

Visual Studio Professional and Enterprise

These two editions are for professional and enterprise developers. These products allow end-to-end solution for development teams to build enterprise level applications including team management, issue tracking, version control, documentation, load testing, powerful advanced Intellisense and IntelliTest capabilities, deployment, code map and several other features to make complex application developers lives easier.

Check out more details about Visual Studio Enterprise 2015 here > 

Why Visual Studio Code?



Visual Studio Code provides developers with a new choice of developer tool that combines the simplicity and streamlined experience of a code editor with the best of what developers need for their core code-edit-debug cycle. Visual Studio Code is the first code editor, and first cross-platform development tool - supporting OSX, Linux, and Windows - in the Visual Studio family.

At its heart, Visual Studio Code features a powerful, fast code editor great for day-to-day use. The Preview release of Code already has many of the features developers need in a code and text editor, including navigation, keyboard support with customizable bindings, syntax highlighting, bracket matching, auto indentation, and snippets, with support for dozens of languages.

For serious coding, developers often need to work with code as more than just text. Visual Studio Code includes built-in support for always-on IntelliSense code completion, richer semantic code understanding and navigation, and code refactoring. In the Preview, Code includes enriched built-in support for ASP.NET 5 development with C#, and Node.js development with TypeScript and JavaScript, powered by the same underlying technologies that drive Visual Studio. Code includes great tooling for web technologies such as HTML, CSS, LESS, SASS, and JSON. Code also integrates with package managers and repositories, and builds and other common tasks to make everyday workflows faster. And Code understands Git, and delivers great Git workflows and source diffs integrated with the editor.

But developers don't spend all their time just writing code: they go back and forth between coding and debugging. Debugging is the most popular feature in Visual Studio, and often the one feature from an IDE that developers want in a leaner coding experience. Visual Studio Code includes a streamlined, integrated debugging experience, with support for Node.js debugging in the Preview, and more to come later.

Architecturally, Visual Studio Code combines the best of web, native, and language-specific technologies. Using the GitHub Electron Shell, Code combines web technologies such as JavaScript and Node.js with the speed and flexibility of native apps. Code uses a newer, faster version of the same industrial-strength HTML-based editor that has powered the “Monaco” cloud editor, Internet Explorer's F12 Tools, and other projects. And Code uses a tools service architecture that enables it to use many of the same technologies that power Visual Studio, including Roslyn for .NET, TypeScript, the Visual Studio debugging engine, and more. In future previews, as we continue to evolve and refine this architecture, Visual Studio Code will include a public extensibility model that lets developers build and use plug-ins, and richly customize their edit-build-debug experience.

We are, of course, still very early with Visual Studio Code. If you prefer a code editor-centric development tool, or are building cross-platform web and cloud applications, we invite you to try out the Visual Studio Code Preview, and let us know what you think!

Next Steps

Read on to find out about:

  • Code Basics - a quick orientation of VSCode
  • Editing Evolved - from code colorization & multi-cursor to IntelliSense
  • Debugging - OK time for the really fun stuff - break, step, watch

Advertsing

125X125_06

Planet Xamarin

Planet Xamarin

Calendar

<<  November 2017  >>
MonTueWedThuFriSatSun
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

View posts in large calendar

Month List