Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.1.0b5
Issue ID
911045
Regression
No
Composition namespace in System.ComponentMode namespace is not recognized by Unity
To reproduce:
1. Open the project, attached by tester (noCompositionBug.zip)
2. Open dllTest.cs script in Monodevelop
3. In Monodevelop, go to Project -> Edit References
4. Add reference to System.ComponentModel.Composition
5. In the script, add line: using System.ComponentModel.Composition
6. Go back to Unity
7. Observe the console
Expected: references added in Monodevelop are recognized when compiling code in Unity
Actual: Unity does not recognize System.ComponentMode.Composition namespace even though it is added in Monodevelop
Reproduced in 2017.1.0b1, 2017.1.0b2, 2017.1.0b3, 2017.1.0b4, 2017.1.0b5
Could not test for regression, because System.ComponentModel.Composition was introduced in .NET 4.6 and you could not use .NET 4.6 Scripting Runtime Version in 5.6 or 5.5.
Won't fix: The synchronization between the .csproj file and the Unity editor is only one-way, from Unity to the .csproj. So changes made in Visual Studio to add a project reference will not be seen by Unity. To add a reference to an assembly in the class libraries, the mcs.rsp file must be used. In general, mcs.rsp can provide the C# compiler with many different command line arguments to control the build
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
- Last segment of a Sprite Shape Spline is affected by other segments' Sprite Variant change when no edge Sprite is selected
Add comment