By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,041 Members | 1,018 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,041 IT Pros & Developers. It's quick & easy.

can i set the compiler to give me warning if variable is not used ? ( in VB.NET )

P: n/a
can i set the compiler to give me warning if variable is not used ?
( in VB.NET )

Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a

"roni" <xs*******@hotmail.com> wrote in message
news:d8**********@news2.netvision.net.il...
can i set the compiler to give me warning if variable is not used ?
( in VB.NET )


not that I know of, but you can use FXCop to check for that sort of thing.
Its free.

Nov 21 '05 #2

P: n/a
"roni" <xs*******@hotmail.com> schrieb:
can i set the compiler to give me warning if variable is not used ?
( in VB.NET )


Currently the VB.NET compiler doesn't support this warning, however, VB 2005
will contain a warning to detect unused variables.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.