I am opening the project from a network share and it keeps prompting me for this. Anyone know how to stop the warning?
This is in Visual Studio 2015 blend.
I am opening the project from a network share and it keeps prompting me for this. Anyone know how to stop the warning?
This is in Visual Studio 2015 blend.
Rather than completely disabling the warning, you can remove the information that Windows uses to identify that the solution/project came from an untrustworthy source (but only for projects e.g. downloaded from the internet -- if you're opening them from a network location it considers non-trustworthy, such as a share that's not on Local Intranet, this doesn't apply). It stores this in an "Alternate Data Stream" (ADS) which you can view by running the following from the command prompt:
The
Zone.Identifier:$DATA
ADS file is what's causing VS to identify it as untrusted. You can remove the data just for that project by right-clicking thecsproj
file, clicking Properties, and choosing "Unblock" on the General tab.Or, to remove the ADS recursively for all files in a directory, download the
streams
tool from SysInternals, cd to the directory and type:Note that you can actually view the ADS file, which is just a regular text file, by typing e.g.
In this case, it will have contents such as:
Just uncheck the following option: