web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :

Visual Studio Setup AX2012

DaxNigel Profile Picture DaxNigel 2,574

To Open Visual Studio with a Specific Configuration from a ShortcutOn the client computer that is running Visual

  1. Studio, open the Start menu, right-click Visual Studio 2010, and select Properties

2. Update the Target field and add the /AxConfig switch with either the name of the client configuration or the name of the client configuration file as shown in the following examples:

“C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe” /AxConfig ContosoDev

or

“C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe” /AxConfig z:\Config\ContosoDev.axc

Note: When pointing to a configuration file, you can use a Universal Naming Convention (UNC) file location such as \\Server\Configurations\ContosoDev.axc.

3. Click OK. When you click the Visual Studio shortcut, it opens and Application Explorer points to the specified client configuration. The name of the configuration appears at the top in the root node of Application Explorer.

To Open Visual Studio with a Specific Configuration from the Command Line

  1. You can open Visual Studio with a client configuration from the command line. To do so, click Start > Run, type cmd and then click OK.

2. Navigate to the directory that contains the Visual Studio IDE executable, for example, C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE. Then type one of the commands shown in the previous procedure (without the quotes), for example, devenv.exe /AxConfig ContosoDev.

To Create a Specific Configuration for Reports

  1. To create a configuration for Reporting Services, run the Microsoft Dynamics AX configuration utility as an administrator, and then click Manage > Save configuration as file, and give the configuration a name like Microsoft.Dynamics.AX.ReportConfiguration.axc. The file must be saved in the PrivateAssemblies folder in the Visual Studio IDE installation directory, like the following:

C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies.

Setup advanced system settings

  1. Click the Advanced tab

2. Click the Environment Variables button

3. Under the System Variables block, add the following value:

       a.  Variable name = COMPLUS_LoaderOptimization

       b.  Variable value = 1


This was originally posted here.

Comments

*This post is locked for comments