Mais conteúdo relacionado Semelhante a Whats New in Visual Studio 2019 (20) Whats New in Visual Studio 20191. What’s New in Visual Studio 2019
Mike Douglas, Solution Consultant
mikedouglas@Deliveron.com
@mikedouglasdev
2. Copyright © 2016 Deliveron Consulting Services
ABOUT MIKE DOUGLAS
Solution Consultant for Deliveron Consulting Services
Microsoft MVP
DevOps / ALM Ranger
VSLive, HDC, KCDC, NCC, AllDayDevOps 2017
Omaha DevOps Meetup organizer
Blog – Deliveron.com/blog
Email – mikedouglas **at** deliveron.com
Twitter - @mikedouglasdev
3. Copyright © 2016 Deliveron Consulting Services
WHAT’S NEW IN VISUAL STUDIO 2019
• Keeping up with the Joneses
• IDE / Options Improvements
• Dev Window / Debugging
• Language / Platform Improvements
• DevOps / Git Improvements
5. Copyright © 2016 Deliveron Consulting Services
DEMO - KEEPING UP WITH THE JONESES
• Installer
• VS 2019 and VS 2019 Preview
• Roadmap and Release Rhythm
• Release Notes
• Wait, slow down!
7. Copyright © 2016 Deliveron Consulting Services
RELEASE RHYTHM
• Preview Channel – What’s coming up in the next minor update in the
Release channel
• Release Channel
– Minor Update – 2 to 3 months, bug fixes, new features, adapt to platform
updates. Ex: 16.1, 16.2
– Servicing Updates – critical fixes. Ex: 16.0.10
https://docs.microsoft.com/en-us/visualstudio/productinfo/release-rhythm
8. Copyright © 2016 Deliveron Consulting Services
RELEASE NOTES
https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes
9. Copyright © 2016 Deliveron Consulting Services
WAIT, SLOW DOWN!
• Preview features – feature toggles
10. Copyright © 2016 Deliveron Consulting Services
In Memoriam… and on the chopping
block
11. Copyright © 2016 Deliveron Consulting Services
IN MEMORIAM…
• Team Explorer cleanup
– Queries, etc.
• Support for MS Project and PowerPoint in TFS Office Integration
plugins
– Storyboards is still there!
• VS 2019 is last version
– Code UI
– Web Performance and Load Testing
13. Copyright © 2016 Deliveron Consulting Services
DEMO – IDE / OPTIONS IMPROVEMENTS
• New Logos
• Start Dialog - Speed Improvements
• New Project Dialog
– New Project > Filter by language, platform, project type
• Removes language navigation menu
• New Look / Theme
– Shrunk top to 2 lines
• High DPI Support (Win 10 1803 + .net 4.8)
• Clean Load of Solutions and Better Large Solution support
15. Copyright © 2016 Deliveron Consulting Services
START DIALOG
• Start Dialog keeps from all of Visual Studio to launch
16. Copyright © 2016 Deliveron Consulting Services
• 2019 vs 2017 New Project Dialog
– Better Filtering
– Starts by default
NEW PROJECT DIALOG
17. Copyright © 2016 Deliveron Consulting Services
OPTIMIZED LOOK / THEME
• 2 rows instead of 3
• Per Monitor Awareness – Better High DPI Support
– Regardless of display configuration and/or scaling as long as min req are met
(.NET 4.8 and Windows April 2018 Update or newer)
18. Copyright © 2016 Deliveron Consulting Services
SOLUTION AND LARGE SOLUTION OPTIMIZATIONS
• Hide / Show Unloaded Projects
• Load Dependency Projects
• Save as a Solution Filter
https://docs.microsoft.com/en-us/visualstudio/ide/filtered-solutions?view=vs-2019
20. Copyright © 2016 Deliveron Consulting Services
DEMO – DEV WINDOW / DEBUGGING
• Code Clean up and fixers
• Intellicode
• Clipboard History
• Live Sharing
21. Copyright © 2016 Deliveron Consulting Services
CODE CLEAN UP AND FIXERS
https://docs.microsoft.com/en-us/visualstudio/ide/whats-new-visual-studio-2019?view=vs-2019#code-cleanup
22. Copyright © 2016 Deliveron Consulting Services
INTELLICODE
• ML Assisted Intellisense
• Preview Features
– Recommendations for your types
– Argument completion
– Inferring style and formatting conventions
– Focused code reviews
https://visualstudio.microsoft.com/services/intellicode/
23. Copyright © 2016 Deliveron Consulting Services
CLIPBOARD HISTORY
• CTRL-SHFT-INS > CTRL-SHFT-P
24. Copyright © 2016 Deliveron Consulting Services
• Share your dev environment
LIVE SHARING
https://prod.liveshare.vsengsaas.visualstudio.com/join?50A6B1
90D2F230B5E768DAFF75CF43A3B823
25. Copyright © 2016 Deliveron Consulting Services
Language / Platform Improvements
26. Copyright © 2016 Deliveron Consulting Services
DEMO – LANGUAGE / PLATFORM IMPROVEMENTS
• .NET Framework 4.8
• Visual Studio Kubernetes Tools
• .NET Core 3 + Tools
• Blazor
• C#
27. Copyright © 2016 Deliveron Consulting Services
.NET FRAMEWORK 4.8
• Separate install
• Part of Windows 2019 Spring Update
https://dotnet.microsoft.com/download/dotnet-framework/net48
28. Copyright © 2016 Deliveron Consulting Services
KUBERNETES TOOLS
• Install Azure Development workload
https://docs.microsoft.com/en-us/visualstudio/containers/overview?view=vs-2019
29. Copyright © 2016 Deliveron Consulting Services
.NET CORE 3 AND BLAZOR
• .NET Core 3 set to launch on 9/23
• Dev Tools / Framework included in 16.2 (currently in preview)
• Includes tools for server side Blazor project templates
• Client Side templates can be added by running dotnet cli
– https://docs.microsoft.com/en-us/aspnet/core/blazor/get-
started?view=aspnetcore-3.0&tabs=visual-studio
30. Copyright © 2016 Deliveron Consulting Services
C# 8.0
• Supported in .NET 3.0 Only
• Null Reference Types – not separate types like null value types
• Opt in to show as warnings
• Won’t break consumers, they can opt in when ready
32. Copyright © 2016 Deliveron Consulting Services
DEMO – DEVOPS / GIT IMPROVEMENTS
• Git Pull Shortcut Key
– Tools > Options > Keyboard > Git.Pull
• Git Stash in UI
– Pending changes > Stash >
• Git Pull Request Extension
• Work Items Improvements
– Focus on relevant work items
36. Copyright © 2016 Deliveron Consulting Services
WORK ITEMS STREAMLINED
• Going from Queries to Filtering the data you want
38. Copyright © 2016 Deliveron Consulting Services
EXTENSIONS
• Web Essentials 2019
– https://marketplace.visualstudio.com/items?itemName=MadsKristensen.WebEs
sentials2019
• VS Marketplace
– https://marketplace.visualstudio.com/vs
39. Copyright © 2016 Deliveron Consulting Services
We believe in HELPING our CUSTOMERS create software
SOLUTIONS in a better way
Notas do Editor Not noticed anything new? My passion…..
Helping map security and compliance controls into DevOps practices and SDP Improvements form 2017
Side by Side installation
Modify > Workloads
Individual components - > search for load https://devblogs.microsoft.com/dotnet/announcing-the-net-framework-4-8/ Open Visual Studio 2017, show start
Open VS 2019, show start dialog, much faster New Project in VS 2017
New Project in VS 2019
Search for Xamarin
Show other filtering
Filter Platform
Show toolbars for VS 2017 vs 2019
Go into options for better HDI support Open MyLargePluralsightSolution
Filtering projects Open Webapplication4 and Program.cs
Run code clean up
Undo
Look at settings Create new string name
If(name. > show intellicode recommendations Copy several items
Go to Edit > Clipboard History (show existing mapping)
Tools > Options > Keyboard > Edit.ShowClipboardHistory map to CTRL-SHFT-P
Show in dev window https://devblogs.microsoft.com/dotnet/announcing-the-net-framework-4-8/ Open preview 2019
Create new project > blazor server side Unload project and edit csproj
Upload lang to 8.0
Add <nullable>enable</nullable>
Add string test = null;
Look at warnings
Mention can treat warnings as errors https://devblogs.microsoft.com/dotnet/announcing-the-net-framework-4-8/ Who likes switching to the AzDo web to manage PRs
In VS 2019, using the Git Pull Request extension, create, review, and approve PRs
Open NG6Users API
Team Explorer > Pull Requests > Open “Add Space”
Compare Change
Approve Focus is less on queries and more on the data you want
Open Work Items 2017 and then in 2019
Toggle Hide/Show completed items
Show update state
Create New work item
Right click Create Branch
Search https://devblogs.microsoft.com/dotnet/announcing-the-net-framework-4-8/