Giter Club home page Giter Club logo

Comments (7)

daveaglick avatar daveaglick commented on September 15, 2024

Thanks for the praise, it keeps me going!

I haven't had much time this week, but hopefully I'll get a chance to dig into this a bit more next week. Thanks for the detailed bug report, and especially for the workaround. That should help narrow down what's going on. I'll keep you updated.

from scripty.

iDarush avatar iDarush commented on September 15, 2024

No updates for this issue?

from scripty.

daveaglick avatar daveaglick commented on September 15, 2024

@iDarush Not yet - been swamped the last couple months. Hoping to get back to Scripty over the holidays when things settle for a bit.

from scripty.

 avatar commented on September 15, 2024

I'm getting the same "equivalent project" exception @0x084E reported, when using the VS2015 extension + "Custom Tool" approach to consuming Scripty. Once the project has loaded for the first time, I can make exactly one change to a .csx file. Every other time I try to save the .csx file, I get the error.

@0x084E got me on the right path for working around the issue; however, I'm new enough that I didn't understand where the value of project came from, when calling the UnloadProject() method. Here's the .csx code that allows me to make multiple changes without having to restart Visual Studio:

using Microsoft.Build.Evaluation;

ProjectCollection.GlobalProjectCollection.UnloadProject(Project.Build);

from scripty.

daveaglick avatar daveaglick commented on September 15, 2024

I was fighting some blockers on getting a VS 2017 version out. Now that I've gotten past those I can start working on the issue backlog. First thing to check is if the new 0.7.x version helps with this issue. Can any of you try this scenario out with the new version and report back? Thanks!

from scripty.

jadennis avatar jadennis commented on September 15, 2024

Hello @daveaglick,

Thanks for making this great tool. I just tried it out in VS 2017 and I can confirm that this bug still exists in 0.7.0.0. Thankfully calling UnloadProject as mentioned above still works to get around the problem.

Thanks!

from scripty.

Sebazzz avatar Sebazzz commented on September 15, 2024

Might this be this problem: https://github.com/dotnet/roslyn/wiki/FAQ#how-can-i-use-roslyn-in-an-msbuild-task-and-avoid-metadata-fetching-and-re-entrancy-conflicts

from scripty.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.