After upgrading our VS2008 Project to VS2010 we found that VS would take 60 seconds before it appeared to actually begin building our project.
With VS 2008 our Project would build in 3 seconds.
I finally discovered that when we use Expression Blend 3/4 to embed a font into our Project, it slows down the build in VS 2010.
Has anyone got a solution to fix this?
We need 20 fonts embedded in our WPF application, and I CANNOT HANDLE waiting 60 seconds everytime I build my application. For now if I exclude the Fonts folder from the Project it again builds in 3 seconds…
You can put the Fonts as part of a separate resources DLL that you only compile when you make changes to the fonts. This way, you just include the DLL file to your project, and whenever you change the fonts, you use a deployment batch file to copy the dlls to the project, since it will need the actual files to run. This way, you don’t rebuild fonts every time, you will also save the time it takes to rebuild them every time you build.
This approach also avoids you turning it off, and helps you separate the resources from the actual application.