Git Product home page Git Product logo

Comments (6)

anderscui avatar anderscui commented on July 17, 2024

@qqq6089063 ,将整个Resources目录拷贝到程序集所在目录,带Resources目录一起拷贝。我目前只测试过4.5,4.6应该没问题。

from jieba.net.

qqq6089063 avatar qqq6089063 commented on July 17, 2024

@anderscui 谢谢您的回复!但是这2天,我把所有可能性都测试过了,仍是一样的报错,包括framework4.5、4.6,当然也有4,但是报错不同。我还测试了各种复制位置和方式,包括您说的这种方式。我也更新了newstonsoft版本,都到10以上了。
我知道,别人可以做到,我有问题,应该是我哪里不对,可是到底是哪里的问题呢?我的版本是从vs平台中下载的,是不是源文件有问题。所以我想在github上下载,可是下下来文件总是打不开。

from jieba.net.

anderscui avatar anderscui commented on July 17, 2024

@qqq6089063 告诉我邮箱,我发给你一份。

from jieba.net.

qqq6089063 avatar qqq6089063 commented on July 17, 2024

@anderscui [email protected]
谢谢

from jieba.net.

qqq6089063 avatar qqq6089063 commented on July 17, 2024

刚才更换使用google浏览器下载成功了(原使用的是qq浏览器不成功)
下载后,完全使用了包里面的newstonsoft.dll,版本4.5,和.net版本一致,引用了包中的segmenter.dll文件目录复制完全正确。为了确保测试成功,删除了原来生成的内容(bin和obj),重新生成。报错依旧。

“System.TypeInitializationException”类型的异常在 ydcms.dll 中发生,但未在用户代码中进行处理

其他信息: “JiebaNet.Segmenter.JiebaSegmenter”的类型初始值设定项引发异常。

from jieba.net.

qqq6089063 avatar qqq6089063 commented on July 17, 2024

终于搞定!感谢了。原因是我在使用百度的ueditor时候就引用过一个6.0版本的newstonsoft.dll,当时引用的文件在ueditor目录中。我在“引用”中移除了他它,再浏览引用8.0版本的。
但是,直到我今天找到问题,跑到ueditor目录物理删除旧版本,之前不管我如何添加新版本,都是没有无效的。看上去添加引用了新版本,其实只要你不物理删除老版本的文件,添加引用都是无效的,仍是老版本。

from jieba.net.

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.