Visual Studio For Mac 2011

The only proper add in for Excel 2011 Mac is provided with Excel, and the ability to show it in Excel Mac's ribbon is apparently hard-coded into the Excel Mac application. None of the XML-based techniques for extending the Excel Mac ribbon work because the ribbon is hard-coded. You can access the VBA environment in Excel 2011 for Mac by opening the Visual Basic editor. First, be sure that the Developer tab is visible in the toolbar in Excel. The Developer tab is the toolbar that has the buttons to open the VBA editor and create Form Controls like buttons, checkboxes, etc.

  1. Visual Studio For Mac 20117
  2. Microsoft Visual Studio Mac
  3. Visual Studio For Mac 20112
-->

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

This article describes C++11/14/17 features in Visual C++.

C++11Feature List

Visual C++ implements the vast majority of features in the C++11 core language specification, as well as many C++14 Library features and some features proposed for C++17. The following table lists C++11/14/17 core language features and their implementation status in Visual C++ in Visual Studio 2010, Visual C++ in Visual Studio 2012, and Visual C++ in Visual Studio 2013, and Visual Studio 2015.

C++11 Core Language Features Table

C++11 Core Language FeaturesVisual Studio 2010Visual Studio 2012Visual Studio 2013Visual Studio 2015
Rvalue references v0.1, v1.0, v2.0, v2.1, v3.0v2.0v2.1*v2.1*v3.0
ref-qualifiersNoNoNoYes
Non-static data member initializersNoNoYesYes
Variadic templates v0.9, v1.0NoNoYesYes
Initializer listsNoNoYesYes
static_assertYesYesYesYes
auto v0.9, v1.0v1.0v1.0v1.0Yes
Trailing return typesYesYesYesYes
Lambdas v0.9, v1.0, v1.1v1.0v1.1v1.1Yes
decltype v1.0, v1.1v1.0v1.1**v1.1Yes
Right angle bracketsYesYesYesYes
Default template arguments for function templatesNoNoYesYes
Expression SFINAENoNoNoNo
Alias templatesNoNoYesYes
Extern templatesYesYesYesYes
nullptrYesYesYesYes
Strongly typed enumsPartialYesYesYes
Forward declared enumsNoYesYesYes
AttributesNoNoNoYes
constexprNoNoNoYes
AlignmentTR1PartialPartialYes
Delegating constructorsNoNoYesYes
Inheriting constructorsNoNoNoYes
Explicit conversion operatorsNoNoYesYes
char16_t/char32_tNoNoNoYes
Unicode string literalsNoNoNoYes
Raw string literalsNoNoYesYes
Universal character names in literalsNoNoNoYes
User-defined literalsNoNoNoYes
Standard-layout and trivial typesNoYesYesYes
Defaulted and deleted functionsNoNoYes*Yes
Extended friend declarationsYesYesYesYes
Extended sizeofNoNoNoYes
Inline namespacesNoNoNoYes
Unrestricted unionsNoNoNoYes
Local and unnamed types as template argumentsYesYesYesYes
Range-based for-loopNoYesYesYes
override and final v0.8, v0.9, v1.0PartialYesYesYes
Minimal GC supportYesYesYesYes
noexceptNoNoNoYes

[In This Article]

C++11 Core Language Features Table: Concurrency

C++11 Core Language Features: ConcurrencyVisual Studio 2010Visual Studio 2012Visual Studio 2013Visual Studio 2015
Reworded sequence pointsN/AN/AN/AYes
AtomicsNoYesYesYes
Strong compare and exchangeNoYesYesYes
Bidirectional fencesNoYesYesYes
Memory modelN/AN/AN/AYes
Data-dependency orderingNoYesYesYes
Data-dependency ordering: function annotationNoNoNoYes
exception_ptrYesYesYesYes
quick_exitNoNoNoYes
Atomics in signal handlersNoYesYesYes
Thread-local storagePartialPartialPartialYes
Magic staticsNoNoNoYes

