webForumDet fria alternativet

Helkonstigt fel vid kompilering i ASP.NET (2.0)

.NET

1 svar · 457 visningar · startad av mrhaze

Medlem sedan juli 2002252 inlägg
Frågan#1

Detta är helkonstigt, när jag försöker kompilera min ASP.NET 2.0 applikation så får jag följande fel:

Error	1	C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Temporary ASP.NET Files\root\33da03dc\12710af4\u1r94jl9.3.vb(38): error BC30269: 'Protected ReadOnly Property Profile() As System.Web.Profile.DefaultProfile' has multiple definitions with identical signatures.		
Error	2	'Protected ReadOnly Property Profile() As System.Web.Profile.DefaultProfile' has multiple definitions with identical signatures.	C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Temporary ASP.NET Files\root\33da03dc\12710af4\u1r94jl9.3.vb	38	
Error	3	'Protected ReadOnly Property ApplicationInstance() As ASP.Global_asax' has multiple definitions with identical signatures.		C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Temporary ASP.NET Files\root\33da03dc\12710af4\u1r94jl9.3.vb	44	
Error	4	'Protected ReadOnly Property Profile() As System.Web.Profile.DefaultProfile' has multiple definitions with identical signatures.	C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Temporary ASP.NET Files\root\33da03dc\12710af4\u1r94jl9.6.vb	38	
Error	5	'Protected ReadOnly Property ApplicationInstance() As ASP.Global_asax' has multiple definitions with identical signatures.		C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Temporary ASP.NET Files\root\33da03dc\12710af4\u1r94jl9.6.vb	44

Jag antar att C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Temporary ASP.NET Files\root\33da03dc\12710af4\u1r94jl9.3.vb är nån temporär fil, när jag går in och kollar så är det fel på följande rader:

Protected ReadOnly Property Profile() As System.Web.Profile.DefaultProfile

och

Protected ReadOnly Property ApplicationInstance() As ASP.Global_asax

Nån som har nån aning? :q

Medlem sedan apr. 20012 266 inlägg
#2

Testat att rebuild i stället för build?

255 ms totalt · 4 externa anrop · v20260731065814-full.6fe65c25
120 ms — deklarationer (db)
0 ms — hämta statistik (cache)
125 ms — hämta tråd, inlägg och bilagor (db)
127 ms — ändringar (db)