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

Trying to locate a referenced file #3103

Open
grumpykiwi opened this issue Dec 26, 2024 · 3 comments
Open

Trying to locate a referenced file #3103

grumpykiwi opened this issue Dec 26, 2024 · 3 comments
Assignees
Labels
v5 For the next major version

Comments

@grumpykiwi
Copy link

Hi

I am looking at integrating the Console Logging component in a console type app I am writing. I see there is a reference to the following file in the code behind of ConsoleLogProvider.razor.cs

private const string JAVASCRIPT_FILE = "./_content/FluentUI.Demo.DocViewer/Components/ConsoleLogProvider.razor.js";

I have searched around in github but cannot find this file. Could you please point me in the right direction?

Many thanks

Mark

@microsoft-github-policy-service microsoft-github-policy-service bot added the triage New issue. Needs to be looked at label Dec 26, 2024
@vnbaaij vnbaaij changed the title Trying to locate a referenced filed Trying to locate a referenced file Dec 27, 2024
@vnbaaij vnbaaij added v5 For the next major version and removed triage New issue. Needs to be looked at labels Dec 27, 2024
@vnbaaij vnbaaij assigned vnbaaij and dvoituron and unassigned vnbaaij Dec 27, 2024
@vnbaaij
Copy link
Collaborator

vnbaaij commented Dec 27, 2024

@dvoituron should know this

@dvoituron
Copy link
Collaborator

I assume you're referring to the Console in the V5 website (accessible by clicking on the top-right button)?

https://fluentui-blazor-v5.azurewebsites.net/Button
Image

This component is available in the dev-v5 branch and is the ConsoleLogProvider component.
If you want to use it, you need to copy these files.

When the ConsoleLogService.cs service is injected in your app, the default Console.WriteLine is redirected to this service to display the items in the Web console.
Image

@grumpykiwi
Copy link
Author

grumpykiwi commented Dec 27, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v5 For the next major version
Projects
None yet
Development

No branches or pull requests

3 participants