At our software company, we use Vista x64 machines for programming.
We have a network share where we put some of our dll's for 'global' usage.
The permissions on this network share are set to: 'Everyone Full Control'
and 'Security: Domain Users Full Control'.
In our Visual Studio Team System 2008 IDE we CAN reference the dll's in all
our assemblies.
BUT, when we create a Test Project with Unit Test classes, and we reference
the dll's on this share, we get the following error when we start the test
runs:
Failed to queue test run 'xxxxx': Test Run deployment issue: The location of
the file or directory '\\xxxxx\Binaries\xxxxx.xxx.dll' is not trusted.
On all the websites I found with this error message, the solution is:
for x86
c:\Windows\Microsoft.NET\Framework\v2.0.50727\CasPol -m -ag 1.2 -url
\\xxxxx\Binaries\* FullTrust
for x64
c:\Windows\Microsoft.NET\Framework64\v2.0.50727\CasPol -m -ag 1.2 -url
\\xxxxx\Binaries\* FullTrust
But this does not work. Mad
I downloaded the SDK, and tried to do the same with the .NET Framework 2.0
Configuration wizard.
>> Console Root >> .NET Framework 2.0 Configuration >> My Computer >> Runtime Securyti Policy >> Machine >> Code Groups >> All_Code >> New >> Name: xxx, Description xxx >> Type: URL: \\xxxxx\Binaries\* >> FullTrust
But still nothing is trusted.... Mad
I even set (on the server) >> System Properties >> Advanced >> Performance
Settings >> Data Execution Prevention >> Turn on DEP for essential Windows
programs and services only (that's how desperate we are).