ALINK : warning AL1073: Referenced assembly 'mscorlib.dll' targets a different processor

前端 未结 7 1873
名媛妹妹
名媛妹妹 2020-12-29 19:07

We are using VS2013 and .Net 4.5.1(recently migrated, but this error is there from .Net 4.0) . This error occurs only when compiling the project in platform target x64. Is t

7条回答
  •  一整个雨季
    2020-12-29 20:02

    We had the same issue and ended up with Matt Smith's workaround (https://stackoverflow.com/a/41945190/3506760) with one modification that made it work.

    Due to feature/bug in MsBuild (https://stackoverflow.com/a/1367309/3506760) we needed to modify targets file described in step 1.

    
    
        
            
                $(TargetFrameworkSDKToolsDirectory)$(Platform)\
            
        
    
    

提交回复
热议问题