According to the MSDN page , you can do this using the format you saw in the AssemblyInfo.cs
file:
[assembly: AssemblyCulture("")]
Therefore, you can probably use:
[assembly: NUnit.Framework.Timeout(2000)]
Although I have not tried this.
It should not be in AssemblyInfo.cs
, it can be in any file, and if you want to exchange settings in many assemblies, you can define it in one GlobalAssemblyInfo.cs
, and then link this file to each project to use the general assembly settings .
source share