curiosity-ai / h5

🚀 The next generation C# to JavaScript compiler
https://github.com/curiosity-ai/h5
Apache License 2.0
210 stars 30 forks source link

H5 does not copy to output JS files of referenced projects #66

Closed ghost closed 1 year ago

ghost commented 1 year ago

@theolivenbaum It is critical issue and totally blocks me to use of H5 instead of Bridge.

Let's assume we have 2 projects in solution C3 and C3.Terminal.
C3 is referenced as any other assembly in regular project by C3.Terminal.

Output of C3: image

Output of C3.Terminal: image

Bridge copies h5.c3.js and h5.c3.min.js to output directory of 2nd project.
But when it is compiled by H5 then all such files are missing.

ghost commented 1 year ago

Ha-ha, my bad, it seems H5 supports a lot of project settings including <SkipEmbeddingResources>, which I added accidentally with Import directive.

All works fine!