Hi,
I keep getting this pop-up error as I modify code every 5-10 seconds. The only way to fix it is to disable the class library. Here's a screenshot:
I also keep getting compilation error in QAction 63000, which I assume are also related to DIS. I have tried reinstalling DIS as well as using different versions but none of them seem to be working properly.
Any help is appreciated. Thanks in advance!
Edit: Here are some screenshots of my settings:
The DMA I'm working on is compatible with the latest version of DIS / Class Library.
Hi Michiel,
I don’t have any community packages, just the 3 base packages included by default.
I have the latest DIS Version 2.30.1.7
Here’s what the log shows:
2021/01/11 10:28:02.287|Starting new SLDisClassLibraryService service process
2021/01/11 10:28:03.263|> Process started: PID 11412
2021/01/11 10:28:03.359|> Starting service
2021/01/11 10:28:03.461|> net.pipe://127.0.0.1/03d180dc-a068-4f6d-aa26-593fef46dd68/SLDisClassLibraryService
2021/01/11 10:28:03.461|SLDisClassLibraryService service PID: 11412
2021/01/11 10:28:03.623|Connecting to SLDisClassLibraryService service process
2021/01/11 10:28:03.623|> Service is started!
2021/01/11 10:28:03.624|> Parent process: devenv (8880)
2021/01/11 10:28:04.012|Connected to SLDisClassLibraryService service process!
2021/01/11 10:28:04.122|> Executing RegisterCallback
2021/01/11 10:28:47.576|> Trying to load assembly via service: Microsoft.CodeAnalysis, Version=1.3.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
2021/01/11 10:28:47.578|> Get path via service…
2021/01/11 10:28:47.683|> Path: c:program files (x86)microsoft visual studio2017professionalcommon7idecommonextensionsmicrosoftmanagedlanguagesvbcsharplanguageservicesMicrosoft.CodeAnalysis.dll
2021/01/11 10:28:47.684|> Loading…
2021/01/11 10:28:47.693|> Successfully loaded Microsoft.CodeAnalysis, Version=1.3.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35!
2021/01/11 10:28:47.725|> Trying to load assembly via service: System.Collections.Immutable, Version=1.2.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
2021/01/11 10:28:47.725|> Get path via service…
2021/01/11 10:28:47.725|> Path: C:Program Files (x86)Microsoft Visual Studio2017ProfessionalCommon7IDEPrivateAssembliesSystem.Collections.Immutable.dll
2021/01/11 10:28:47.726|> Loading…
2021/01/11 10:28:47.727|> Successfully loaded System.Collections.Immutable, Version=1.2.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a!
2021/01/11 10:28:47.732|> Executing GenerateLibraryQAction
2021/01/11 10:28:47.736|> Trying to load assembly via service: Microsoft.CodeAnalysis.CSharp, Version=1.3.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
2021/01/11 10:28:47.736|> Get path via service…
2021/01/11 10:28:47.736|> Path: c:program files (x86)microsoft visual studio2017professionalcommon7idecommonextensionsmicrosoftmanagedlanguagesvbcsharplanguageservicesMicrosoft.CodeAnalysis.CSharp.dll
2021/01/11 10:28:47.736|> Loading…
2021/01/11 10:28:47.745|> Successfully loaded Microsoft.CodeAnalysis.CSharp, Version=1.3.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35!
2021/01/11 10:28:48.202|> Trying to load assembly via service: System.Reflection.Metadata, Version=1.4.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
2021/01/11 10:28:48.202|> Get path via service…
2021/01/11 10:28:48.203|> Path: C:Program Files (x86)Microsoft Visual Studio2017ProfessionalCommon7IDEPrivateAssembliesSystem.Reflection.Metadata.dll
2021/01/11 10:28:48.203|> Loading…
2021/01/11 10:28:48.212|> Successfully loaded System.Reflection.Metadata, Version=1.4.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a!
2021/01/11 10:28:48.218|> Trying to load assembly via service: System.Collections.Immutable, Version=1.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
2021/01/11 10:28:48.229|> Get path via service…
2021/01/11 10:28:48.229|> Path: C:Program Files (x86)Microsoft Visual Studio2017ProfessionalCommon7IDEPrivateAssembliesSystem.Collections.Immutable.dll
2021/01/11 10:28:48.229|> Loading…
2021/01/11 10:28:48.230|> Successfully loaded System.Collections.Immutable, Version=1.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a!
2021/01/11 10:28:50.494|> Trying to load assembly via service: Microsoft.CodeAnalysis.CSharp.resources, Version=2.10.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35
2021/01/11 10:28:50.495|> Get path via service…
2021/01/11 10:28:50.503|> Path:
2021/01/11 10:28:50.503|> Trying to load assembly from package: Microsoft.CodeAnalysis.CSharp.resources
2021/01/11 10:28:50.503|> Couldn’t find file in DIS package.
2021/01/11 10:28:50.504|> Couldn’t load assembly.
2021/01/11 10:28:50.504|> Trying to load assembly via service: Microsoft.CodeAnalysis.CSharp.resources, Version=2.10.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35
2021/01/11 10:28:50.504|> Get path via service…
2021/01/11 10:28:50.504|> Path:
2021/01/11 10:28:50.504|> Trying to load assembly from package: Microsoft.CodeAnalysis.CSharp.resources
2021/01/11 10:28:50.504|> Couldn’t find file in DIS package.
2021/01/11 10:28:50.504|> Couldn’t load assembly.
2021/01/11 10:28:50.505|> Trying to load assembly via service: Microsoft.CodeAnalysis.CSharp.resources, Version=2.10.0.0, Culture=en, PublicKeyToken=31bf3856ad364e35
2021/01/11 10:28:50.505|> Get path via service…
2021/01/11 10:28:50.510|> Path:
2021/01/11 10:28:50.510|> Trying to load assembly from package: Microsoft.CodeAnalysis.CSharp.resources
2021/01/11 10:28:50.510|> Couldn’t find file in DIS package.
2021/01/11 10:28:50.511|> Couldn’t load assembly.
2021/01/11 10:28:50.511|> Trying to load assembly via service: Microsoft.CodeAnalysis.CSharp.resources, Version=2.10.0.0, Culture=en, PublicKeyToken=31bf3856ad364e35
2021/01/11 10:28:50.511|> Get path via service…
2021/01/11 10:28:50.511|> Path:
2021/01/11 10:28:50.511|> Trying to load assembly from package: Microsoft.CodeAnalysis.CSharp.resources
2021/01/11 10:28:50.511|> Couldn’t find file in DIS package.
2021/01/11 10:28:50.512|> Couldn’t load assembly.
2021/01/11 10:28:50.556|The class library contains one or more errors.:
* Skyline/DataMiner/Library/Automation/Extensions/IEngineExtensions.cs (package: Class Library)
– (20,34) CS0246: The type or namespace name ‘IEngine’ could not be found (are you missing a using directive or an assembly reference?)
* Skyline/DataMiner/Library/Common/DataMinerSystem/Objects/Elements/Connections/Ports/Udp.cs (package: Class Library)
– (41,27) CS1061: ‘ElementPortInfo’ does not contain a definition for ‘IsSslTlsEnabled’ and no accessible extension method ‘IsSslTlsEnabled’ accepting a first argument of type ‘ElementPortInfo’ could be found (are you missing a using directive or an assembly reference?)
– (172,16) CS1061: ‘ElementPortInfo’ does not contain a definition for ‘IsSslTlsEnabled’ and no accessible extension method ‘IsSslTlsEnabled’ accepting a first argument of type ‘ElementPortInfo’ could be found (are you missing a using directive or an assembly reference?)
* Skyline/DataMiner/Library/Common/DataMinerSystem/Objects/Elements/Connections/SnmpV1Connection.cs (package: Class Library)
– (253,13) CS1061: ‘ElementPortInfo’ does not contain a definition for ‘IsSslTlsEnabled’ and no accessible extension method ‘IsSslTlsEnabled’ accepting a first argument of type ‘ElementPortInfo’ could be found (are you missing a using directive or an assembly reference?)
– (298,16) CS1061: ‘ElementPortInfo’ does not contain a definition for ‘IsSslTlsEnabled’ and no accessible extension method ‘IsSslTlsEnabled’ accepting a first argument of type ‘ElementPortInfo’ could be found (are you missing a using directive or an assembly reference?)
* Skyline/DataMiner/Library/Common/DataMinerSystem/Objects/Elements/Connections/SnmpV2Connection.cs (package: Class Library)
– (245,5) CS0117: ‘ElementPortInfo’ does not contain a definition for ‘IsSslTlsEnabled’
– (300,16) CS1061: ‘ElementPortInfo’ does not contain a definition for ‘IsSslTlsEnabled’ and no accessible extension method ‘IsSslTlsEnabled’ accepting a first argument of type ‘ElementPortInfo’ could be found (are you missing a using directive or an assembly reference?)
* Skyline/DataMiner/Library/Common/DataMinerSystem/Objects/Elements/Connections/SnmpV3Connection.cs (package: Class Library)
– (248,5) CS0117: ‘ElementPortInfo’ does not contain a definition for ‘IsSslTlsEnabled’
Hi Alex,
That happens when one of the class libraries that you have installed has compilation errors.
You should check which packages do you have, and if their minimum versions are consistent with your DataMiner version.
Hi Jorge, please check my updated post. I added some more valuable info. Thanks!
Do you have any Community packages installed?
And what is the DIS version that you are using?
And what does the output window show you?