2016-07-05 53 views
2

我刚刚更新到Azure的服务织物2.1.150 SDK,发现我开始编译我的清单(.sfproj)项目建设时警告:服务织物2.1.150导致不AutoGenerateBindingRedirects的MSBuild警告

C:\Program File (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1820,5): 
warning MSB3276: Found conflicts between different versions of the same dependent 
assembly. 
Please set the "AutoGenerateBindingRedirects" property to true in the project file. 
For more information, see http://go.microsoft.com/fwlink/?inkId=294190. 

我可以按照指示轻松足够,并防止通过编辑.sfproj出现的警告:

<PropertyGroup Label="Globals"> 
    <ProjectGuid>12dbad9d-346c-xxxx-xxxx-04ab65fb4cac</ProjectGuid> 
    <ProjectVersion>1.1</ProjectVersion> 
    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> 
</PropertyGroup> 

问:为什么会这样开始发生在2.1.150中,我应该担心什么?

回答

2

由于此新版本中.sfproj使用的某些MSBuild文件中的逻辑发生了变化,因此此警告显示在此场景中。一旦下一个版本发布,它应该解决这个问题,这样警告就不会再出现了。您的缓解措施很好,无需担心有关警告。