Parser Error Message: Could not create type 'xxx'

后端 未结 3 1159
被撕碎了的回忆
被撕碎了的回忆 2020-12-11 10:52

i get this error

Parser Error Message: Could not create type \'charts.lineChartData\'.

Source Error: 

Line 1:  <%@ WebHandler Language=\"C#\" CodeBehin         


        
3条回答
  •  -上瘾入骨i
    2020-12-11 11:38

    I've come across this error using Visual Studio Development Server when my project output directory was not bin\

    One of my DLLs has versions for different platforms (x86, x64), so I created corresponding configurations, and they got by default output directories like this:

    bin\x86\Debug 
    bin\x64\Debug
    

    But the Visual Studio Development Server still tried to load binaries from the bin\ folder and of course failed.

    I fixed the issue by specifying bin\ output folder in my debug configurations.

提交回复
热议问题