开发者

Compiling Silverlight app sometimes fails due to Google Desktop

I am using Google Desktop on my machine.

When I want to build my Silverlight 4 app in Visual studio 2010, 1 out of 30 (roughly) times the build will fail saying "The "SubsetFontsSilverlight" task failed unexpectedly" and then it explai开发者_开发知识库ns that the process cannot access a file in ...\obj\Debug\Fonts\Fonts.zip because it is being used by another process.

By trial-and-error I found out that if I close Google Desktop the problem goes away (I assume google desktop is currently indexing the file). The only way to solve this problem and compile my app again is to completely shut down Google Desktop. This is annoying. Does anybody have a workaround for this?

Thanks.

Jan


If it's Google Desktop then you can exclude directories. See this link: http://desktop.google.com/support/bin/answer.py?hl=en&answer=10117

Also, if it's not Google Desktop it could be an AntiVirus application that needs to exclude that directory.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