Coder Social home page Coder Social logo

Comments (11)

zpqrtbnk avatar zpqrtbnk commented on July 18, 2024

Interesting. Somewhere while parsing the code that you have in the builder's directory, Roslyn crashes. Is there any way you can share that code (ie any *.cs file living in the same directory as the file that has the custom tool configured)? Either publicly or via email? In addition, do you have any "special" or additional assemblies added to your umbraco's ~/bin folder?

from modelsbuilder.original.

zpqrtbnk avatar zpqrtbnk commented on July 18, 2024

Might be related to Roslyn issue dotnet/roslyn#968 - which is scheduled to be fixed in 1.0-rc2. Looking into it.

from modelsbuilder.original.

 avatar commented on July 18, 2024

I am about to go into a meeting, so will send you the code once i am out.
however, this is the general lowdown.

The models builder is in a Library. There is a Models folder, that has the builder class (empty), an EDMX of the database, and partial classes to extend the models built by the builder. There is also a number of sub folders containing self contained models.

The site/library uses ArcheType, Automapper, NuPickers. Will get a list constructed and sent over to you.

Thank you for your time looking at this issue.

from modelsbuilder.original.

 avatar commented on July 18, 2024

I have added the models (and bin dir) in this dropbox location. Hope this helps:

https://dl.dropboxusercontent.com/u/9709374/Models.zip

from modelsbuilder.original.

zpqrtbnk avatar zpqrtbnk commented on July 18, 2024

If (if) it is caused by the Roslyn bug, which in turns is related to an Immutable library bug, caused by a JIT bug, then it will be fixed with the next version of Roslyn, but in the meantime it seems that the JIT bug has been fixed in .NET 4.5.2. What .NET version are you running?

I have downloaded your files and will try to repro later today.

from modelsbuilder.original.

 avatar commented on July 18, 2024

It has been built against 4.5.1

from modelsbuilder.original.

zpqrtbnk avatar zpqrtbnk commented on July 18, 2024

Any chance you can try 4.5.2?

from modelsbuilder.original.

 avatar commented on July 18, 2024

I installed 4.5.2 and rebooted.
I did not change the version within VS and decided to just give it a quick try before i changed it to 4.5.2.

It worked without an issue and I got the generated class i was expecting.

I take it that the models builder requires 4.5.2 on the machine before it works?

Regardless, thank you for the assistance and great software.

If you post in the Umbraco Forum, i will mark you as the solution for the Karma.

from modelsbuilder.original.

zpqrtbnk avatar zpqrtbnk commented on July 18, 2024

Well, until they release Roslyn 1.0-rc2, the models builder will require 4.5.2 ;-( So I'm going to keep the issue open for documentation purposes.

from modelsbuilder.original.

zpqrtbnk avatar zpqrtbnk commented on July 18, 2024

Roslyn 1.0-rc2 is out! Adding upgrade to next milestone.

from modelsbuilder.original.

zpqrtbnk avatar zpqrtbnk commented on July 18, 2024

Should be fixed with 2.1.2.

from modelsbuilder.original.

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.