Giter Site home page Giter Site logo

test's Introduction

这是一个包含错误的项目

错误的描述是这样的:

捕获1.JPG: class test.App_Code.HTTP "C:\code\test\test\App_Code\HTTP.cs"中的类型"HTTP"与"test,Version=1.0.0.0,Culture=neutral,PublicKeyToken=null"中的导入类型"HTTP"冲突。请使用"C:\code\test\test\App_Code\HTTP.cs"中定义的类型。

捕获2.JPG: 无法将类型"test.App_Code.HTTP.METHOD[App_Web_taut0g5v,Version=0.0.0.0,Cultrue=neutral,PublicKeyToken=null]"隐式转换为"test.App_Code.HTTP.METHOD[App_Web,Version=0.0.0.0,Cultrue=neutral,PublicKeyToken=null]"。存在一个显示转换(是否缺少强制转换?)

简单介绍一下我的想法 一个HTTP类,里面有个枚举类型,叫METHOD,然后另外一个模型类,叫PackageModel,其中一个属性就是HTTP.METHOD,然后在Prerouting类中有一个方法,RoutePackage,其中一个参数就是HTTP.METHOD,然后在方法内部使用这个参数时,就会出现这个错误!

我很好奇为什么会这样,大家说是引用了自身,但是我无论在项目属性的引用,还是解决方案资源管理器的引用,都没有找到引用自身的条目。

test's People

Contributors

awolfnet avatar

Watchers

 avatar

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.