1

Closed

Security warning when loading NTrace-enabled projects

description

When loading a project that is using the MSBuild integration (NTrace.CSharp.targets), you experience a warning dialog when loading the project in Visual Studio (see attached). Users must choose "Load project normally" in order for the project to compile properly.

file attachments

Closed Nov 19, 2008 at 4:24 PM by ahopper
Fixed by change 18155.

comments

ahopper wrote Nov 13, 2008 at 5:44 PM

We need to add registry values that contain paths for the NTrace targets to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\MSBuild\SafeImports:
NTrace.CSharp.targets
NTrace.VisualBasic.targets
NTrace.Common.targets

The naming convention will be <<targetfilename>>.<<majorversion>>.<<minorversion>>:
Example: ntrace.csharp.targets.1.0