Does anyone know if Framework-Version can be specified when releasing collections using CSharpCompilation extensionmethod Emit?
We need to configure 4.5.1, because otherwise we get an unpleasant runtime error:
MissingMethodException Method not found: '!!0[] System.Array.Empty()'.
Or do we need to wait for clients to upgrade to Framework 4.6 before we can use Roslyn?
( ) " ". , . , 4.6 Framework (, - , 4.6).
, 4.5.1 (VS install , ) C:\Program Files (x86)\Reference Assemblies.
C:\Program Files (x86)\Reference Assemblies
Array.Empty, , , .
Array.Empty
Source: https://habr.com/ru/post/1619820/More articles:один запрос mysql для выбора 25 записей (9 + 16) с использованием объединения всех и на основе двух разных условий - phpHow to resize dialog preference message text? - androidHow can I export ddl of all objects like table, index, etc. In SYBASE IQ / SYBASE ASE without using any tools? - javang-grid Show the two-arrow sort icon for each column in a column - angularjsОптимизация запроса: DBMS_METADATA.GET_DDL (Oracle) - javaPolymer 1 nested dom-if inside dom-repeat, not updating when data changes - polymerhow to find user location within 500 meters of given lat and long in python - pythonIntroduced Matplotlib graph in Tkinter crashes in Python 3.5 - pythonStarting and stopping a node.js script automatically - javascriptPolymer, snap to array elements not working - polymerAll Articles