What is csc.rsp file and How can I add it to Unity assest?
Hi,
I am new to the Unity, I want to use the MediaPlayer class in PresentationCore.dll to run in Microsoft Hololens. However, currently, I am experiencing trouble, how to import this assembly to Unity?.
In Unity manual I saw that, (https://docs.unity3d.com/Manual/dotnetProfileAssemblies.html) we can include it using a csc.rsp file, but I do not have any idea how to add this file into Assets in Unity?
Further, I want to know whether I can use the MediaPlayer class in Unity, as Unity provides its own VideoPlayer class and I could not see any sample application using MediaPlayer class along with Unity to be used with Windows device.
Thank you.
Answer by Pawciu · Mar 19, 2021 at 11:35 PM
You can do this also with "Additional Compiler Arguments".
Check out my answer here: https://forum.unity.com/threads/error-cs0246-when-building-on-ci-azure-devops-build-agent-with-plugin-dlls.1077869/
Your answer
Follow this Question
Related Questions
Game not have Assembler-CSharp.dll 1 Answer
Unity Editor crashes when loading managed Plug-in (external DLL) 1 Answer
How to make a good hp system in unity 0 Answers
How to make jump ball on grounds like game hop on App store? 0 Answers
DllNotFoundException, C++ dll used with an assembly, not possible? 0 Answers