Biztalk 2020 solution created using Visual studio 2019

We have created a simple Biztalk 2020 project using visual studio 2019.

We are running into the below two issues.

  1. For Schemas, we get the below error.

CSC(0,0): Error CS2001: Source file ‘D:\agent\7\s\Test\TestSchemas\TestSchemas\Schema1.xsd.cs’ could not be found.

  1. For Map, we get the below error,

C:\Program Files (x86)\MSBuild\Microsoft\BizTalk\BizTalkCommon.targets(126,9): Error MSB4018: The “MapperCompiler” task failed unexpectedly. System.IO.FileNotFoundException: Could not load file or assembly ‘Microsoft.VisualStudio.OLE.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. The system cannot find the file specified. File name: ‘Microsoft.VisualStudio.OLE.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ at Microsoft.VisualStudio.BizTalkProject.Compiler.MapCompiler.Compile(BizTalkBuildSnapshot buildSnapshot, IEnumerable1 mapFilesToCompile, IEnumerable1 schemaFiles, List1& generatedCodeFiles, List1& xsltFiles) at Microsoft.VisualStudio.BizTalkProject.BuildTasks.MapperCompiler.Execute() at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext() WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. Process ‘msbuild.exe’ exited with code ‘1’.

When we try to build the solution through visual studio it works fine.

The above errors are received when we use the Azure Build CI pipeline with the MSBuild task or the Visual Studio Build or the MSBuild.exe through the command line

Hi,
Do we have any update/solution which can fix the problem/issue reported?