[In This Article]

C++11 Core Language Features: C99

C++11 Core Language Features: C99Visual Studio 2010Visual Studio 2012Visual Studio 2013Visual Studio 2015
__func__PartialPartialPartialYes
C99 preprocessorPartialPartialPartialPartial
long longYesYesYesYes
Extended integer typesN/AN/AN/AN/A

[In This Article]

C++ 14 Core Language Features

FeatureVisual Studio 2013Visual Studio 2015
Tweaked wording for contextual conversionsYesYes
Binary literalsNoYes
auto and decltype(auto) return typesNoYes
init-capturesNoYes
Generic lambdasNoYes
Variable templatesNoNo
Extended constexprNoNo
NSDMIs for aggregatesNoNo
Avoiding/fusing allocationsNoNo
[[deprecated]] attributesNoNo
Sized allocationNoYes
Digit separatorsNoYes

C++17 Proposed Core Language Features

FeatureVisual Studio 2013Visual Studio 2015
New rules for auto with braced-init-listsNoNo
Terse static assertNoNo
typename in template template-parametersNoNo
Removing trigraphsYesYes
Nested namespace definitionsNoNo
N4259 std::uncaught_exceptions()NoNo
N4261 Fixing qualification conversionsNoNo
N4266 Attributes for namespaces and enumeratorsNoNo
N4267 u8 character literalsNoNo
N4268 Allowing more non-type template argsNoNo
N4295 Fold expressionsNoNo
await/resumeNoYes

Guide to the Feature Tables

Rvalue References

Note

The version designations (v0.1, v1.0, v2.0, v2.1, v3.0) in the following descriptions are invented just to show the evolution of C++11. The standard itself does not use them.

N1610 'Clarification of Initialization of Class Objects by rvalues' was an early attempt to enable move semantics without rvalue references. For the sake of this discussion, let’s call it 'rvalue references v0.1'. It was superseded by 'rvalue references v1.0.' 'Rvalue references v2.0', which is what the work in Visual C++ in Visual Studio 2010 was based on, prohibits rvalue references from binding to lvalues and thereby fixes a major safety problem. 'Rvalue references v2.1' refines this rule. Consider vector<string>::push_back(), which has the overloads push_back(const string&) and push_back(string&&), and the call v.push_back('strval'). The expression 'strval' is a string literal, and is an lvalue. (Other literals—for example, the integer 1729—are rvalues, but string literals are special because they are arrays.) The 'rvalue references v2.0' rules said that string&& cannot bind to 'strval' because 'strval' is an lvalue and therefore, push_back(const string&) is the only viable overload. This would create a temporary std::string, copy it into the vector, and then destroy the temporary std::string, which wasn’t very efficient. The 'rvalue references v2.1' rules recognize that binding string&& to 'strval' would create a temporary std::string, and that temporary is an rvalue. Therefore, both push_back(const string&) and push_back(string&&) are viable, and push_back(string&&) is preferred. A temporary std::string is constructed, and then moved into the vector. This is more efficient.

'Rvalue references v3.0' adds new rules to automatically generate move constructors and move assignment operators under certain conditions. This is implemented in Visual Studio 2015.

[In This Article]

Lambdas

After lambda functions were voted into the Working Paper (version '0.9') and mutable lambdas were added (version '1.0'), the Standardization Committee overhauled the wording. This produced lambdas version '1.1', which is now fully supported. The lambdas v1.1 wording clarifies what should occur in corner cases like referring to static members or nested lambdas. This fixes problems that are triggered by complex lambdas. Additionally, stateless lambdas are now convertible to function pointers. This is not in the N2927 wording, but it is counted as part of lambdas v1.1 anyway. C++115.1.2 [expr.prim.lambda]/6 has this description: 'The closure type for a lambda-expression with no lambda-capture has a public non-virtual non-explicit const conversion function to pointer to function having the same parameter and return types as the closure type’s function call operator. The value returned by this conversion function shall be the address of a function that, when invoked, has the same effect as invoking the closure type’s function call operator.' (The Visual C++ in Visual Studio 2012 implementation is even better than that, because it makes stateless lambdas convertible to function pointers that have arbitrary calling conventions. This is important when you are using APIs that expect things like __stdcall function pointers.)

[In This Article]

decltype

After decltype was voted into the Working Paper (version 1.0), it received a small but important fix at the last minute (version 1.1). This is of great interest to programmers who work on the STL and Boost.

[In This Article]

Strongly Typed/Forward Declared enums

Strongly typed enums were partially supported in Visual C++ in Visual Studio 2010 (specifically, the part about explicitly specified underlying types). These are now fully implemented in Visual Studio, and the C++11 semantics for forward declared enums are also fully implemented.

[In This Article]

Alignment

The Core Language keywords alignas/alignof from the alignment proposal that was voted into the Working Paper are implemented in Visual Studio 2015. Visual C++ in Visual Studio 2010 had aligned_storage from TR1. Visual C++ in Visual Studio 2012 added aligned_union and std::align() to the Standard Library and significant issues were fixed in Visual C++ in Visual Studio 2013.

[In This Article]

Standard-Layout and Trivial Types

The exposed changes from N2342 'POD's Revisited; Resolving Core Issue 568 (Revision 5)' are the additions of is_trivial and is_standard_layout to the Standard Template Library's <type_traits>. (N2342 reworked a lot of the Core Language wording, but no compiler changes were required.) These type traits were available in Visual C++ in Visual Studio 2010, but they just duplicated is_pod. Therefore, the table earlier in this document said 'No' support. They are now powered by compiler hooks that are designed to give accurate answers.

The STL's common_type<> received a much-needed fix in Visual C++ in Visual Studio 2013. The C++11 specification for common_type<> had unexpected and undesired consequences; in particular, it makes common_type<int, int>::type return int&&. Therefore, Visual C++ in Visual Studio 2013 implements the Proposed Resolution for Library Working Group issue 2141, which makes common_type<int, int>::type return int.

As a side-effect of this change, the identity case no longer works (common_type<T> does not always result in type T). This complies with the Proposed Resolution, but it breaks any code that relied on the previous behavior.

If you require an identity type trait, don't use the non-standard std::identity that's defined in <type_traits> because it won't work for <void>. Instead, implement your own identity type trait to suit your needs. Here's an example:

Note

Visual studio for mac 2018

For other breaking changes, see Visual C++ change history 2003 - 2015.

[In This Article]

Defaulted and Deleted Functions

These are now supported, but with this exception: For defaulted functions, the use of =default to request member-wise move constructors and move assignment operators is not supported. The copies and moves don't interact precisely like the Standard says they should—for example, deletion of moves is specified to also suppress copies, but Visual C++ in Visual Studio 2013 does not.

For information about how to use defaulted and deleted functions, see Functions.

[In This Article]

override and final

This went through a short but complicated evolution. Originally, in version 0.8, there were [[override]], [[hiding]], and [[base_check]] attributes. Then in version 0.9, the attributes were eliminated and replaced with contextual keywords. Finally, in version 1.0, they were reduced to 'final' on classes, and 'override' and 'final' on functions. This makes it an Ascended Extension because Visual C++ in Visual Studio 2010 already supported this 'override' syntax on functions, and had semantics reasonably close to those in C++11. 'final' was also supported, but under the different spelling 'sealed'. The Standard spelling and semantics of 'override' and 'final' are now completely supported. For more information, see override Specifier and final Specifier.

[In This Article]

Atomics, and More

