Crank Up Your Visual Studio Build Output to 11

Sometimes when you build or deploy your project in Visual Studio, the output will say that there are errors, but there doesn’t appear to be any apparent errors in the output it gives you.  It’s times like this that you need to do what I refer to as “turning the build output up to 11”. …

0

Adding a Button to the Debug Toolbar in Visual Studio

Here’s how you can add a button to the Debug toolbar in VS: Attach to a process or run a project so that your solution is in “Running” mode   I’ll attach to devenv.exe (and make sure that I have selected “Managed (v4.5, v4.0) code” as the code type that I want to attach to,…

2

Publish LightSwitch 2013 Preview Applications to Windows Azure Web Sites (without the Azure SDK)

We recently announced the preview release of Visual Studio 2013 and as we noted in the LightSwitch release notes, “Publishing to Azure requires a newer version of Azure SDK, which is not yet released to the public. You can’t reliably publish to Azure until the SDK is available. We will announce the availability on the…

0

How to Run a LightSwitch App in Azure without HTTPS (V3 Apps Only)

  IMPORTANT:  We recommend that you use HTTPS for applications deployed in production and that the approach outlined below only be used for testing purposes.  I will work on getting something posted about SSL Certificates and LightSwitch apps, as I am not finding anything straight-forward with a quick search.   Currently when you go down…

2

Avoid LightSwitch URI Casing Issue Using the URL Rewrite Module

Late last year, some customers on the LightSwitch forums started reporting an issue that certain situations would cause an error with the message: “The context is already tracking a different entity with the same resource Uri.” or “An error occurred while processing this request.”  One of the ways that this could repro was if the…

5

Declaring LightSwitch Publish Wizard Bankruptcy

Sometimes if you attempt to publish the same LightSwitch project to different targets (e.g. first publishing to IIS then publishing to Azure) you can get some weird errors in the publish wizard.  If you have switched your publish targets or if you have manually updated/removed settings from your .lsproj or .lsproj.user file, you can do…

9

AX Window Management Tips

It’s pretty easy to get tons of AOT windows open during AX development and sometimes windows will open in weird states (like way way off to the right side of the workspace).  There are a few keyboard shortcuts related to window management that are essential to figuring out what’s going on with your windows.  …

1

ReferenceTable & Table References on EDT

  This post attempts to explain the behaviors of the ReferenceTable property and Table References node on Extended Data Types in Microsoft Dynamics AX 2012 Synopsis:  Lookup & View Details behavior are controlled by Relations (either Table Relations or legacy EDT Relations) for controls bound to table fields.  Controls that are not bound to table…

3