To help understand what is going on and what is/is not possible on Office 365, here are the rules that are currently checked by the project:

This list is current as of change set 93493, October 11, 2011

  1. Assembly References.  Referencing the following assemblies is not allowed:
    • Microsoft.AnalysisServices
    • Microsoft.BusinessData
    • Microsoft.Office.Excel.Server.Udf
    • Microsoft.Office.SecureStoreService
    • Microsoft.Office.SecureStoreService.Server.Security
    • Microsoft.Office.Server
    • Microsoft.Office.Server.Diagnostics
    • Microsoft.Office.Server.Search
    • Microsoft.Office.Server.UserProfiles
    • Microsoft.SharePoint.Portal
    • Microsoft.SharePoint.Publishing
    • Microsoft.SharePoint.Search
    • Microsoft.SharePoint.Search.Extended.Administration.Common
    • Microsoft.SharePoint.Search.Extended.Administration.dll
    • Microsoft.SharePoint.Search.Extended.Administration.ResourceStorage.dll
    • Microsoft.SharePoint.SubsetProxy.dll
    • Microsoft.SqlServer
    • Microsoft.Win32
    • System.Data.Sql
    • System.Data.SqlClient
    • System.Data.SqlTypes
    • System.IO.Pipes
    • System.IO.Ports
    • System.Runtime.Remoting
  2. Calling any of the following is not allowed:
    • System.Array.CreateInstance(System.Type,System.Int32)
    • System.Type.GetType
    • System.Type.InvokeMember
    • System.Threading.Monitor.Enter
    • System.Threading.Monitor.Exit
    • System.Threading.Interlocked.CompareExchange
    • System.Threading.Thread.get_CurrentThread
    • System.Threading.Thread.get_ManagedThreadId
    • System.Reflection.FieldInfo.GetFieldFromHandle
    • System.Reflection.MethodBase.GetMethodFromHandle
    • System.Reflection.FieldInfo.GetValue
    • System.Reflection.ConstructorInfo
    • System.Reflection.MemberInfo.get_Name
    • System.Reflection.MemberInfo.GetCustomAttributes
    • System.Reflection.PropertyInfo.get_PropertyType
    • System.Reflection.PropertyInfo.GetValue
    • System.Reflection.PropertyInfo.SetValue
    • System.Reflection.MethodInfo
  3. Including a finalizer is not allowed
  4. Creating any objects whose full class name begins with the following is not allowed:
    • Microsoft.SqlServer
    • Microsoft.Win32
    • System.Data.Sql
    • System.Data.SqlClient
    • System.Data.SqlTypes
    • System.IO.Pipes
    • System.IO.Ports
    • System.Runtime.Remoting
    • System.Threading
    • System.Reflection

This list will be updated as new rules are added.

Last edited Dec 6, 2011 at 8:47 PM by dmann, version 1

Comments

No comments yet.