Atomics, strong compare and exchange, bidirectional fences, and implementation for two items. For the pre-defined identifier __func__, 'Partial' is listed because support is provided for the non-Standard extensions __FUNCDNAME__, __FUNCSIG__, and __FUNCTION__. For more information, see Predefined Macros. For C99 preprocessor rules, 'Partial' is listed because variadic macros are supported. For more information, see Variadic Macros.

Visual studio for mac review

[In This Article]

Standard Library Features

That covers the Core Language. As for the C++11 Standard Library, we don't have a pretty comparison table of features, but Visual C++ in Visual Studio 2012 implemented it, with two exceptions. First, when a library feature depended on functionality that was missing in the compiler, it was either simulated—for example, simulated variadic templates for make_shared<T>()—or it wasn't implemented. (There were only a few cases—most notably, <initializer_list>—which were fully implemented in Visual C++ in Visual Studio 2013.) With very few exceptions, C99 was implemented in Visual C++ in Visual Studio 2013 and C++ wrapper headers provided. For more information, see C99 library support in Visual Studio 2013.

Here's a partial list of the changes in Visual C++ in Visual Studio 2012 and Visual C++ in Visual Studio 2013:

Emplacement: As required by C++11, emplace()/emplace_front()/emplace_back()/emplace_hint()/emplace_after() are implemented in all containers for 'arbitrary' numbers of arguments (see the 'Simulated variadics' section). For example, vector<T> has 'template <typename... Args> void emplace_back(Args&&... args)', which directly constructs an element of type T at the back of the vector from an arbitrary number of arbitrary arguments, perfectly forwarded. This can be more efficient than push_back(T&&), which would involve an extra move construction and destruction.

Variadics: Visual C++ in Visual Studio 2012 had a scheme for simulating variadic templates. In Visual C++ in Visual Studio 2013, the simulations are gone and variadics are fully implemented. If your code relies on the old simulated variadics behavior, you have to fix it. However, the switch to real variadic templates has improved compile times and reduced compiler memory consumption.

Explicit conversion operators: In the Core Language, explicit conversion operators are a general feature—for example, you can have explicit operator MyClass(). However, the Standard Library currently uses only one form: explicit operator bool(), which makes classes safely Boolean-testable. (Plain 'operator bool()' is notoriously dangerous.) Previously, Visual C++ simulated explicit operator bool() with operator pointer-to-member(), which led to various headaches and slight inefficiencies. Now, this 'fake bool' workaround is completely removed.

Randomness:uniform_int_distribution is now perfectly unbiased, and shuffle() is implemented in <algorithm>, which directly accepts Uniform Random Number Generators like mersenne_twister.

Resistance to overloaded address-of operators: C++98/03 prohibited an element of an STL container from overloading its address-of operator. This is what classes like CComPtr do, so that helper classes like CAdapt were required to shield the STL from such overloads. During the development of Visual C++ in Visual Studio 2010, STL changes made it reject overloaded address-of operators in even more situations. C++11 changed the requirements to make overloaded address-of operators acceptable. C++11, and Visual C++ in Visual Studio 2010, provide the helper function std::addressof(), which can get the true address of an object regardless of operator overloading. Before Visual C++ in Visual Studio 2010 was released, we attempted to replace occurrences of '&elem' with 'std::addressof(elem)', which is appropriately resistant. Visual C++ in Visual Studio 2012 went further, so that classes that overload their address-of operator should be usable throughout the STL.

Visual C++ in Visual Studio 2012 went beyond C++11 in several ways:

SCARY iterators: As permitted but not required by the C++11 Standard, SCARY iterators have been implemented, as described by N2911 'Minimizing Dependencies within Generic Classes for Faster and Smaller Programs' and N2980 'SCARY Iterator Assignment and Initialization, Revision 1'.

Filesystem: The <filesystem> header from the TR2 proposal has been added. It offers recursive_directory_iterator and other interesting features. Before work on TR2 was frozen because C++0x was running very late and was changing to C++11, the 2006 proposal was derived from Boost.Filesystem V2. It later evolved into Boost.Filesystem V3, which is implemented in Visual Studio 2015.

And a major optimization! All of our containers are now optimally small given their current representations. This refers to the container objects themselves, not to their pointed-to contents. For example, std::vector contains three raw pointers. In Visual C++ in Visual Studio 2010, x86 release mode, std::vector was 16 bytes. In Visual C++ in Visual Studio 2012, it is 12 bytes, which is optimally small. This is a big deal—if you have 100,000 vectors in your program, Visual C++ in Visual Studio 2012 saves you 400,000 bytes. Decreased memory usage saves both space and time.

This was achieved by avoiding the storage of empty allocators and comparators, because std::allocator and std::less are stateless. (These optimizations are enabled for custom allocators/comparators too, as long as they are stateless. Obviously, storage of stateful allocators/comparators cannot be avoided, but those are very rare.)

Visual C++ in Visual Studio 2013 implemented some key C++14 library features:

  • 'Transparent operator functors' less<>, greater<>, plus<>, multiplies<>, and so on.

  • make_unique<T>(args...) and make_unique<T[]>(n)

  • cbegin()/cend(), rbegin()/rend(), and crbegin()/crend() non-member functions.

[In This Article]

See Also

Welcome Back to C++
C++ Language Reference
Lambda Expressions
Range-based for Statement (C++)
C++ Standard Library
Visual C++ Team Blog
What's New for Visual C++
Visual C++ change history 2003 - 2015

-->

APPLIES TO: SQL Server Azure SQL Database Azure SQL Data Warehouse Parallel Data Warehouse

SQL Server Data Tools is a modern development tool for building SQL Server relational databases, Azure SQL databases, Analysis Services (AS) data models, Integration Services (IS) packages, and Reporting Services (RS) reports. With SSDT, you can design and deploy any SQL Server content type with the same ease as you would develop an application in Visual Studio.

Changes in SSDT for Visual Studio 2019

With Visual Studio 2019, the required functionality to enable Analysis Services, Integration Services, and Reporting Services projects has moved into the respective Visual Studio extensions. The core SSDT functionality to create Database Projects has remained integral to Visual Studio (you need to select the Data storage, and processing workload during install). There's no more standalone SSDT installation required.

If you already have a license to Visual Studio 2019:

  • For SQL Database Projects, install the Data storage and Processing workload for Visual Studio
  • For Analysis Services, Integration Services or Reporting Services projects, install the appropriate extension(s) from the marketplace

If you don’t already have a license to Visual Studio 2019:

  • Install Visual Studio 2019 Community
  • Install the Analysis Services, Integration Services, or Reporting Services extension as appropriate

Changes in SSDT for Visual Studio 2017

Visual Studio For Mac 20117

Starting with Visual Studio 2017, the functionality of creating Database Projects has been integrated into the Visual Studio installation. There's no need to install the SSDT standalone installer for the core SSDT experience. To create Integration Services/Analysis Services/Reporting Services projects, you still need the SSDT standalone installer.

  • For Database Projects, install the Data Storage and Processing workload for Visual Studio
  • For Analysis Services, Integration Services or Reporting Services projects, download and install SQL Server Data Tools

Microsoft Visual Studio Mac

Install SSDT with Visual Studio 2017

To install SSDT during Visual Studio installation, select the Data storage and processing workload, and then select SQL Server Data Tools. If Visual Studio is already installed, you can edit the list of workloads to include SSDT:

Install Analysis Services, Integration Services, and Reporting Services tools

To install AS, IS, and RS project support, run the SSDT standalone installer.

The installer lists available Visual Studio instances to add the SSDT tools to. If Visual Studio isn't installed, selecting Install a new SQL Server Data Tools instance installs SSDT with a minimal version of Visual Studio, but for the best experience, we recommend using SSDT with the latest version of Visual Studio.

SSDT for VS 2017 (standalone installer)

