c# - Weird errors that appear on first rebuild then disappear on the second rebuild -


i seem getting weird errors while rebuilding project.

i have project in witch have stored domainservice. if right click on solution , select clean solution rebuild project bunch of errors:

error 104
type or namespace name 'practices' not exist in namespace 'microsoft' (are missing assembly reference?)
d:\projects\backend\webapi\domainservices\localizationservice.cs

i errors each file have imported namespace:

using microsoft.practices.servicelocation; 

now have added reference assembly.

the weirdest thing if rebuild again works , no errors displayed.

does have ideea what's going on?

possibly have wrong build order, visual studio tries in way, fails

http://social.msdn.microsoft.com/forums/windows/en-us/34fcc251-b6fe-4878-8274-fa094ae34151/how-do-i-set-the-build-order-of-projects-in-visual-studio-solution


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -