roozbehid / wasmwinforms Goto Github PK
View Code? Open in Web Editor NEWC# Winforms for Webassembly
License: MIT License
C# Winforms for Webassembly
License: MIT License
Using Firefox on Windows 10, the calculator demo does not work and logs this error to the console:-
RangeError: bad Memory initial size mono.js:1181:26
<anonymous> https://webassembly.z19.web.core.windows.net/Calculator/mono.js:1181:26
:D. https://github.com/cefsharp/CefSharp
Uses cefsharp to run another browser in another browser.
"What browser are you in? I DON'T KNOW!? IE but Chromium? AAAHHHHH
README says the following: "Maybe call it some useless technology..."
This is definitely not true. Lots of businesses run on old winforms code, which, if converted to web app could be a real benefit.
I know enterprise companies trying to do such transformations.
Probably due to not finding their charachter to determine width, etc...
libgdiplus has the function "GdipNewPrivateFontCollection".
So if I'm not mistaken the mapping in mono-wasm is missing.
So all that needs to be done is to add the mapping
to "libgdi_library_mappings" in "driver.c"?
Ok this is not a real issue but it seems that unhandled exception seems to freeze the app.
I'm sorry for the troll.
That beeing said ... that's amazing !
Thx a lot for that initiative ;)
at :8080/DiscordUploader.CloudForm..ctor () <0x3437bb8 + 0x00044> in <f57a8ae81ee64592a2f8ca3f7c7c3964>:0
at :8080/DiscordUploader.Program.Main () <0x2eab640 + 0x0000a> in <f57a8ae81ee64592a2f8ca3f7c7c3964>:0
at Object.call_method (mono.js:1)
at Object.call_static_method (mono.js:1)
at Object.init ((index):22)
at runtime.js:11
at mono.js:1```
I tried #4 and it didn't fix it.
Severity Code Description Project File Line Suppression State
Error
Unhandled Exception: Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'System.Drawing.New, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
at Mono.Cecil.BaseAssemblyResolver.Resolve(AssemblyNameReference name, ReaderParameters parameters)
at Driver.Import(String ra, AssemblyKind kind)
at Driver.Run(String[] args)
at Driver.Main(String[] args)
ConsoleApp2 C:\Users\hp.nuget\packages\winforms.wasm\1.0.0.33\build\netstandard2.0\Winforms.Wasm.targets 13
Dotnet: Visual Studio 2019 (c#)
OS: Windows 10
Error Failed to add reference to 'bz2'.
Please make sure that the file is accessible, and that it is a valid assembly or COM component.
Using chrome
Any suggestion to fix this error when compiling to WasmRel?
Hi there,
I am attempting to build my application and getting the following error with the complete app not being outputted into the dist folder:
Unhandled Exception: Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'System.Windows.Forms, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
at Mono.Cecil.BaseAssemblyResolver.Resolve(AssemblyNameReference name, ReaderParameters parameters)
at Driver.Import(String ra, AssemblyKind kind)
at Driver.Run(String[] args)
at Driver.Main(String[] args)
WasmForm C:\Users\myuser\.nuget\packages\winforms.wasm\1.0.19137.60\build\netstandard2.0\Winforms.Wasm.targets 13
This is using version 1.0.19137.60 and .NET Core 2.1. If there is any additional information I can provide please let me know.
Hello, I will be doing some tests but want to know if you already tried using a OCX with it?
Example: How about use a Flash OCX to emulate flash support as an ActiveX component? I do have some client systems that will not be updated until next year, so Flash EOL is making this solution interesting.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.