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

Community site session details

Session Id :

Unable to build VS 2019 solution with Dynamics 365 Developer Toolkit Installed

Arpit Shrivastava Profile Picture Arpit Shrivastava 7,518 User Group Leader

Issue:

I have installed the Developer Tool kit in Visual Studio 2019, created a Dynamics 365 Package project, and a CRM customization project but I cannot build the VS solution after importing my CRM solution into VS. I am facing following error:


Severity    Code    Description    Project    File    Line    Suppression State
Error        The command "REM SET AssemblyVersionDefinitionFile=
          REM SET AssemblyVersionName=
          "D:\...\CRM\SDK\Bin\SolutionPackager.exe" -a:pack -z:"bin\Debug\....Customisations.zip" -f:"obj\Debug\\BeforeLoc"" exited with code 3.    CRMSSolution      


Resolution:


  • Unload your customization project in visual studio 
  • Edit your Dynamics 365 Package.CSPROJ.file either in Notepad++ or Notepad.
  • Find following lines 

<SolutionPackagerDir>C:\365SDK\Sdk\SDK\Bin</SolutionPackagerDir>

<SolutionLocToolsDir>C:\365SDK\Sdk\SDK\Bin</SolutionLocToolsDir>

and replace the highlighted part with local system path

or

Move the SDK Bin folder to other location and give that path in place of highlighted path.


This was originally posted here.

Comments

*This post is locked for comments