Failed to Load d:testSNI.dll system componentmodel.win32Exception: The specified model could not be found

  Kiến thức lập trình

There are many solution in root folder and each solution has .Net Framework 4.7.1 MVC web Project and has API and library project target both .Net Framework 4.7.1 and .Net Core 6.0 .

when I migrated API and library project that target .Net 6.0 to .Net 8.0.

The Azure CI/CD pipeline which deployed earlier has x64 folder with sni.dll but after migration it is not generating this folder.

The VS 2022 configuration manager has Any CPU for all projec. The local VS2022 before and after migration, it generate the x64 and x86 folder with SNI.dll but Azure devops ci is generate the these 2 folder before migration but after migration it is not generating.

The MVC web is not loading and give error 500 internal server error if we look into the actual error “Failed to Load d:testSNI.dll system componentmodel.win32Exception: The specified model could not be found “

Azur CI TASK used to build is MSBUILD@1
Added /p:Platform=x64 but this was not work since configuration manager for that project is ANY CPU. May be if I change this to X64 it may generate but I don’t want to .

Please advise how to have these files on Azure ci/cd deployment.

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT