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

Add fallback lookup for assemblies from loaded from memory #466

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kant2002
Copy link
Contributor

@kant2002 kant2002 commented Mar 9, 2024

This is important for Blazor WASM workloads.

Unfortunately it has limitation, it requires disable WebCLI format using <WasmEnableWebcil>false</WasmEnableWebcil>, but at least it's possible to some degree to play with Inter.NET in the Blazor.

Fixes #465

This is important for Blazor WASM workloads.

Unfortunately it has limitation, it requires disable WebCLI format using
`<WasmEnableWebcil>false</WasmEnableWebcil>`, but at least it's possible to some degree to play with Inter.NET in the Blazor.
@@ -822,7 +829,8 @@ internal T CompileWithoutParams<T>(List<ITypeDeclaration> itds)
includeDebugInformation = IncludeDebugInformation,
optimizeCode = !IncludeDebugInformation, // tie these together for now
showProgress = ShowProgress,
compilerChoice = CompilerChoice
compilerChoice = CompilerChoice,
ReferenceResolver = ReferenceResolver,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs #if ROSLYN

@tminka
Copy link
Contributor

tminka commented Mar 11, 2024

I'm confused about the use case of this. If the assemblies cannot be loaded normally, then how will inference work?

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

Successfully merging this pull request may close these issues.

Model compilation issue in Blazor WASM
2 participants