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

Backend assemblies not copied to build output on Windows #30

Open
Viklor opened this issue Sep 22, 2020 · 7 comments
Open

Backend assemblies not copied to build output on Windows #30

Viklor opened this issue Sep 22, 2020 · 7 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@Viklor
Copy link

Viklor commented Sep 22, 2020

It is better to use Visual Studio Code than Visual Studio to work with the project, because in Visual Studio the project is compiled but cannot run.

Для работы с проектом лучше использовать Visual Studio Code чем Visual Studio, так как в Visual Studio проект компилируется, но не может запуститься.

@roman-yagodin roman-yagodin added the good first issue Good for newcomers label Sep 22, 2020
@roman-yagodin
Copy link
Member

roman-yagodin commented Sep 22, 2020

I don't know, which is better...

  • Which Visual Studio version/edition you referring to?
  • Does it produces the .exe file in the build output directory after build?
  • If so, can you run the .exe without issues or not (e.g. some .dlls are missing)?

@roman-yagodin
Copy link
Member

roman-yagodin commented Sep 23, 2020

  • Have you tried Visual Studio Code to build the project, or the statement "it is better to use Visual Studio Code..." is just an assumption?
  • Please provide error logs/screenshots here, if any.

@Viklor
Copy link
Author

Viklor commented Sep 24, 2020

I used Visual Studio 2019.
The fact that Visual Studio Code is better than Visual Studio is just my guess, since I don't know how to use Visual Studio Code yet.
When launching R7.Webmate.Xwt in Visual Studio, these errors appear:
image

@Viklor
Copy link
Author

Viklor commented Sep 24, 2020

When the R7.Webmate.Xwt.exe file was launched, nothing happened. This problem was solved when I moved the Xwt.WPF.dll file from the "packages" folder to the directory with R7.Webmate.Xwt.exe, and it started.

При запуске R7.Webmate.Xwt.ехе файла ничего не происходило. Эта проблема решилась, когда я из папки "packages" переместил файл Xwt.WPF.dll в директорию с R7.Webmate.Xwt.ехе, и он запустился.

@Viklor
Copy link
Author

Viklor commented Sep 24, 2020

After solving the problem with the missing .dll file, the project can be launched through Visual Studio.

@roman-yagodin
Copy link
Member

roman-yagodin commented Sep 25, 2020

I see.

It looks like msbuild cannot properly invoke the CopyDependentAssemblies.ps1 script on Windows. So we need more cross-platform way to do that.

Could you provide raw build output from the VS?

@roman-yagodin roman-yagodin changed the title Visual Studio and Visual Studio Code Backend assemblies not copied to build output on Windows Sep 26, 2020
@roman-yagodin roman-yagodin added the bug Something isn't working label Sep 26, 2020
@roman-yagodin
Copy link
Member

roman-yagodin commented Sep 29, 2020

The b8ad9d0 should probably fix the issue. @Viklor could you test this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants