Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS 2017 15.5.0 Preview 2 Breaks ScriptSharp Compilation #452

Open
michaelaird opened this issue Oct 26, 2017 · 7 comments
Open

VS 2017 15.5.0 Preview 2 Breaks ScriptSharp Compilation #452

michaelaird opened this issue Oct 26, 2017 · 7 comments

Comments

@michaelaird
Copy link
Contributor

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
Copy link

Thanks for the heads up - I've voted

@scottdurow
Copy link

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

@michaelaird
Copy link
Contributor Author

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
Copy link

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

@michaelaird
Copy link
Contributor Author

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

@janis-veinbergs
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants