English 中文(简体)
Authenticode checking slows .NET build
原标题:

In other posts, e.g.

Why are signed assemblies slow to load?

it is shown how to avoid checking of signed assemblies when an app runs in a non- or slow-connected environment, by using the generatePublisherEvidence tag in the app s config file.

Good for the app users, but what about the developer? It seems my app builds very slowly under the same circumstances, and the config file approach doesn t help. Is there a relevant project build setting?

最佳回答

OK, I found the answer, but I thought it would be good to have it posted here. At the link

http://social.msdn.microsoft.com/forums/en-US/vssetup/thread/bc778e26-9156-4924-a9ca-a57ef8ff6bcc/

"Robbie Couret" wrote:

 In Internet Explorer 7...

 Tools->Internet Options->Advanced->Security Node,
 Uncheck  Check for publisher s certificate revocation* 

Yes this, really did speed up my builds from 90 seconds to 3 seconds. (My app uses several signed, third party assemblies.)

Martin

问题回答

I can only tell you what we do at work. The developer build don t sign the assemblies, it is only the "official build machine" that has the code signing certificate installed. So the developer is not required to have a open internet connection to VeriSign or whatever to do the signing.

The build script checks for the existence of an environment variable that points to a certificate. If you don t have the certificate, no signing.





相关问题
What to look for in performance analyzer in VS 2008

What to look for in performance analyzer in VS 2008 I am using VS Team system and got the performance wizard and reports going. What benchmarks/process do I use? There is a lot of stuff in the ...

SQL Table Size And Query Performance

We have a number of items coming in from a web service; each item containing an unknown number of properties. We are storing them in a database with the following Schema. Items - ItemID - ...

How to speed up Visual Studio 2008? Add more resources?

I m using Visual Studio 2008 (with the latest service pack) I also have ReSharper 4.5 installed. ReSharper Code analysis/ scan is turned off. OS: Windows 7 Enterprise Edition It takes me a long time ...

Manually implementing high performance algorithms in .NET

As a learning experience I recently tried implementing Quicksort with 3 way partitioning in C#. Apart from needing to add an extra range check on the left/right variables before the recursive call, ...

How do I profile `paster serve` s startup time?

Python s paster serve app.ini is taking longer than I would like to be ready for the first request. I know how to profile requests with middleware, but how do I profile the initialization time? I ...

热门标签