开发者

Visual Studio 2010 - After build performance issue (application start takes ages)

开发者 https://www.devze.com 2023-04-11 07:47 出处:网络
Prologue Two days ago I installed a few obfuscators. The setup process of Eazfuscator took a while and said it was op开发者_运维问答timizing and [something else]. This seemed a bit weird to me, so I

Prologue

Two days ago I installed a few obfuscators. The setup process of Eazfuscator took a while and said it was op开发者_运维问答timizing and [something else]. This seemed a bit weird to me, so I remembered this step.

Because Eazfuscator didn't work for me I decided to uninstall it. I did try the program, by dragging my solution to the Eazfuscator-window.

Anyway, after installing a few obfuscators and try-outs I decided not to use any of them.

So, while not using ANY obfuscators...

If I now compile my WPF Application (.NET 4.0 Client Profile) no build errors or whatsoever. When building is done, the start-up of the Application takes ages! Like 23 seconds while it was 2 or 3 before...

This morning I tried my solution on another VS2010 installation (another computer) and it is as fast as it was before!!

What I did so far

  • In the meanwhile I reinstalled the complete .NET 4 Framework (full and client) but no success
  • Application is still readable via ILDASM
  • Code analyzers/optimizers say nothing weird

So, Any hints where to look for settings (or so) are highly appreciated!

Edit : Solution

Thanks to the suggestion of Mr Dissapointment I got my VS2010 working like it should! Use devenv /resetsettings to fix Visual Studio issues that cannot be explained...?


Just a hunch, but I think what you have tried is looking too far down the line: I think it is likely that one or more of the programs have integrated, in some sense (even loosely) with the Visual Studio application itself - you might want to concentrate your efforts there.

Perhaps as a last resort, if nobody provides any other working help for you, you might consider restoring VS back to its "factory state" - which might help - by using the following command:

devenv /resetsettings

Posting from solution made in comments for the sake of data integrity

0

精彩评论

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

关注公众号