Skip to content

VS 2017 15.5.0 Preview 2 Breaks ScriptSharp Compilation #452

Open

Description

@michaelaird

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.

Activity

  1. scottdurow commented on Oct 26, 2017

    @scottdurow

    Thanks for the heads up - I've voted

  2. scottdurow commented on Oct 26, 2017

    @scottdurow

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

  3. michaelaird commented on Oct 26, 2017

    @michaelaird
    ContributorAuthor

    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)

  4. scottdurow commented on Oct 26, 2017

    @scottdurow

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

  5. michaelaird commented on Oct 26, 2017

    @michaelaird
    ContributorAuthor

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

  6. janis-veinbergs commented on Nov 13, 2019

    @janis-veinbergs

    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>

  7. janis-veinbergs commented on Feb 21, 2022

    @janis-veinbergs

    @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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions