(LR) Support tip: NUnit testing with FIPS enabled
When working with the Visual Studio 2010 IDE Add-in for Developers, you may encounter one of the following errors when trying to build an NUnit testing solution:
"Source file '<Path_to_cs>' could not be opened ('An operation is not legal in the current state.')"
"Source file '<Path_to_cs>' could not be opened ('This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.')"
Workaround: Since Visual Studio 2010 is not officially FIPS compliant, you need to disable FIPS in one of the following ways:
- Disable FIPS for whole system.
- Disable FIPS for a specific application. For example, you can add a <enforceFIPSPolicy enabled="false"/> parameter to the <runtime> section of exe.config in Visual Studio's IDE folder.