Giter Site home page Giter Site logo

Comments (7)

the4ups avatar the4ups commented on May 24, 2024 1

My bad, sorry. I use another file version. For me commenting this code helps (lines: 134 and 135 in current version):
if (sync)
projectSyncAction.EndInvoke(projectSyncAction.BeginInvoke(generatedFileNames, null, null));

from damiengkit.

the4ups avatar the4ups commented on May 24, 2024

As workaround: comment 145 and 146 at MultipleOutputHelper.ttinclude. This should fix issue.

from damiengkit.

Jonatthu avatar Jonatthu commented on May 24, 2024

@thechups
This? This is line 145 and 146 :/
‘’’
: base(host, template) {
var hostServiceProvider = (IServiceProvider)host;
‘’’

from damiengkit.

damieng avatar damieng commented on May 24, 2024

I can't see how that would work at all, you'd get a compiler error.

Not sure why this would be freezing with dotnet core libraries, need a sample project to repro this on as the libs shouldn't make any difference. I can only imagine that the project add-in for VS 2017 for whatever type of project you are using has major problems with the calls I make to add the project to your solution/source control.

One workaround would be to change line 31 https://github.com/damieng/DamienGKit/blob/master/T4/MultipleOutputHelper/MultipleOutputHelper.ttinclude#L31 to read

return new Manager(host, template);

You'll just need to manually add the files to VS using the show file/include in project.

from damiengkit.

stevehayles avatar stevehayles commented on May 24, 2024

I think the right fix is to leave the suggested change https://github.com/damieng/DamienGKit/blob/master/T4/MultipleOutputHelper/MultipleOutputHelper.ttinclude#L31 undone and then modify the following line (at around line 134)

if (sync)
projectSyncAction.EndInvoke(projectSyncAction.BeginInvoke(generatedFileNames, null, null));

to

if (sync)
projectSyncAction(generatedFileNames);

from damiengkit.

damieng avatar damieng commented on May 24, 2024

Fixed.

from damiengkit.

damieng avatar damieng commented on May 24, 2024

Thanks for the feedback/reporting and suggestions!

from damiengkit.

Related Issues (14)

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.