What are the challenges you face when working across database platforms? Take the survey
Options

Builds using ReadyRoll.MSBuild.4.0.19267.10882 fail

This morning all our our database builds are failing with:

##[error] (0,0): Error : Error when executing a task: Could not load file or assembly 'CredentialManagement, Version=1.0.1.0, Culture=neutral, PublicKeyToken=7f465a1c156d4d57' or one of its dependencies. The system cannot find the file specified.

They had been working fine with ReadyRoll.MSBuild.4.0.19261.10679 but once the new version came out everything started failing.
Tagged:

Comments

  • Options
    Hi,
    We are very sorry you are experiencing this issue.
    We are investigating as a matter of urgency and will let you know once the issue is resolved.
    Ivo Miller
    RedGate Software Developer
  • Options
    Hi,
    This issue should be resolved in the latest build. Apologies again for the inconvenience.
    Ivo Miller
    RedGate Software Developer
  • Options
    Hi,
    I have installed the latest version yesterday and the build is failing.  Content of the msbuild.log file is below.
    Build started 12/11/2019 11:18:55 PM.
    Project "E:\Workspaces\bgucuk\ci-db-common\SSB.DB.Metadata\SSB.DB.Metadata.sln" on node 1 (default targets).
    ValidateSolutionConfiguration:
      Building solution configuration "Release|Any CPU".
    Project "E:\Workspaces\bgucuk\ci-db-common\SSB.DB.Metadata\SSB.DB.Metadata.sln" (1) is building "E:\Workspaces\bgucuk\ci-db-common\SSB.DB.Metadata\SSB.DB.Metadata.sqlproj" (2) on node 1 (default targets).
    GenerateSqlTargetFrameworkMoniker:
    Skipping target "GenerateSqlTargetFrameworkMoniker" because all output files are up-to-date with respect to the input files.
    CoreCompile:
      C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Roslyn\csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:TRACE /highentropyva+ /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\System.dll" /debug:pdbonly /optimize+ /out:obj\Release\SSB.DB.Metadata.dll /ruleset:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Team Tools\Static Analysis Tools\\Rule Sets\MinimumRecommendedRules.ruleset" /subsystemversion:6.00 /target:library /warnaserror- /utf8output Properties\AssemblyInfo.cs "C:\Users\bgucuk\AppData\Local\Temp\2\.NETFramework,Version=v4.5.2.SqlClrAttributes.cs"
      Using shared compilation with compiler from directory: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Roslyn
    SqlBuild:
      Using SQL Change Automation toolpath: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\SqlChangeAutomation\SqlChangeAutomation.Data.Schema.Ssdt.targets
      Using SSDT toolpath: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\SqlChangeAutomation\Microsoft.Data.Tools.Schema.SqlTasks.targets
      : error : Error when executing a task: Could not load file or assembly 'CredentialManagement, Version=1.0.1.0, Culture=neutral, PublicKeyToken=7f465a1c156d4d57' or one of its dependencies. The system cannot find the file specified. [E:\Workspaces\bgucuk\ci-db-common\SSB.DB.Metadata\SSB.DB.Metadata.sqlproj]
    Done Building Project "E:\Workspaces\bgucuk\ci-db-common\SSB.DB.Metadata\SSB.DB.Metadata.sqlproj" (default targets) -- FAILED.

    Done Building Project "E:\Workspaces\bgucuk\ci-db-common\SSB.DB.Metadata\SSB.DB.Metadata.sln" (default targets) -- FAILED.


    Build FAILED.

    "E:\Workspaces\bgucuk\ci-db-common\SSB.DB.Metadata\SSB.DB.Metadata.sln" (default target) (1) ->
    "E:\Workspaces\bgucuk\ci-db-common\SSB.DB.Metadata\SSB.DB.Metadata.sqlproj" (default target) (2) ->
    (SqlProjectBuild target) ->
        : error : Error when executing a task: Could not load file or assembly 'CredentialManagement, Version=1.0.1.0, Culture=neutral, PublicKeyToken=7f465a1c156d4d57' or one of its dependencies. The system cannot find the file specified. [E:\Workspaces\bgucuk\ci-db-common\SSB.DB.Metadata\SSB.DB.Metadata.sqlproj]

        0 Warning(s)
        1 Error(s)

Sign In or Register to comment.