Page 1 of 1

can't get it free version working! [CSHTML5 v2]

Posted: Sun Mar 08, 2020 8:49 am
by hadi73
Hi.
i've installed 2.x version and after choosing calculator sample and Run. getting this error:

Code: Select all

1>MSBUILD : error : C#/XAML for HTML5: BeforeXamlPreprocessor (pass 2) failed: System.IO.FileLoadException: Could not load file or assembly 'CSHTML5, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
1>MSBUILD : error : File name: 'CSHTML5, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' ---> System.ArgumentException: The path is not of a legal form.
1>MSBUILD : error :    at System.IO.Path.NewNormalizePathLimitedChecks(String path, Int32 maxPathLength, Boolean expandShortPaths)
1>MSBUILD : error :    at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
1>MSBUILD : error :    at System.IO.Path.InternalGetDirectoryName(String path)
1>MSBUILD : error :    at System.IO.Path.GetDirectoryName(String path)
1>MSBUILD : error :    at DotNetForHtml5.Compiler.ReflectionOnSeparateAppDomainHandler.MarshalledObject.CurrentDomain_AssemblyResolve(Object sender, ResolveEventArgs args)
1>MSBUILD : error :    at System.AppDomain.OnAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName)
1>MSBUILD : error :

Re: can't get it free version working!

Posted: Sun Mar 08, 2020 12:34 pm
by JS-Support @Userware
Hi,

It looks like it's due to the path of your solution containing unrecognized characters or being too long.

Could you please try moving your solution folder to something simple like C:/MyProject and removing any non-ASCII characters ?

Thanks

Re: can't get it free version working! [CSHTML5 v2]

Posted: Tue Mar 10, 2020 11:40 am
by hadi73
No success :|