using
on WindowsFormsApplication1.csproj we have :
the tricky part is that we cannot find any Import tag for Devart.Data.Entity.targets into WindowsFormsApplication1.csproj. The reason is that Devart installation, injected it, at C:\Program Files (x86)\MSBuild\v4.0\Custom.After.Microsoft.Common.targets
as we see points the MSBuildExtensionsPath which means
Adjust the WindowsFormsApplication1.csproj to import the Devart.Data.Entity.targets.
the Devart.Data.Entity.targets defines where to find the Devart.Data.Entity.Build.Tasks.dll
Conclusion on Azure build server two files needed to exist ( the ones exist on C:\Program Files (x86)\MSBuild\Devart\v3.5 ) :
In the following example the required Devart files ( .targets & .dll ) exist to project folder and we have modded the project file to Import the Devart.Data.Entity.targets. The modded Devart.Data.Entity.targets using the MSBuildThisFileDirectory variable.
Moreover Devart Entity Developer integration to Visual Studio 2012 made as
on devenv.exe.config (Visual Studio executable)
When removing the Devart.Data.Entity.targets by C:\Program Files (x86)\MSBuild\v4.0\Custom.After.Microsoft.Common.targets the project still compiling but without having the entity metadata.
using the Visual Studio Object Viewer we see the NorthwindModel exists on both because is actual a .cs file, the metadata only embedded when Devart.Data.Entity.targets is in place ( underneath Devart.Data.Entity.Build.Tasks.dll adding extra Microsoft.Build.Utilities.TaskItem entries for metadata insertion )
references :
(2012) Devart Forums - DevartEntityDeploy on a build server
Devart Docs - Build CI/CD pipelines in Azure DevOps
similar as NuGet (this is for an obfuscator, not for devart) :
- Visual Studio 2012 Premium (express is not supporting addins)
- Devart.Entity Developer v6.10

on WindowsFormsApplication1.csproj we have :
XML:
<Compile Include="DataModel1.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>DataModel1.edml</DependentUpon>
</Compile>
<None Include="DataModel1.Diagram1.view">
<DependentUpon>DataModel1.edml</DependentUpon>
</None>
<DevartEntityDeploy Include="DataModel1.edml">
<Generator>DevartEfGenerator</Generator>
<LastGenOutput>DataModel1.Designer.cs</LastGenOutput>
</DevartEntityDeploy>
<None Include="DataModel1.edps">
<DependentUpon>DataModel1.edml</DependentUpon>
</None>
the tricky part is that we cannot find any Import tag for Devart.Data.Entity.targets into WindowsFormsApplication1.csproj. The reason is that Devart installation, injected it, at C:\Program Files (x86)\MSBuild\v4.0\Custom.After.Microsoft.Common.targets
XML:
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\Devart\v3.5\Devart.Data.Entity.targets" Condition="'$(ImportDevartEntityDeploy)'!='false' and Exists('$(MSBuildExtensionsPath)\Devart\v3.5\Devart.Data.Entity.targets')" />
</Project>
as we see points the MSBuildExtensionsPath which means

Adjust the WindowsFormsApplication1.csproj to import the Devart.Data.Entity.targets.
tip: if Devart.Data.Entity.targets exists 2 times there is no conflict (saying because on developer machine now exist to Custom.After.Microsoft.Common.targets and into project file)<Import Project="X:\Devart.Data.Entity.targets" />

the Devart.Data.Entity.targets defines where to find the Devart.Data.Entity.Build.Tasks.dll

Conclusion on Azure build server two files needed to exist ( the ones exist on C:\Program Files (x86)\MSBuild\Devart\v3.5 ) :
- Devart.Data.Entity.Build.Tasks.dll (20kb)
- Devart.Data.Entity.targets (may needed to hardcode the paths as the shot)
In the following example the required Devart files ( .targets & .dll ) exist to project folder and we have modded the project file to Import the Devart.Data.Entity.targets. The modded Devart.Data.Entity.targets using the MSBuildThisFileDirectory variable.
Moreover Devart Entity Developer integration to Visual Studio 2012 made as
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7

on devenv.exe.config (Visual Studio executable)
XML:
<probing privatePath="....;PrivateAssemblies\Devart" />
..
<dependentAssembly>
<assemblyIdentity name="Devart.EntityDeveloper.Vs" publicKeyToken="09af7300eec23701" culture="neutral" />
<codeBase version="6.10.1135.0" href="PrivateAssemblies\Devart\Devart.EntityDeveloper.Vs.dll" />
</dependentAssembly>
When removing the Devart.Data.Entity.targets by C:\Program Files (x86)\MSBuild\v4.0\Custom.After.Microsoft.Common.targets the project still compiling but without having the entity metadata.

using the Visual Studio Object Viewer we see the NorthwindModel exists on both because is actual a .cs file, the metadata only embedded when Devart.Data.Entity.targets is in place ( underneath Devart.Data.Entity.Build.Tasks.dll adding extra Microsoft.Build.Utilities.TaskItem entries for metadata insertion )

references :
(2012) Devart Forums - DevartEntityDeploy on a build server
Devart Docs - Build CI/CD pipelines in Azure DevOps
similar as NuGet (this is for an obfuscator, not for devart) :
https://www.nuget.org/packages/MSBuild.ConfuserEx (tested&working) - install at nugetpackagemanager as : Install-Package C:\MSBuild.ConfuserEx.1.0.2.0.nupkg
https://www.nuget.org/packages/Confuser.MSBuild
https://stackoverflow.com/a/73748869
https://www.nuget.org/packages?q=msbuild-confuserex