Important

  • Before installing SSDT for Visual Studio 2017 (15.9.2), uninstall Analysis Services Projects and Reporting Services Projects extensions if they are already installed, and close all VS instances.
  • Please use SSDT for Visual Studio 2017 (15.8.0) or the previous versions for designing SSIS packages that contain Teradata Source/Destination. SSDT for Visual Studio 2017 after 15.8.0 can’t design SSIS packages that contain Teradata Source/Destination by Attunity.

Visual Studio For Mac 20112

Version Information

Release number: 15.9.2Build Number: 14.0.16194.0Release date: July 17, 2019

For a complete list of changes, see the Release notes for SQL Server Data Tools (SSDT).

SSDT for Visual Studio 2017 has the same system requirements as Visual Studio.

Available Languages - SSDT for VS 2017

This release of SSDT for VS 2017 can be installed in the following languages:

Offline install

To install SSDT when you’re not connected to the internet, follow the steps in this section. For more information, see Create a network installation of Visual Studio 2017.

First, complete the following steps while online:

  1. Download the SSDT standalone installer.

  2. Download vs_sql.exe.

  3. While still online, execute one of the following commands to download all the files required for installing offline. Using the --layout option is the key, it downloads the actual files for the offline installation. Replace <filepath> with the actual layouts path to save the files.

    1. For a specific language, pass the locale: vs_sql.exe --layout c:<filepath> --lang en-us (a single language is ~1 GB).
    2. For all languages, omit the --lang argument: vs_sql.exe --layout c:<filepath> (all languages are ~3.9 GB).
  4. Execute SSDT-Setup-ENU.exe /layout c:<filepath> to extract the SSDT payload into the same <filepath> location where the VS2017 files were downloaded. This action ensures that all files from both are combined into a single layouts folder.

After completing the previous steps, the following steps below can be done offline:

  1. Run vs_setup.exe --NoWeb to install the VS2017 Shell and SQL Server Data Project.
  2. From the layouts folder run SSDT-Setup-ENU.exe /install and select SSIS/SSRS/SSAS.
    • For an unattended installation, run SSDT-Setup-ENU.exe /INSTALLALL[:vsinstances] /passive.

For available options, run SSDT-Setup-ENU.exe /help

Note

If using a full version of Visual Studio 2017, create an offline folder for SSDT only, and run SSDT-Setup-ENU.exe from this newly created folder (don’t add SSDT to another Visual Studio 2017 offline layout). If you add the SSDT layout to an existing Visual Studio offline layout, the necessary runtime (.exe) components are not created there.

Considerations and limitations

  • You can’t install the community version offline
  • To upgrade SSDT, you need to follow the same path used to install SSDT. For example, if you added SSDT using VSIX, then upgrade via VSIX. If you installed SSDT via a separate install, then you need to upgrade using that method.

Supported SQL versions

Project TemplatesSQL Platforms Supported
Relational databasesSQL Server 2005* - SQL Server 2017
(use SSDT 17.x or SSDT for Visual Studio 2017 to connect to SQL Server on Linux)
Azure SQL Database
Azure SQL Data Warehouse (supports queries only; database projects aren't yet supported)
* SQL Server 2005 support is deprecated,
move to an officially supported SQL version
Analysis Services models
Reporting Services reports
SQL Server 2008 - SQL Server 2017
Integration Services packagesSQL Server 2012 - SQL Server 2019

DacFx

SSDT for Visual Studio 2015, and SSDT for Visual Studio 2017 both use DacFx 17.4.1: Download Data-Tier Application Framework (DacFx) 17.4.1.

Previous versions

To download and install SSDT for Visual Studio 2015, or an older version of SSDT, see Previous releases of SQL Server Data Tools (SSDT and SSDT-BI).

Next steps

After installing SSDT, work through these tutorials to learn how to create databases, packages, data models, and reports using SSDT:

Free

Get Help

See Also