There is no need to manually copy msalruntime.dll to output folder as MSBuild process automatically copies to output folder as per nuspec metadata during build process, have you disable default copy behavior? Also check target .net framework.