![User Image](https://secure.gravatar.com/avatar/0833d990f60b3d888649d7faaba668a2/?s=48&d=https://images.binaryfortress.com/General/UnknownUser1024.png)
William Call
2 discussion posts
When I try to compile or verify a C@ function, I get a set of fatal errors around undefined predefined-types. This is in spite of the fact that netstandard.dll is clearly on the reference list (see attachments).
The specific script I am tryhing to complile is
"Remove Borders and Size to Full Screen (Make Borderless-Windowed)", but I get the same problem with any C# script.
With VB scrips, I get a differrent error: "Error: could not find file 'C:\Users\<user>\AppData\Local\Temp\cd0dnndmn.dll'.[System.IO.FileNotFoundException]".
The problem is most likely enviromental. I am a C# developer and this machine has multiple versions VS, Code, and various incarnations of .NET on it. I found where DF keeps the Rosalyn tools, but not where it storing the compiled output or the library search hierarchy.
In the bigger picture, I am trying to deal with a particularly obstreperous game: "Star Citizen". I have a three-monitor setup where the third monitor (ID: 3) is a 42" LG C2, but it is not my primary. SC insists on runningon the primary monitor and, while I can open it in windowed mode and drag it to the C2, it will pop back to the primary monitor if I try to reset it to Fullscreen or Borderless-Windowed mode. This behavior is made even more annoying by the fact that SC will retain its 4K resolution when it does this, and my primary monitor is not 4K. So, while I was looking at this script to see if it could resolve this problem for me, getting the script to compile is not the primary goal. Gettins Star Citizen to open on my preferred monitor in Fullscreen or Borderless-Windowed mode is the goal here.
![dfscript_errors.png](https://www.displayfusion.com/Discussions/Download/?ID=69e94588-1f82-412d-9a90-79518f96f094)
dfscript_errors.png
![dfscript_references.png](https://www.displayfusion.com/Discussions/Download/?ID=40663c12-dfba-4afd-913a-00ac238ec7e0)
dfscript_references.png
![User Image](https://secure.gravatar.com/avatar/0833d990f60b3d888649d7faaba668a2/?s=48&d=https://images.binaryfortress.com/General/UnknownUser1024.png)
William Call
2 discussion posts
Thank you for the response. The beta does seem to have fixed the problem. Hopefully, scripts can now bring Star Citizen to heel.