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
Environment variable different from Developement. #3744
Comments
Thanks for contacting us @jerpic . What hosting model did you run, Server or WebAssembly? |
Hello @ElderJames, I'm using the Server hosting model. |
Hello @ElderJames, Did you reproduce it or it's only on my side? Regards. |
@jerpic I can't reproduce the issue. |
There is no problem using the Nuget version, but when I try to download the source code and compile it myself, I encounter the same problem. Using Visual Studio to compile automatically opens a browser window that can use the website normally, but when I try to use other browsers, an exception is thrown. The solution in #3078 is to publish the project, which can solve this problem (it is still unclear what caused it).
Note that I have not modified the code in |
Hello @zkhssb , please rebuild the solusion so that the js asset would be generated. |
Hello,
I'm facing to a problem, if my environment variable "ASPNETCORE_ENVIRONMENT" is different from "Development" I got a this error message when my application start.
"Microsoft.JSInterop.JSException: Could not find 'AntDesign.interop.domInfoHelper.getInfo' ('AntDesign' was undefined).
Error: Could not find 'AntDesign.interop.domInfoHelper.getInfo' ('AntDesign' was undefined)"
I'm using the AntDesign 0.18.0 with .NET 7.
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: