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

Instructions to build GDS sample incorrect and incomplete #289

Open
JimLuth opened this issue Mar 3, 2022 · 1 comment
Open

Instructions to build GDS sample incorrect and incomplete #289

JimLuth opened this issue Mar 3, 2022 · 1 comment
Labels
documentation Improvements or additions to documentation GDS

Comments

@JimLuth
Copy link

JimLuth commented Mar 3, 2022

https://github.com/OPCFoundation/UA-.NETStandard-Samples/tree/master/Samples/GDS#how-to-build-and-run-the-windows-opc-ua-global-discovery-server

Attempting to build with VS2022 I noted the following:

  1. The default datasource is no longer (localdb)\MSSQLLocalDB in VS2022, so I had to rename it.
  2. The script to initialize the DB is not \DB\Tables.sql as stated in the instructions. (it is \DB\gdsdb.edmx.sql)
  3. I had to manually create the gdsdb in SQL Server -- but there are no instructions to do so.
  4. This instructions say the initialize DB script is executed on first run, but this did not happen. I had to manually run the script to populate the database.
@mregen mregen added the GDS label Mar 4, 2022
@mregen
Copy link
Contributor

mregen commented Mar 7, 2022

Hi @JimLuth , I double checked with VS2022 on a clean PC, the database was created and initialized as described:

image

Also when running the GDS unit tests against the server all is working.

Which VS2022 version did you use? I tested with Enterprise, some default installation for C# development.

@mregen mregen added the documentation Improvements or additions to documentation label Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation GDS
Projects
None yet
Development

No branches or pull requests

2 participants