microsoft / microsoft/sqlmanagementobjects

Failed to load assembly Microsoft.SqlServer.Management.IntegrationServicesEnum.dll

Abierto
#168 3 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Lenguaje dominante
C#
Estrellas
143
Forks
28
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

This is a repost of the issue I first posted https://github.com/actions/runner-images/discussions/10171

I'm having an issue with an application deployed from Azure DevOps to a Windows Server 2019 machine.
Turns out the Build Pipeline isn't copying all the Assemblies from sqlserver.smo.2016.13.0.0.2.nupkg after the NuGet Restore option.

When deployed the artefacts are missing just the one Assembly from the original NuGet Package.
Hence the error,

The log shows :
https://pkgs.dev.azure.com/{Organisation}/05dc77d4-afba-4f3c-ba2d-c5898a402225/_packaging/d33f9d5a-f68c-4a5c-9958-f326ebb73865/nuget/v3/flat2/sqlserver.smo.2016/13.0.0.2/sqlserver.smo.2016.13.0.0.2.nupkg
GET https://api.nuget.org/v3-flatcontainer/sqlserver.smo.2016/13.0.0.2/sqlserver.smo.2016.13.0.0.2.nupkg

Acquiring lock for the installation of SQLServer.SMO.2016 13.0.0.2
Acquired lock for the installation of SQLServer.SMO.2016 13.0.0.2
Installing SQLServer.SMO.2016 13.0.0.2.

Completed installation of SQLServer.SMO.2016 13.0.0.2
Adding package 'SQLServer.SMO.2016.13.0.0.2' to folder 'D:\a\1\s\packages'
Added package 'SQLServer.SMO.2016.13.0.0.2' to folder 'D:\a\1\s\packages'
Added package 'SQLServer.SMO.2016.13.0.0.2' to folder 'D:\a\1\s\packages' from source 'https://api.nuget.org/v3/index.json'

However just one Assembly is missing and that is : Microsoft.SqlServer.Management.IntegrationServicesEnum.dll

The Packages.Config references the NuGet Package :
[package id="SQLServer.SMO.2016" version="13.0.0.2" targetFramework="net472" /]

The same issue occurs when building the project in Visual Studio 2019 and 2022
I have added an Installer Project and when that is built. the one file missing is the same Microsoft.SqlServer.Management.IntegrationServicesEnum.dll

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

Comienza inspeccionando SQLServer.SMO.2016.13.0.0.2.nupkg y reproduciendo la restauración/compilación en Visual Studio 2019 o 2022. Compara el contenido del paquete con los artefactos implementados, centrándote en Microsoft.SqlServer.Management.IntegrationServicesEnum.dll; se considera terminado cuando el ensamblado está presente de forma coherente después de la compilación y la implementación.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
csharp
Área
build-system, databases
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.