Why does Mage.exe not generate a compatibleFrameworks attribute?

后端 未结 2 1543
一个人的身影
一个人的身影 2021-01-11 10:19

We are using Mage.exe to generate our application\'s manifests as part of our build process. Upon upgrading to .NET 4 we now find it generates an invalid manifest.

T

2条回答
  •  遥遥无期
    2021-01-11 10:43

    Add this to your GenerateDeploymentManifest MSBuild task

       TargetFrameworkMoniker=".NETFramework,Version=v4.0"        
    

    and that should fix it

提交回复
热议问题