Comments (7)
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.
As workaround: comment 145 and 146 at MultipleOutputHelper.ttinclude. This should fix issue.
from damiengkit.
@thechups
This? This is line 145 and 146 :/
‘’’
: base(host, template) {
var hostServiceProvider = (IServiceProvider)host;
‘’’
from damiengkit.
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.
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.
Fixed.
from damiengkit.
Thanks for the feedback/reporting and suggestions!
from damiengkit.
Related Issues (14)
- The output file's dependency constraint is vs2015 HOT 2
- T4 how to generate a single file is not covered? HOT 1
- Output on non existing folders HOT 2
- Files are generated under the codetemplates folder HOT 5
- CRC32 Performance HOT 6
- Exception throw in InitializeTable HOT 2
- fonts` HOT 1
- Header and footer being included in default generated file HOT 10
- Package the T4 for distribution HOT 7
- Visual Studio 2015 Update 2 breaks MultipleOutputHelper.ttinclude if you transform at build time. HOT 2
- Manager.Process does not seem to process the previous file HOT 3
- CRC32 with offset HOT 3
- Setting HashValue in Crc32.cs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from damiengkit.