andrew.kumlin Posted April 27, 2020 Share Posted April 27, 2020 I added a NuGet Package to my project, and whenever I build I received this error. Whenever I comment out the code actually using the package the project will build fine like before. Below is the code that breaks the build process. using System; using System.Collections; using System.Collections.Generic; using Unigine; using LiteNetLib; [Component(PropertyGuid = "80c9ad2c0af8469b9c4f4b3e1d7e7985fe431d20")] public class Server : Component { NetManager LiteServer; private void Init() { Log.Message("Server component init finished!\n\n"); } ~Server() { } private void Update() { if(Engine.VideoApp == "null") { } } } Commenting out the NetManager line allows builds to continue. Link to comment
andrew.kumlin Posted April 28, 2020 Author Share Posted April 28, 2020 Another solution I tried as copying the .dll for the library into my project and adding it as an assembly reference. I still receive the same type of error as above. Link to comment
silent Posted April 29, 2020 Share Posted April 29, 2020 Maybe this package have some additional dll dependencies that also needs to be copied? How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
silent Posted April 30, 2020 Share Posted April 30, 2020 Also, could you please try to reproduce this behavior by creating a new .NET Core project (2.11.0.1)? How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
silent Posted May 22, 2020 Share Posted May 22, 2020 Should be fixed in 2.11.0.2: How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts