SGEN failure: An attempt was made to load an assembly with an incorrect format in VS2008

前端 未结 4 1473
逝去的感伤
逝去的感伤 2021-02-07 12:30

I was able to find several similar questions asked and answered, but none of the answers or exact conditions applied to my situation.

  1. I have a .NET 3.5 project bei
4条回答
  •  走了就别回头了
    2021-02-07 13:15

    This is an alternative to Ondrej's answer.

    We just made the modification for our Release configuration in the project file (csproj) and set the SDK path to the x64 version:

      
        ...
        ...
        ...
        On
        C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\x64
      
    

提交回复
热议问题