csc.exe has exited with code -532462766

my surface pro 4 crashed

Call Microsoft customer service, they say they will reply within 3-4 days

You can only transfer the source code and other data to the old computer. The old computer is the Shenzhou Jingdun K480N I7D2, and the WIN10 preview version build 1625.rs2_release.170721-2122 is installed.

Download VS2017 and MSSQL2016 from Microsoft's official website and install,

Attaching the transferred source code project, many projects run successfully, but there is one project that reports an error when compiling: "csc.exe has exited, the code is -532462766"

I searched the Internet for a long time, and I also searched on GOOGLE. Some of them cleared the solution and recompiled. Some deleted the SLN file and re-created the solution and added it to the project. I ran VS with administrator privileges and tried again. The error, originally wanted to reinstall the system, is it because of the problem caused by the preview version of the system, and finally tossed it out, the solution is as follows:

1. Upgrade the properties of each project from .net 4.5 to .net 4.6.1 in VS

2. Update all NUGET packages to the latest in VS

3. Recompile, run successfully without error

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326524456&siteId=291194637