nikhilk / scriptsharp

Script# Project - a C# to JavaScript compiler, to power your HTML5 and Node.js web development.
http://scriptsharp.com
Other
658 stars 182 forks source link

VS 2017 15.5.0 Preview 2 Breaks ScriptSharp Compilation #452

Open michaelaird opened 7 years ago

michaelaird commented 7 years ago

FYI:

It looks like the latest preview build of VS 2017 breaks Script# compilation due to mscorlib conflict resolution.

I've logged a bug here: https://developercommunity.visualstudio.com/content/problem/138986/1550-preview-2-breaks-scriptsharp-compilation.html . Please add comments and upvote there.

scottdurow commented 7 years ago

Thanks for the heads up - I've voted

scottdurow commented 7 years ago

Do you think compiling the Script# mscrolib to a greater version than 4.0 would work around this issue?

michaelaird commented 7 years ago

Possibly. That might work for individuals who are willing to do their own builds but given this project has essentially been "done" for several years, I think it's unlikely that an updated package will be released. (As an aside, we've been migrating our Script# to TypeScript using the excellent Rosetta project)

scottdurow commented 7 years ago

Do you have any info on how to get Rosetta going?

michaelaird commented 7 years ago

@scottdurow Let's take this offline. Email me at michael at campbrain.com and I can give you some pointers.

janis-veinbergs commented 5 years ago

This should be solved as workaround was provided:

This can probably be resolved by setting the following property in the MSBuild project file:

<DisableHandlePackageFileConflicts>true</DisableHandlePackageFileConflicts>

janis-veinbergs commented 2 years ago

@michaelaird Rosetta sounds intriguing. I tried and succeeded generating .d.ts files (after removing some empty namespace attributes [ScriptNamespace("")]). Could you look into https://github.com/scottdurow/SparkleXrm/issues/452 and provide some feedback please?