Re: error CS0246: The type or namespace name 'Form1'
Vadivel Natarajan <[email protected]> Fri, 14 Jun 2013 02:24:59 -0400
| Newsgroups | gmane.comp.windows.dotnet.nant.user |
|---|---|
| Message-ID | <CA9132A740E271498AE79D571E235E62CE9EC1F92B@VMBX112.ihostexchange.net> |
--===============0736687664039259427== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_CA9132A740E271498AE79D571E235E62CE9EC1F92BVMBX112ihoste_" --_000_CA9132A740E271498AE79D571E235E62CE9EC1F92BVMBX112ihoste_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi All, Help please. It's very urgent. Thanks. From: Vadivel Natarajan Sent: Friday, June 14, 2013 2:16 AM To: '[email protected]' Subject: error CS0246: The type or namespace name 'Form1' Hi All, Am new to this NAnt environment. Currently am developing a NAnt script to b= uild a Windows forms application. After build the NAnt script, am getting t= he error as "error CS0246: The type or namespace name 'Form1' could not be found (are you missing a using directive or an assembly refere= nce? ) BUILD FAILED C:\Program Files\NAnt\examples\SampleWindowsApplication\Sample.Build(24,10)= : External Program Failed: C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe (r= eturn code was 1)" Can anyone please advise to resolve this issue? Thanks in advance. --_000_CA9132A740E271498AE79D571E235E62CE9EC1F92BVMBX112ihoste_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV=3D"Content-Type" CONTENT= =3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros= oft Word 15 (filtered medium)"><style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ligatures:standard;} a:link, span.MsoHyperlink {mso-style-priority:99; color:#0563C1; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:#954F72; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:windowtext;} span.EmailStyle18 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt; mso-ligatures:none;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3D"#0563C1= " vlink=3D"#954F72"><div class=3DWordSection1><p class=3DMsoNormal><span st= yle=3D'color:#1F497D'>Hi All,<o:p></o:p></span></p><p class=3DMsoNormal><sp= an style=3D'color:#1F497D'><o:p> </o:p></span></p><p class=3DMsoNormal= ><span style=3D'color:#1F497D'>Help please. It’s very urgent.<o:p></o= :p></span></p><p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p> = ;</o:p></span></p><p class=3DMsoNormal><span style=3D'color:#1F497D'>Thanks= .<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'color:#1F497D'><= o:p> </o:p></span></p><div><div style=3D'border:none;border-top:solid = #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span styl= e=3D'mso-ligatures:none'>From:</span></b><span style=3D'mso-ligatures:none'= > Vadivel Natarajan <br><b>Sent:</b> Friday, June 14, 2013 2:16 AM<br><b>To= :</b> '[email protected]'<br><b>Subject:</b> error CS0246: T= he type or namespace name 'Form1'<o:p></o:p></span></p></div></div><p class= =3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>Hi All,<o:p></o:p></= p><p class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>Am new to = this NAnt environment. Currently am developing a NAnt script to build a Win= dows forms application. After build the NAnt script, am getting the error a= s “error CS0246: The type or namespace name 'Form1'<o:p></o:p></p><p = class=3DMsoNormal>could not be found (are you missing a using directive or = an assembly reference?<o:p></o:p></p><p class=3DMsoNormal>)<o:p></o:p></p><= p class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>BUILD FAILED<= o:p></o:p></p><p class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNorma= l>C:\Program Files\NAnt\examples\SampleWindowsApplication\Sample.Build(24,1= 0):<o:p></o:p></p><p class=3DMsoNormal>External Program Failed: C:\Windows\= Microsoft.NET\Framework\v3.5\csc.exe (return<o:p></o:p></p><p class=3DMsoNo= rmal>code was 1)”<o:p></o:p></p><p class=3DMsoNormal><o:p> </o:p= ></p><p class=3DMsoNormal>Can anyone please advise to resolve this issue?<o= :p></o:p></p><p class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal= >Thanks in advance.<o:p></o:p></p></div></body></html>= --_000_CA9132A740E271498AE79D571E235E62CE9EC1F92BVMBX112ihoste_-- --===============0736687664039259427== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev --===============0736687664039259427== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ NAnt-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nant-users --===============0736687664039259427==--