In the above link, after the preparation for Java, in the usage section, it uses an application named Gurux.DLMS.Simulator.Net.exe, for running multiple number of meters. Can you please tell me where I can find this application as I am unable to do so.
I downloaded and tried to build the C# version but it is giving a lot of build errors. Following are the errors that I am facing.
GXDLMSMeter.cs(37,13): error CS0234: The type or namespace name 'Net' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(42,13): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSReader.cs(34,13): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSReader.cs(39,13): error CS0234: The type or namespace name 'Net' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSReader.cs(40,13): error CS0234: The type or namespace name 'Serial' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
Program.cs(37,13): error CS0234: The type or namespace name 'Net' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
Program.cs(38,13): error CS0234: The type or namespace name 'Serial' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
Settings.cs(35,13): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
Settings.cs(38,13): error CS0234: The type or namespace name 'Net' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
Settings.cs(39,13): error CS0234: The type or namespace name 'Serial' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
Settings.cs(53,16): error CS0246: The type or namespace name 'IGXMedia' could not be found (are you missing a using directive or an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(97,32): error CS0246: The type or namespace name 'IGXMedia' could not be found (are you missing a using directive or an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(184,67): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSReader.cs(62,9): error CS0246: The type or namespace name 'IGXMedia' could not be found (are you missing a using directive or an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(329,69): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSReader.cs(76,56): error CS0246: The type or namespace name 'IGXMedia' could not be found (are you missing a using directive or an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(701,70): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(720,67): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(739,46): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(80,15): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
Build FAILED.
C:\Program Files\dotnet\sdk\3.1.413\Microsoft.Common.CurrentVersion.targets(1177,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.0 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [D:\Gurux.DLMS.Net-master\Development\Gurux.DLMS.Net.csproj]
C:\Program Files\dotnet\sdk\3.1.413\Microsoft.Common.CurrentVersion.targets(1177,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.5 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [D:\Gurux.DLMS.Net-master\Development\Gurux.DLMS.Net.csproj]
GXDLMSMeter.cs(37,13): error CS0234: The type or namespace name 'Net' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(42,13): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSReader.cs(34,13): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSReader.cs(39,13): error CS0234: The type or namespace name 'Net' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSReader.cs(40,13): error CS0234: The type or namespace name 'Serial' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
Program.cs(37,13): error CS0234: The type or namespace name 'Net' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
Program.cs(38,13): error CS0234: The type or namespace name 'Serial' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
Settings.cs(35,13): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
Settings.cs(38,13): error CS0234: The type or namespace name 'Net' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
Settings.cs(39,13): error CS0234: The type or namespace name 'Serial' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
Settings.cs(53,16): error CS0246: The type or namespace name 'IGXMedia' could not be found (are you missing a using directive or an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(97,32): error CS0246: The type or namespace name 'IGXMedia' could not be found (are you missing a using directive or an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(184,67): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSReader.cs(62,9): error CS0246: The type or namespace name 'IGXMedia' could not be found (are you missing a using directive or an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(329,69): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSReader.cs(76,56): error CS0246: The type or namespace name 'IGXMedia' could not be found (are you missing a using directive or an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(701,70): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(720,67): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(739,46): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(80,15): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
8 Warning(s)
22 Error(s)
Please help me resolve these errors. Thanks for the responses and looking forward to further responses.
The reference assemblies for .NETFramework,Version=v4.0 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks
The errors regarding the .NET versions has been resolved but still the following errors are occuring.
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\GXDLMSMeter.cs(37,13): error CS0234: The type or namespace name 'Net' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\GXDLMSMeter.cs(42,13): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\GXDLMSReader.cs(34,13): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\GXDLMSReader.cs(39,13): error CS0234: The type or namespace name 'Net' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\GXDLMSReader.cs(40,13): error CS0234: The type or namespace name 'Serial' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Program.cs(37,13): error CS0234: The type or namespace name 'Net' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Program.cs(38,13): error CS0234: The type or namespace name 'Serial' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Settings.cs(35,13): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Settings.cs(38,13): error CS0234: The type or namespace name 'Net' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Settings.cs(39,13): error CS0234: The type or namespace name 'Serial' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Settings.cs(53,16): error CS0246: The type or namespace name 'IGXMedia' could not be found (are you missing a using directive or an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\GXDLMSMeter.cs(97,32): error CS0246: The type or namespace name 'IGXMedia' could not be found (are you missing a using directive or an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\GXDLMSMeter.cs(184,67): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\GXDLMSMeter.cs(329,69): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\GXDLMSMeter.cs(701,70): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\GXDLMSMeter.cs(720,67): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\GXDLMSMeter.cs(739,46): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\GXDLMSReader.cs(62,9): error CS0246: The type or namespace name 'IGXMedia' could not be found (are you missing a using directive or an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\GXDLMSReader.cs(76,56): error CS0246: The type or namespace name 'IGXMedia' could not be found (are you missing a using directive or an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\GXDLMSMeter.cs(80,15): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
Can you please help me to fix these?
Thanks for the help till now and looking forward to further responses.
Hi Nakul Gupta,
Hi Nakul Gupta,
You can get C# version from here as described in the link:
C# example:
https://github.com/Gurux/Gurux.DLMS.Net/tree/master/Gurux.DLMS.Simulato…
BR,
Mikko
Hi,
Hi,
I downloaded and tried to build the C# version but it is giving a lot of build errors. Following are the errors that I am facing.
GXDLMSMeter.cs(37,13): error CS0234: The type or namespace name 'Net' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(42,13): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSReader.cs(34,13): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSReader.cs(39,13): error CS0234: The type or namespace name 'Net' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSReader.cs(40,13): error CS0234: The type or namespace name 'Serial' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
Program.cs(37,13): error CS0234: The type or namespace name 'Net' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
Program.cs(38,13): error CS0234: The type or namespace name 'Serial' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
Settings.cs(35,13): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
Settings.cs(38,13): error CS0234: The type or namespace name 'Net' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
Settings.cs(39,13): error CS0234: The type or namespace name 'Serial' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
Settings.cs(53,16): error CS0246: The type or namespace name 'IGXMedia' could not be found (are you missing a using directive or an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(97,32): error CS0246: The type or namespace name 'IGXMedia' could not be found (are you missing a using directive or an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(184,67): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSReader.cs(62,9): error CS0246: The type or namespace name 'IGXMedia' could not be found (are you missing a using directive or an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(329,69): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSReader.cs(76,56): error CS0246: The type or namespace name 'IGXMedia' could not be found (are you missing a using directive or an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(701,70): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(720,67): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(739,46): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(80,15): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
Build FAILED.
C:\Program Files\dotnet\sdk\3.1.413\Microsoft.Common.CurrentVersion.targets(1177,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.0 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [D:\Gurux.DLMS.Net-master\Development\Gurux.DLMS.Net.csproj]
C:\Program Files\dotnet\sdk\3.1.413\Microsoft.Common.CurrentVersion.targets(1177,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.5 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [D:\Gurux.DLMS.Net-master\Development\Gurux.DLMS.Net.csproj]
GXDLMSMeter.cs(37,13): error CS0234: The type or namespace name 'Net' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(42,13): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSReader.cs(34,13): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSReader.cs(39,13): error CS0234: The type or namespace name 'Net' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSReader.cs(40,13): error CS0234: The type or namespace name 'Serial' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
Program.cs(37,13): error CS0234: The type or namespace name 'Net' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
Program.cs(38,13): error CS0234: The type or namespace name 'Serial' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
Settings.cs(35,13): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
Settings.cs(38,13): error CS0234: The type or namespace name 'Net' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
Settings.cs(39,13): error CS0234: The type or namespace name 'Serial' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
Settings.cs(53,16): error CS0246: The type or namespace name 'IGXMedia' could not be found (are you missing a using directive or an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(97,32): error CS0246: The type or namespace name 'IGXMedia' could not be found (are you missing a using directive or an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(184,67): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSReader.cs(62,9): error CS0246: The type or namespace name 'IGXMedia' could not be found (are you missing a using directive or an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(329,69): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSReader.cs(76,56): error CS0246: The type or namespace name 'IGXMedia' could not be found (are you missing a using directive or an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(701,70): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(720,67): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(739,46): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
GXDLMSMeter.cs(80,15): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
8 Warning(s)
22 Error(s)
Please help me resolve these errors. Thanks for the responses and looking forward to further responses.
Dear Nakul Gupta,
Dear Nakul Gupta,
Your simulator doesn't find the reference for Gurux.DLMS.Net. You need to download the whole project from here:
https://github.com/Gurux/Gurux.DLMS.Net
BR,
Mikko
Hi,
Hi,
I have downloaded the whole project already. It's still giving the same errors.
Hi,
Hi,
You need to install Framework Developer Packs.
The reference assemblies for .NETFramework,Version=v4.0 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks
BR,
Mikko
Hi,
Hi,
I have downloaded and installed the .NET Framework 4.6. Then, why is it giving this error? Sorry, I am not that good with .NET, so please help me.
Thanks for the responses so far and looking forward to further responses.
HI Nakul Gupta,
HI Nakul Gupta,
That is the error message that you are receiving. You need to check that you have installed the correct version.
BR,
Mikko
Hi,
Hi,
The errors regarding the .NET versions has been resolved but still the following errors are occuring.
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\GXDLMSMeter.cs(37,13): error CS0234: The type or namespace name 'Net' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\GXDLMSMeter.cs(42,13): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\GXDLMSReader.cs(34,13): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\GXDLMSReader.cs(39,13): error CS0234: The type or namespace name 'Net' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\GXDLMSReader.cs(40,13): error CS0234: The type or namespace name 'Serial' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Program.cs(37,13): error CS0234: The type or namespace name 'Net' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Program.cs(38,13): error CS0234: The type or namespace name 'Serial' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Settings.cs(35,13): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Settings.cs(38,13): error CS0234: The type or namespace name 'Net' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Settings.cs(39,13): error CS0234: The type or namespace name 'Serial' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Settings.cs(53,16): error CS0246: The type or namespace name 'IGXMedia' could not be found (are you missing a using directive or an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\GXDLMSMeter.cs(97,32): error CS0246: The type or namespace name 'IGXMedia' could not be found (are you missing a using directive or an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\GXDLMSMeter.cs(184,67): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\GXDLMSMeter.cs(329,69): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\GXDLMSMeter.cs(701,70): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\GXDLMSMeter.cs(720,67): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\GXDLMSMeter.cs(739,46): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\GXDLMSReader.cs(62,9): error CS0246: The type or namespace name 'IGXMedia' could not be found (are you missing a using directive or an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\GXDLMSReader.cs(76,56): error CS0246: The type or namespace name 'IGXMedia' could not be found (are you missing a using directive or an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\GXDLMSMeter.cs(80,15): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Gurux' (are you missing an assembly reference?) [D:\Gurux.DLMS.Net\Gurux.DLMS.Simulator.Net\Gurux.DLMS.Simulator.Net.csproj]
Can you please help me to fix these?
Thanks for the help till now and looking forward to further responses.
Hi,
Hi,
Please, don't add compiler errors. You need to install NuGet so all the components are load.
BR,
Mikko