I. Problem background
Since I started using vs, I have always been using 2010. In cooperative development, although other team members use 2012, it's a little bit of a system, my 2010 Configuration Modification problems still work properly, but this time I took the test system, it is really a huge number, so all the software requires a uniform version, so I can only install 2012, but 10 has not been uninstalled, so it can run without conflict. On the evening of installation, on vs2012, I became familiar with the code and felt that there was no problem in running, it's also a secret .. However, it seems that I am happy too early.
Ii. problem occurred
The next day, after listening to the English language, I plan to check the code and open the project directly. As a result, as long as the project vs2012 is opened, my work stops without any prompt, I thought it was too slow for my computer to run, but I couldn't respond for the moment, but opening vs alone won't go wrong, but he just stopped his work so inexplicably, there is no way to solve the problem. The only idea is: I updated the vulnerability before shutting down yesterday, and then tried to build a project. The result of the error was finally exposed, the project cannot be created successfully, and the prompt is: ontractnamemicrosoft is not found and the constraint is not found. visual Studio. text. itextdocumentfactoryservice requiredtypeidentity Microsoft. visual Studio. text. export of itextdocumentfactoryservice matching
Error message:
Iii. solution:
If the problem arises, there will be a solution. It turns out that when the vulnerability is updated, the patch update will cause this problem, and the two errors will be:
1. Uninstall these two updates in the control panel and the Vs will be able to run normally. However, it is clear that it is necessary to update the vulnerabilities later. If an update is installed, an error occurs.
2. The second solution is a Microsoft official installation patch kb2781514, to make up for the two patches, http://www.microsoft.com/zh-CN/download/details.aspx? Id = 36020 download and install to solve the problem.
Iv. insights
This is even the first result of entering the examination system. The same solution also makes me feel that if I make a mistake and don't face it, it will be very tired and affect others, but if you face up to the mistakes and make up for them, it will be good and better. Of course, it is best not to make mistakes ..
Vs2012, cool after the patch is updated-No export matching Constraints found in the created Project