To resolve this, follow the steps below:1. Run Command Prompt and find the location of the DLL using > dir Microsoft.SqlServer.Diagnostics.STrace.dll /s2. Copy the location with the DLL name.3. Run VS 2008 Command Prompt as Administrator.4. Execute the following GACUTIL –i “{Location of Microsoft.SqlServer.Diagnostics.STrace.dll} found at step 1” 或者重装Visual studio
或者重装Visual studio