Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing assembly references when building #19

Open
martinboers opened this issue Dec 1, 2022 · 1 comment
Open

Missing assembly references when building #19

martinboers opened this issue Dec 1, 2022 · 1 comment
Assignees

Comments

@martinboers
Copy link
Member

martinboers commented Dec 1, 2022

When attempting to build the CLI from source using .NET 7.0, the command dotnet build src -p:PlcNextToolName=plcncli results in the following error:

m@len:~/Projects/PLCnext_CLI$ dotnet build src -p:PlcNextToolName=plcncli
MSBuild version 17.4.0+18d5aef85 for .NET
  Determining projects to restore...
  All projects are up-to-date for restore.
  PlcNext.Common -> /home/m/Projects/PLCnext_CLI/src/PlcNext.Common/bin/Debug/netstandard2.0/plcncli.Common.dll
  PlcNext.CppParser -> /home/m/Projects/PLCnext_CLI/src/PlcNext.CppParser/bin/Debug/netstandard2.0/plcncli.CppParser.dll
/home/m/Projects/PLCnext_CLI/src/PlcNext/BaseUpdateDiModule.cs(11,15): error CS0234: The type or namespace name 'CliNamedPipeMediator' does not exist in the namespace 'PlcNext' (are you missing an assembly reference?) [/home/m/Projects/PLCnext_CLI/src/PlcNext/PlcNext.csproj]
/home/m/Projects/PLCnext_CLI/src/PlcNext/BaseUpdateDiModule.cs(12,15): error CS0234: The type or namespace name 'NamedPipeServer' does not exist in the namespace 'PlcNext' (are you missing an assembly reference?) [/home/m/Projects/PLCnext_CLI/src/PlcNext/PlcNext.csproj]
/home/m/Projects/PLCnext_CLI/src/PlcNext/NamedPipeServerFeature.cs(13,7): error CS0246: The type or namespace name 'FeatureToggle' could not be found (are you missing a using directive or an assembly reference?) [/home/m/Projects/PLCnext_CLI/src/PlcNext/PlcNext.csproj]
/home/m/Projects/PLCnext_CLI/src/PlcNext/UpdateDiModule.cs(11,15): error CS0234: The type or namespace name 'NamedPipeServer' does not exist in the namespace 'PlcNext' (are you missing an assembly reference?) [/home/m/Projects/PLCnext_CLI/src/PlcNext/PlcNext.csproj]
/home/m/Projects/PLCnext_CLI/src/PlcNext/NamedPipeServerFeature.cs(17,43): error CS0246: The type or namespace name 'SimpleFeatureToggle' could not be found (are you missing a using directive or an assembly reference?) [/home/m/Projects/PLCnext_CLI/src/PlcNext/PlcNext.csproj]

Build FAILED.

I can see that there are missing assembly references, but I don't know what step(s) I need to take to restore these missing references.

Any ideas?

@mluhmann mluhmann self-assigned this Jan 3, 2024
@mluhmann
Copy link
Member

mluhmann commented Jan 3, 2024

Ticket no. 4700
Fixed with release 2024.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants