Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Type 'Int32' Not Defined Compile Error 1

Status
Not open for further replies.

jkb17

Programmer
Nov 27, 2000
156
US
Hello.

I have moved an asp.net 2.0 using visual basic web application from my development machine to another dev pc.

When I attempt to compile the project I receive copious "Type 'Int32' not defined" error messages. None of the error messages are for any sort of special library but rather these basic types.

All of my references are the same when looking at the machines next to each other. The imports statements are there as well.

Any suggestions or ideas on this one?

THanks

jim
 
Yes, every line that has something as follows:

Dim var1 as Int32
Dim var2 as Int64
Dim var3 as Int

it was suggesting that Int32 be changed to System.Int32

I think I resolved it (for moment) by deleting all references and manually remove them all. Then manually re-adding them all.

Seems ok for the moment.


 
If it is suggesting you change to System.Int32 then you are missing either
Code:
Imports System
from your page or
[/code]
<add namespace="System"/>
[/code]
from your web.config file. If one of those exists then it will know the type but if both are missing it won't.



____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top