Note that there are some explanatory texts on larger screens.

plurals
  1. POCompile error: CS0433 type in conflict with imported type
    primarykey
    data
    text
    <p>Never had this error before. I've read alot about it and I assume it is some references in my soultion that makes the conflicts. But I cant find it. There is no reference that have the name of "WeekOverview". Only finds it in App_Code folder.</p> <p>Tried to clean, rebuild, batch and everything. But as I said I think it is a reference. But how will I get the right one?</p> <p><strong>Error when i published</strong></p> <pre><code>CS0433: The type 'WeekOverview' exists in both 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\personalwebb\75767f9d\62ef58be\assembly\dl3\b22616ea\c17e3cb3_f0ddcd01\App_Web_tzf1insv.DLL' and 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\personalwebb\75767f9d\62ef58be\assembly\dl3\26ecbd1c\01966db2_f0ddcd01\App_Code.DLL' </code></pre> <p><strong>Warning in visual studios</strong></p> <pre><code>The type 'WeekOverview' in 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\website\ea888009\78e5b795\App_Web_jmrhajtx.5.cs' conflicts with the imported type 'WeekOverview' in 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\website\ea888009\78e5b795\App_Code.cmrt8ckb.dll'. Using the type defined in 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\website\ea888009\78e5b795\App_Web_jmrhajtx.5.cs'. c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\website\ea888009\78e5b795\App_Web_jmrhajtx.4.**cs </code></pre> <p><strong>Edit</strong></p> <p>My problem were that I had on WeekOverview in App_Code and one .aspx page named WeekOverview. To soulve this I either had to get a namespace around my WeekOverview class. Or change the name on the class. Both worked and I made a namespace around it!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload