Solomon Cloud Solutions brings you powerful tips for your web apps developer to build and deploy your Microsoft Dynamics SL Web Apps more efficiently.
Part 2 – Correcting the Project Files Location Information (click here to view part 1)
These instructions are for use with Microsoft Dynamics SL Web Apps 2015 CU1 release (prior to latest SL hot fix 36454).
The instructions that follow will correct the Web Apps project files so they can be opened from any location using Visual Studio.
Earlier versions of Web Apps have project locations set in such a way they require you open the solution file directly from the folder it is in. Not doing so would result in an improper build. The following steps will correct that condition.
Steps to Correct the Project Files Location Information:
4. Select Replace All.
5. Select Reload All.
6. Save all the project files (Ctrl+Shift+S).
Background: ‘$(MSBuildStartupDirectory)\’ is the current solution start folder. So if you started Visual Studio from the windows menu then the folder will not be the proper location. This is why you need to open WebApps solutions from the folder location. ‘$(SolutionDir)’ is the actual solution location regardless of the Visual Studio execution. When you debug Web Apps by attaching the solution to the execution you need to run the solution as Administrator. This made it almost impossible to work in this manner without pulling several time consuming tricks.
****NOTE: Microsoft’s latest SL hot fix (36454) corrects this condition, so the steps above would be used only on versions of SL 2015 CU1 prior to hotfix 36454.
Don’t have a web apps developer on staff or your staff is already overworked? Contact us at email@example.com to see how we can help.