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

Please post public support tickets here. Note: for private support tickets, please send an email to support@cshtml5.com instead.
hadi73
Posts: 2
Joined: Sun Mar 08, 2020 4:18 am

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

Postby hadi73 » Sun Mar 08, 2020 8:49 am

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 :

JS-Support @Userware
Site Admin
Posts: 1128
Joined: Tue Apr 08, 2014 3:42 pm

Re: can't get it free version working!

Postby JS-Support @Userware » Sun Mar 08, 2020 12:34 pm

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

hadi73
Posts: 2
Joined: Sun Mar 08, 2020 4:18 am

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

Postby hadi73 » Tue Mar 10, 2020 11:40 am

No success :|


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 5 guests