<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>MSBee Forum Rss Feed</title><link>http://www.codeplex.com/Project/ListForums.aspx?ProjectName=MSBee</link><description>MSBee Forum Rss Description</description><item><title>New Post: CrossCompile.CSharpWeb.targets</title><link>http://msbee.codeplex.com/discussions/353321</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Is anyone able to provide this file '&lt;span&gt;CrossCompile.CSharpWeb.targets' as mentioned in this tutorial?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://devlicio.us/blogs/ziemowit_skowronski/archive/2008/08/22/working-with-net-1-1-in-visual-studio-2008-and-team-server.aspx"&gt;http://devlicio.us/blogs/ziemowit_skowronski/archive/2008/08/22/working-with-net-1-1-in-visual-studio-2008-and-team-server.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I have '&lt;span&gt;CrossCompile.CSharp.targets' from&amp;nbsp;&lt;a href="http://blogs.msdn.com/b/jomo_fisher/archive/2005/04/22/410896.aspx"&gt;http://blogs.msdn.com/b/jomo_fisher/archive/2005/04/22/410896.aspx&lt;/a&gt;&amp;nbsp;but require the Web version.&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;</description><author>terbs</author><pubDate>Tue, 24 Apr 2012 06:12:16 GMT</pubDate><guid isPermaLink="false">New Post: CrossCompile.CSharpWeb.targets 20120424061216A</guid></item><item><title>New Post: FileSystemEventArgs - part of MSBee?</title><link>http://msbee.codeplex.com/discussions/346889</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hello community&lt;/p&gt;
&lt;p&gt;I have created an application, which uses the FileSystemWatcher. The event handler uses a parameter of tpye FileSystemEventArgs. Due to the fact that I'm required to compile it for .NET 1.1 I tried to use MSBee, but the type FileSystemEventArgs cannot be
 found.&lt;/p&gt;
&lt;p&gt;Dou you have any suggestions, how to deal with that? Is there e MSBee reference, where I can find all included objects?&lt;/p&gt;
&lt;p&gt;&lt;br&gt;
Best regards, Testname&lt;/p&gt;
&lt;/div&gt;</description><author>testname</author><pubDate>Thu, 01 Mar 2012 17:12:13 GMT</pubDate><guid isPermaLink="false">New Post: FileSystemEventArgs - part of MSBee? 20120301051213P</guid></item><item><title>New Post: Updating web references to be 1.1-compatible?</title><link>http://msbee.codeplex.com/Thread/View.aspx?ThreadId=243452</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I was able to get around this problem by saving the original .Net 1.1 Reference.cs file, converting the Web Reference project in VS 2008, updating the web reference, comparing the changes between the converted and updated Reference.cs, then hand-coding the
 corresponding changes into the original Reference.cs file and replacing the updated file with the hand-coded one.&lt;/p&gt;
&lt;p&gt;Obviously, it would be better if this hand-coding were not necessary.&lt;/p&gt;
&lt;/div&gt;</description><author>Corvus</author><pubDate>Thu, 27 Jan 2011 18:55:56 GMT</pubDate><guid isPermaLink="false">New Post: Updating web references to be 1.1-compatible? 20110127065556P</guid></item><item><title>New Post: Updating web references to be 1.1-compatible?</title><link>http://msbee.codeplex.com/Thread/View.aspx?ThreadId=243452</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;First, thanks for this great toolkit; it allowed me to rebuild an ancient app in VS2008 for line-of-business machines that only have .Net 1.1.&lt;/p&gt;
&lt;p&gt;However, this app uses data from a SOAP web service whose API has recently changed. When I choose Update Web Reference in VS2008, it creates .Net 3.5 reference.cs, which will not build in 1.1.&lt;/p&gt;
&lt;p&gt;Is there any way of updating a web reference to be .Net 1.1-compatible in VS2008?&lt;/p&gt;
&lt;/div&gt;</description><author>Corvus</author><pubDate>Thu, 27 Jan 2011 01:24:22 GMT</pubDate><guid isPermaLink="false">New Post: Updating web references to be 1.1-compatible? 20110127012422A</guid></item><item><title>New Post: Interoperability with MSBuild 4.0?</title><link>http://msbee.codeplex.com/Thread/View.aspx?ThreadId=205106</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Would you share your .generateresource and target files here ?&lt;/p&gt;
&lt;/div&gt;</description><author>airamasya</author><pubDate>Fri, 22 Oct 2010 08:10:32 GMT</pubDate><guid isPermaLink="false">New Post: Interoperability with MSBuild 4.0? 20101022081032A</guid></item><item><title>New Post: vs 2010 msbee 1.1</title><link>http://msbee.codeplex.com/Thread/View.aspx?ThreadId=230695</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi everyone,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i have a solution that has 3 class library and 1 web application project has been written in vs 2003. I am trying to use vs 2010 as target build .net 1.1. &amp;nbsp;Class libraries build perfectly, there is no problem. I do everything as referenced this link&amp;nbsp;&lt;a href="http://devlicio.us/blogs/ziemowit_skowronski/archive/2008/08/22/working-with-net-1-1-in-visual-studio-2008-and-team-server.aspx"&gt;http://devlicio.us/blogs/ziemowit_skowronski/archive/2008/08/22/working-with-net-1-1-in-visual-studio-2008-and-team-server.aspx&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My web application does not build, gives some errors. I tried to solve but i actually don't understand what is difference target files between class libraries and web applications ? What should i do ? I also tried to use vs 2008 and i could not build my web application as target 1.1.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I added&amp;nbsp;&lt;span&gt;&amp;lt;&lt;/span&gt;&lt;span&gt;Import&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;Project&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;$(MSBuildExtensionsPath)\CrossCompile.CSharp.targets&lt;/span&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;&amp;nbsp;/&amp;gt; .&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I changed&amp;nbsp;&lt;span&gt;&amp;lt;&lt;/span&gt;&lt;span&gt;Project&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;DefaultTargets&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;Build&lt;/span&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;ToolsVersion&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;strong&gt;2.0&lt;/strong&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;xmlns&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;a href="http://schemas.microsoft.com/developer/msbuild/2003"&gt;http://schemas.microsoft.com/developer/msbuild/2003&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;Do you have any working sample of working web application with msbee because i could not do it yet.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;Thanks in advance.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><author>airamasya</author><pubDate>Wed, 13 Oct 2010 08:33:54 GMT</pubDate><guid isPermaLink="false">New Post: vs 2010 msbee 1.1 20101013083354A</guid></item><item><title>New Post: Interoperability with MSBuild 4.0?</title><link>http://msbee.codeplex.com/Thread/View.aspx?ThreadId=205106</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Solved this one. The override for the &amp;quot;GenerateResource&amp;quot; task isn't working for some reason; the MSBee &amp;quot;CoreResGen&amp;quot; target is getting called, but the GenerateResource is being called from the &amp;quot;Microsoft.Build.Tasks.v4.0&amp;quot; assembly instead of the MSBee one.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I opened up MSBuildExtras.FX1_1.Common.targets and replaced the two &amp;quot;GenerateResource&amp;quot; task calls inside the CoreResGen target with the fully qualified &amp;quot;Microsoft.Build.Extras.FX1_1.GenerateResource&amp;quot;, and everything is back to normal again.&lt;/p&gt;&lt;/div&gt;</description><author>dionysiac</author><pubDate>Tue, 03 Aug 2010 20:11:30 GMT</pubDate><guid isPermaLink="false">New Post: Interoperability with MSBuild 4.0? 20100803081130P</guid></item><item><title>New Post: Interoperability with MSBuild 4.0?</title><link>http://msbee.codeplex.com/Thread/View.aspx?ThreadId=205106</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I spent a few hours realizing what you just said :(&lt;/p&gt;
&lt;p&gt;For the most part it seems fine, it's just that for me it seems that it uses the wrong version of ResGen.&lt;/p&gt;
&lt;p&gt;Specifically, if I run msbuild using .NET 2 version, it uses resgen from the .NET 1 SDK folder, but under .NET 4 it uses&lt;/p&gt;
&lt;p&gt;&amp;nbsp;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\ResGen.exe&lt;/p&gt;
&lt;p&gt;which is the wrong version, so the .resources files are unusable.&lt;/p&gt;
&lt;p&gt;I can't see how it's finding that path, according to this post &lt;a href="http://blogs.msdn.com/clichten/default.aspx?p=2"&gt;http://blogs.msdn.com/clichten/default.aspx?p=2&lt;/a&gt;&amp;nbsp;it should get the .NET 1 SDK from the registry (which is does for CSC).&lt;/p&gt;
&lt;p&gt;Anyone any idea?&amp;nbsp; Some way I could even hard code the right path?&lt;/p&gt;
&lt;p&gt;Ugh - you know that feeling when you've spent too long on something.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>jimmy</author><pubDate>Wed, 19 May 2010 22:14:48 GMT</pubDate><guid isPermaLink="false">New Post: Interoperability with MSBuild 4.0? 20100519101448P</guid></item><item><title>New Post: Interoperability with MSBuild 4.0?</title><link>http://msbee.codeplex.com/Thread/View.aspx?ThreadId=205106</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Someone asked me today if MSBee will work with MSBuild 4.0. I haven't tried it but I'm guessing that it won't since, based on the issue tracker, it looks like it doesn't work with MSBuild 3.5. Can anyone confirm?&lt;/p&gt;&lt;/div&gt;</description><author>jimlamb</author><pubDate>Tue, 16 Mar 2010 14:27:10 GMT</pubDate><guid isPermaLink="false">New Post: Interoperability with MSBuild 4.0? 20100316022710P</guid></item><item><title>New Post: Error when trying to compile Windows Form </title><link>http://msbee.codeplex.com/Thread/View.aspx?ThreadId=29887</link><description>&lt;div style="line-height: normal;"&gt;Well, to answer my own question. I opened the projects Settings.Designer.vb and Resources.Designer.vb files and commented out the offending code.
&lt;/div&gt;</description><author>SethMan</author><pubDate>Thu, 07 May 2009 20:53:46 GMT</pubDate><guid isPermaLink="false">New Post: Error when trying to compile Windows Form  20090507085346P</guid></item><item><title>New Post: Error when trying to compile Windows Form </title><link>http://msbee.codeplex.com/Thread/View.aspx?ThreadId=29887</link><description>&lt;div style="line-height: normal;"&gt;I get this error without having a form, The project is a class library.&lt;br&gt;
&lt;br&gt;
Any ideas how this is happing? Where is Global.System.CodeDom.Compiler.GeneratedCodeAttribute used in the project?
&lt;/div&gt;</description><author>SethMan</author><pubDate>Thu, 07 May 2009 19:48:26 GMT</pubDate><guid isPermaLink="false">New Post: Error when trying to compile Windows Form  20090507074826P</guid></item><item><title>New Post: BadImageFormatException Error</title><link>http://msbee.codeplex.com/Thread/View.aspx?ThreadId=54395</link><description>&lt;div style="line-height: normal;"&gt;I am trying to convert a .NF 2.0 application to run in NF 1.1.  I am able to compile using MSBuild, but the application gives the above exceptions.  I am in the VS 2005 the form is no longer readable.  I was using another conversion processing and was receiving &amp;quot;Invalid Resx File.  When I look at the Resx file, there  seems to be references to NF 2.0.  If I manually change them to 1.1, I'm gathering VS2005 regenerates them back to 2.0.&lt;br&gt;
&lt;br&gt;
Can anybody help?
&lt;/div&gt;</description><author>Koltron</author><pubDate>Fri, 24 Apr 2009 18:26:31 GMT</pubDate><guid isPermaLink="false">New Post: BadImageFormatException Error 20090424062631P</guid></item><item><title>New Post: MSBee setup</title><link>http://msbee.codeplex.com/Thread/View.aspx?ThreadId=50560</link><description>&lt;div style="line-height: normal;"&gt;I have a (legacy)1.1 VB web application and am using VSWD Express 2005 to make changes.  I downloaded MSBee so I can compile it in 1.1.   Per the manual under 4.2.1 - Importing msbee targets to project files, I don't have a .vbproj - what to do?  In an archive of the application there is a .vbproj, without the line, but it's hard to know if it's correct AND I'm assuming I would just add the line 'Import Project' as in the manual..&lt;br&gt;
&lt;br&gt;
I'm assuming I just need to copy the msbuildExtras.f1.1.VisualBasic.targets into my project directory.&lt;br&gt;
&lt;br&gt;
Jane&lt;br&gt;
&lt;/div&gt;</description><author>hollsys</author><pubDate>Wed, 18 Mar 2009 19:14:49 GMT</pubDate><guid isPermaLink="false">New Post: MSBee setup 20090318071449P</guid></item><item><title>New Post: Building Web Applications</title><link>http://www.codeplex.com/MSBee/Thread/View.aspx?ThreadId=6953</link><description>&lt;div style="line-height: normal;"&gt;Mark - you need to rearrange the order between the import-tags. MSBUILD chooses the LAST assigned property when building, so you need to put the MSBEE-import AFTER the regular &amp;lt;import&amp;gt;-tag.&lt;br&gt;
All according to the MSBEE-documentation :)&lt;br&gt;
&lt;br&gt;
You have:&lt;br&gt;
&amp;lt;Import Project=&amp;quot;$(MSBuildExtensionsPath)\MSBee\MSBuildExtras.FX1_1.CSharp.targets&amp;quot; Condition=&amp;quot; '$(BuildingInsideVisualStudio)' == '' AND &lt;br&gt;
'$(TargetFX11)'=='true'&amp;quot; /&amp;gt;&lt;br&gt;
&amp;lt;Import Project=&amp;quot;$(MSBuildBinPath)\Microsoft.CSharp.targets&amp;quot; /&amp;gt;&lt;br&gt;
&lt;br&gt;
You need:&lt;br&gt;
&amp;lt;Import Project=&amp;quot;$(MSBuildBinPath)\Microsoft.CSharp.targets&amp;quot; /&amp;gt;&lt;br&gt;
&amp;lt;Import Project=&amp;quot;$(MSBuildExtensionsPath)\MSBee\MSBuildExtras.FX1_1.CSharp.targets&amp;quot; Condition=&amp;quot; '$(BuildingInsideVisualStudio)' == '' AND &lt;br&gt;
'$(TargetFX11)'=='true'&amp;quot; /&amp;gt;&lt;br&gt;
&lt;br&gt;
(As a start, I would remove the import-conditions for the MSBEE-improt tag. If you get it working, you can put back the condition later. By doing this you make an easier  start..)
&lt;/div&gt;</description><author>DavvoSund</author><pubDate>Tue, 02 Dec 2008 13:27:24 GMT</pubDate><guid isPermaLink="false">New Post: Building Web Applications 20081202012724P</guid></item><item><title>New Post: Build Errors in Setting File</title><link>http://www.codeplex.com/MSBee/Thread/View.aspx?ThreadId=35446</link><description>&lt;div style="line-height: normal;"&gt;Hi All,&lt;br&gt;
&lt;br&gt;
I try to compile my .Net 2 solution to .Net 1.1 using Ms Bee. My solution contains 3 projects.&lt;br&gt;
&lt;br&gt;
I added the necessary import tags to the projectfiles. If I compile the solution I get a whole bunch of errors related to my properties/setting files like:&lt;br&gt;
&lt;br&gt;
Properties\Settings.Designer.cs(15,13): error CS1001: Identifier&lt;br&gt;
Properties\Settings.Designer.cs(16,21): error CS1518: Expected cl&lt;br&gt;
Properties\Settings.Designer.cs(16,52): error CS1514: { expected&lt;br&gt;
Properties\Settings.Designer.cs(16,99): error CS1519: Invalid tok&lt;br&gt;
Properties\Settings.Designer.cs(18,69): error CS1026: ) expected&lt;br&gt;
Properties\Settings.Designer.cs(18,128): error CS1519: Invalid to&lt;br&gt;
Properties\Settings.Designer.cs(18,143): error CS1002: ; expected&lt;br&gt;
&lt;br&gt;
and some warnings:&lt;br&gt;
Properties\Settings.Designer.cs(14,13): warning CS0658: 'global' is not a recognized attribute location. All attributes&lt;br&gt;
e ignored.&lt;br&gt;
&lt;br&gt;
So i guess the problem is that the global attribute may not be available in .Net 1.1 &lt;br&gt;
&lt;br&gt;
to be honest i dont have a clue what this attribute is all about. &lt;br&gt;
Does anyone know an &amp;quot;easy going &amp;quot;&amp;nbsp;solution to this issue?&lt;br&gt;
&lt;br&gt;
thank in advance&lt;br&gt;
AS
&lt;/div&gt;</description><author>AlterSchwede</author><pubDate>Thu, 11 Sep 2008 11:46:36 GMT</pubDate><guid isPermaLink="false">New Post: Build Errors in Setting File 20080911114636A</guid></item><item><title>New Post: Web application build error in VS2005</title><link>http://www.codeplex.com/MSBee/Thread/View.aspx?ThreadId=30865</link><description>&lt;div style="line-height: normal;"&gt;please send my reply on my mail id vivekharne@eaton.com if somebody found the solution for above problem.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;</description><author>vivekharne</author><pubDate>Fri, 04 Jul 2008 08:08:04 GMT</pubDate><guid isPermaLink="false">New Post: Web application build error in VS2005 20080704080804A</guid></item><item><title>New Post: Web application build error in VS2005</title><link>http://www.codeplex.com/MSBee/Thread/View.aspx?ThreadId=30865</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br&gt;
&lt;br&gt;
I am .net developer, i have one web application which is created in vs2003 with framework 1.1.And i have the vs2005 in my PC and i want to built the application with framework 1.1.&lt;br&gt;
i have installed framework 1.1 and .net SDK framework on my PC. i have also installed the MS Bee on my PC. &lt;br&gt;
&lt;br&gt;
Then i have done changes in&amp;nbsp; project file according to instruction.and try to build the application with following command.&lt;br&gt;
&lt;br&gt;
msbuild C:\Inetpub\wwwroot\RebatesGuidelineTool\RebatesGuidelineTool.sln /t:Rebuild /p:configuration=Release /p:TargetFX1_1=true /p:CustomAfterMicrosoftCommonTargets=MSBuildExtras.Fx1_1.VisualBasic.targets&lt;br&gt;
&lt;br&gt;
but it is giveing 104 errors. &lt;br&gt;
&lt;br&gt;
then i create a new web application for testing purpose and some text in default.aspx . then add the import tag in project file and try to built the application but it is also giving me the errors. to built the application i am using this command....&lt;br&gt;
&lt;br&gt;
msbuild C:\Inetpub\wwwroot\test\test.sln /t:Rebuild /p:configuration=Release /p:TargetFX1_1=true /p:CustomAfterMicrosoftCommonTargets=MSBuildExtras.Fx1_1.VisualBasic.targets&lt;br&gt;
&lt;br&gt;
can some body can help me to solve this problem.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Vivek&lt;br&gt;
&lt;/div&gt;</description><author>vivekharne</author><pubDate>Fri, 04 Jul 2008 08:05:06 GMT</pubDate><guid isPermaLink="false">New Post: Web application build error in VS2005 20080704080506A</guid></item><item><title>New Post: Issue when compiling Mixed Language Multi Proj solution</title><link>http://www.codeplex.com/MSBee/Thread/View.aspx?ThreadId=30029</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;When trying to compile an Application where there are multiple sub-projects within the main solution, I get the following error:&lt;/p&gt;
&lt;pre&gt;MSBUILD: error MSB1008: Only one project can be specified. &lt;br&gt;
Switch: ProjectName.vbproj&lt;/pre&gt;
&lt;br&gt;
&lt;p&gt;I have already added all the target imports to each sub project's .vbproj and .csproj files, and am using the command line command:&lt;/p&gt;
&lt;pre&gt;msbuild [Project Path] /p:TargetFX1_1=true&lt;/pre&gt;
&lt;br&gt;
&lt;p&gt;Anyone know how to fix this one? :confused: &lt;/p&gt;
&lt;p&gt;Thanks,&lt;br&gt;
Pete&lt;/p&gt;
&lt;/div&gt;</description><author>digioz</author><pubDate>Fri, 20 Jun 2008 20:07:02 GMT</pubDate><guid isPermaLink="false">New Post: Issue when compiling Mixed Language Multi Proj solution 20080620080702P</guid></item><item><title>New Post: Error when trying to compile Windows Form </title><link>http://www.codeplex.com/MSBee/Thread/View.aspx?ThreadId=29887</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;It looks like the issue was being caused by any new Windows Forms that are added to the project using VS 2005! If I simply copy an existing VS 2003 created form, rename all reference to it in both resx and .vb files it compiles successfully! Even though that would be a pain to do on an ongoing basis, I think it would be worth it if it means I don't have to maintain 2 seperate versions of my application. &lt;/p&gt;
&lt;p&gt;Thanks,&lt;br&gt;
Pete&lt;/p&gt;
&lt;/div&gt;</description><author>digioz</author><pubDate>Fri, 20 Jun 2008 20:05:19 GMT</pubDate><guid isPermaLink="false">New Post: Error when trying to compile Windows Form  20080620080519P</guid></item><item><title>New Post: Error when trying to compile Windows Form </title><link>http://www.codeplex.com/MSBee/Thread/View.aspx?ThreadId=29887</link><description>&lt;div style="line-height: normal;"&gt;Hello all,&lt;br&gt;
&lt;br&gt;
I am trying to compile a simple VB.NET Windows Form project which was converted from VS 2003 to VS 2005 using the .NET 1.1 framework from VS 2005. Based on the instructions, I have added bellow this line (in .vbproj file):&lt;br&gt;
&lt;br&gt;
&amp;lt;Import Project=&amp;quot;$(MSBuildBinPath)\Microsoft.VisualBasic.targets&amp;quot; /&amp;gt;&lt;br&gt;
&lt;br&gt;
the following:&lt;br&gt;
&lt;br&gt;
&amp;lt;Import Project=&amp;quot;$(MSBuildExtensionsPath)\MSBee\MSBuildExtras.FX1_1.VisualBasic.targets&amp;quot; Condition=&amp;quot;'$(BuildingInsideVisualStudio)' == '' AND '$(TargetFX1_1'=='true'&amp;quot; /&amp;gt;&lt;br&gt;
&lt;br&gt;
When I run the following command from VS 2005 command line:&lt;br&gt;
&lt;br&gt;
msbuild C:\Temp\WindowsApplication1\WindowsApplication1\WindowsApplication1.vbproj /p:TargetFX1_1=true&lt;br&gt;
&lt;br&gt;
I get the following errors and warnings:&lt;br&gt;
&lt;br&gt;
&lt;p&gt;&lt;em&gt;Target GetVisualStudioSearchPaths:&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\AssemblyFolders&amp;quot; doe&lt;br&gt;
s not exist in the local machine's registry.&lt;br&gt;
Target ResolveAssemblyReferences:&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Primary reference &amp;quot;System.Deployment&amp;quot;.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets : war&lt;br&gt;
ning MSB3245: Could not resolve this reference. Could not locate the assembly &amp;quot;S&lt;br&gt;
ystem.Deployment&amp;quot;. Check to make sure the assembly exists on disk. If this refer&lt;br&gt;
ence is required by your code, you may get compilation errors.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For SearchPath &amp;quot;bin\FX1_1\Debug\&amp;quot;.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Considered &amp;quot;bin\FX1_1\Debug\System.Deployment.exe&amp;quot;, but it didn't ex&lt;br&gt;
ist.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Considered &amp;quot;bin\FX1_1\Debug\System.Deployment.dll&amp;quot;, but it didn't ex&lt;br&gt;
ist.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For SearchPath &amp;quot;{TargetFrameworkDirectory}&amp;quot;.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Considered &amp;quot;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Depl&lt;br&gt;
oyment.exe&amp;quot;, but it didn't exist.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Considered &amp;quot;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Depl&lt;br&gt;
oyment.dll&amp;quot;, but it didn't exist.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For SearchPath &amp;quot;C:\Program Files\Microsoft.NET\Primary Interop Assem&lt;br&gt;
blies\&amp;quot;.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Considered &amp;quot;C:\Program Files\Microsoft.NET\Primary Interop Assemblie&lt;br&gt;
s\System.Deployment.exe&amp;quot;, but it didn't exist.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Considered &amp;quot;C:\Program Files\Microsoft.NET\Primary Interop Assemblie&lt;br&gt;
s\System.Deployment.dll&amp;quot;, but it didn't exist.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For SearchPath &amp;quot;{RawFileName}&amp;quot;.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Considered treating &amp;quot;System.Deployment&amp;quot; as a file name, but it didn'&lt;br&gt;
t exist.&lt;br&gt;
Done building target &amp;quot;ResolveAssemblyReferences&amp;quot; in project &amp;quot;WindowsApplication1&lt;br&gt;
.vbproj&amp;quot;.&lt;br&gt;
Target CoreResGen:&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Copying file from &amp;quot;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Data.&lt;br&gt;
dll&amp;quot; to &amp;quot;C:\Documents and Settings\pedram.soheil\Local Settings\Temp\tmp69\Syste&lt;br&gt;
m.Data.dll&amp;quot;.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Copying file from &amp;quot;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.dll&amp;quot;&lt;br&gt;
to &amp;quot;C:\Documents and Settings\pedram.soheil\Local Settings\Temp\tmp69\System.dll&lt;br&gt;
&amp;quot;.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Copying file from &amp;quot;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Drawi&lt;br&gt;
ng.dll&amp;quot; to &amp;quot;C:\Documents and Settings\pedram.soheil\Local Settings\Temp\tmp69\Sy&lt;br&gt;
stem.Drawing.dll&amp;quot;.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Copying file from &amp;quot;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Windo&lt;br&gt;
ws.Forms.dll&amp;quot; to &amp;quot;C:\Documents and Settings\pedram.soheil\Local Settings\Temp\tm&lt;br&gt;
p69\System.Windows.Forms.dll&amp;quot;.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Copying file from &amp;quot;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Xml.d&lt;br&gt;
ll&amp;quot; to &amp;quot;C:\Documents and Settings\pedram.soheil\Local Settings\Temp\tmp69\System&lt;br&gt;
.Xml.dll&amp;quot;.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Copying file from &amp;quot;C:\Program Files\Microsoft.NET\SDK\v1.1\bin\Resgen.exe&amp;quot; t&lt;br&gt;
o &amp;quot;C:\Documents and Settings\pedram.soheil\Local Settings\Temp\tmp69\Resgen.exe&amp;quot;&lt;br&gt;
.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Documents and Settings\pedram.soheil\Local Settings\Temp\tmp69\Resgen.exe&lt;br&gt;
&amp;nbsp;/compile Form1.resx,obj\FX1_1\Debug\WindowsApplication1.Form1.resources &amp;quot;My Pro&lt;br&gt;
ject\Resources.resx&amp;quot;,obj\FX1_1\Debug\WindowsApplication1.Resources.resources&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Deleting file &amp;quot;C:\Documents and Settings\pedram.soheil\Local Settings\Temp\t&lt;br&gt;
mp69\Resgen.exe&amp;quot;.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Deleting file &amp;quot;C:\Documents and Settings\pedram.soheil\Local Settings\Temp\t&lt;br&gt;
mp69\System.Data.dll&amp;quot;.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Deleting file &amp;quot;C:\Documents and Settings\pedram.soheil\Local Settings\Temp\t&lt;br&gt;
mp69\System.dll&amp;quot;.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Deleting file &amp;quot;C:\Documents and Settings\pedram.soheil\Local Settings\Temp\t&lt;br&gt;
mp69\System.Drawing.dll&amp;quot;.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Deleting file &amp;quot;C:\Documents and Settings\pedram.soheil\Local Settings\Temp\t&lt;br&gt;
mp69\System.Windows.Forms.dll&amp;quot;.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Deleting file &amp;quot;C:\Documents and Settings\pedram.soheil\Local Settings\Temp\t&lt;br&gt;
mp69\System.Xml.dll&amp;quot;.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Deleting directory &amp;quot;C:\Documents and Settings\pedram.soheil\Local Settings\T&lt;br&gt;
emp\tmp69\&amp;quot;.&lt;br&gt;
Target CoreCompile:&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Vbc.exe /imports:Microsoft.Visu&lt;br&gt;
alBasic,System,System.Collections,System.Collections.Generic,System.Data,System.&lt;br&gt;
Drawing,System.Diagnostics,System.Windows.Forms /rootnamespace:WindowsApplicatio&lt;br&gt;
n1 /define:&amp;quot;CONFIG=\&amp;quot;Debug\&amp;quot;,DEBUG=-1,TRACE=-1,_MyType=\&amp;quot;WindowsForms\&amp;quot;,PLATFORM&lt;br&gt;
=\&amp;quot;AnyCPU\&amp;quot;,FX1_1=-1&amp;quot; /reference:C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Sy&lt;br&gt;
stem.Data.dll,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.dll,C:\WINDOWS&lt;br&gt;
\Microsoft.NET\Framework\v1.1.4322\System.Drawing.dll,C:\WINDOWS\Microsoft.NET\F&lt;br&gt;
ramework\v1.1.4322\System.Windows.Forms.dll,C:\WINDOWS\Microsoft.NET\Framework\v&lt;br&gt;
1.1.4322\System.Xml.dll /main:WindowsApplication1.My.MyApplication /debug+ /debu&lt;br&gt;
g:full /out:obj\FX1_1\Debug\WindowsApplication1.exe /resource:obj\FX1_1\Debug\Wi&lt;br&gt;
ndowsApplication1.Form1.resources /resource:obj\FX1_1\Debug\WindowsApplication1.&lt;br&gt;
Resources.resources /target:winexe Form1.vb Form1.Designer.vb &amp;quot;My Project\Assemb&lt;br&gt;
lyInfo.vb&amp;quot; &amp;quot;My Project\Application.Designer.vb&amp;quot; &amp;quot;My Project\Resources.Designer.v&lt;br&gt;
b&amp;quot; &amp;quot;My Project\Settings.Designer.vb&amp;quot;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; vbc : error BC30464: Namespace or type 'Generic' in the project-level Import&lt;br&gt;
s 'System.Collections.Generic' cannot be found.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; vbc : error BC30420: 'Sub Main' was not found in 'WindowsApplication1.My.MyA&lt;br&gt;
pplication'.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\Form1.Designer.vb(2): error&lt;br&gt;
BC32035: Attribute specifier is not a complete statement. Use a line continuatio&lt;br&gt;
n to apply the attribute to the following statement.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\Form1.Designer.vb(3): error&lt;br&gt;
BC30001: Statement is not valid in a namespace.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\Form1.Designer.vb(6): error&lt;br&gt;
BC30001: Statement is not valid in a namespace.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\Form1.Designer.vb(15): error&lt;br&gt;
&amp;nbsp;BC30001: Statement is not valid in a namespace.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\Form1.Designer.vb(20): error&lt;br&gt;
&amp;nbsp;BC30001: Statement is not valid in a namespace.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\Form1.Designer.vb(47): error&lt;br&gt;
&amp;nbsp;BC30001: Statement is not valid in a namespace.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\Form1.Designer.vb(49): error&lt;br&gt;
&amp;nbsp;BC30460: 'End Class' must be preceded by a matching 'Class'.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\Form1.vb(3): error BC30590:&lt;br&gt;
Event 'Load' cannot be found.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\Form1.vb(4): error BC30451:&lt;br&gt;
Name 'lblFramework' is not declared.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Application.Desig&lt;br&gt;
ner.vb(22): error BC30188: Declaration expected.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Application.Desig&lt;br&gt;
ner.vb(24): error BC30001: Statement is not valid in a namespace.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Application.Desig&lt;br&gt;
ner.vb(33): error BC30001: Statement is not valid in a namespace.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Application.Desig&lt;br&gt;
ner.vb(37): error BC30460: 'End Class' must be preceded by a matching 'Class'.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Resources.Designe&lt;br&gt;
r.vb(24): error BC30002: Type 'Global.System.CodeDom.Compiler.GeneratedCodeAttri&lt;br&gt;
bute' is not defined.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Resources.Designe&lt;br&gt;
r.vb(25): error BC30002: Type 'Global.System.Diagnostics.DebuggerNonUserCodeAttr&lt;br&gt;
ibute' is not defined.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Resources.Designe&lt;br&gt;
r.vb(26): error BC30002: Type 'Global.System.Runtime.CompilerServices.CompilerGe&lt;br&gt;
neratedAttribute' is not defined.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Resources.Designe&lt;br&gt;
r.vb(27): error BC30002: Type 'Global.Microsoft.VisualBasic.HideModuleNameAttrib&lt;br&gt;
ute' is not defined.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Resources.Designe&lt;br&gt;
r.vb(30): error BC30002: Type 'Global.System.Resources.ResourceManager' is not d&lt;br&gt;
efined.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Resources.Designe&lt;br&gt;
r.vb(32): error BC30002: Type 'Global.System.Globalization.CultureInfo' is not d&lt;br&gt;
efined.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Resources.Designe&lt;br&gt;
r.vb(37): error BC30002: Type 'Global.System.ComponentModel.EditorBrowsableAttri&lt;br&gt;
bute' is not defined.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Resources.Designe&lt;br&gt;
r.vb(38): error BC30002: Type 'Global.System.Resources.ResourceManager' is not d&lt;br&gt;
efined.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Resources.Designe&lt;br&gt;
r.vb(41): error BC30002: Type 'Global.System.Resources.ResourceManager' is not d&lt;br&gt;
efined.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Resources.Designe&lt;br&gt;
r.vb(52): error BC30002: Type 'Global.System.ComponentModel.EditorBrowsableAttri&lt;br&gt;
bute' is not defined.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Resources.Designe&lt;br&gt;
r.vb(53): error BC30002: Type 'Global.System.Globalization.CultureInfo' is not d&lt;br&gt;
efined.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Resources.Designe&lt;br&gt;
r.vb(57): error BC30002: Type 'Global.System.Globalization.CultureInfo' is not d&lt;br&gt;
efined.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Settings.Designer&lt;br&gt;
.vb(20): error BC32035: Attribute specifier is not a complete statement. Use a l&lt;br&gt;
ine continuation to apply the attribute to the following statement.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Settings.Designer&lt;br&gt;
.vb(21): error BC30001: Statement is not valid in a namespace.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Settings.Designer&lt;br&gt;
.vb(23): error BC30001: Statement is not valid in a namespace.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Settings.Designer&lt;br&gt;
.vb(27): error BC30001: Statement is not valid in a namespace.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Settings.Designer&lt;br&gt;
.vb(29): error BC30001: Statement is not valid in a namespace.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Settings.Designer&lt;br&gt;
.vb(31): error BC30001: Statement is not valid in a namespace.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Settings.Designer&lt;br&gt;
.vb(40): error BC30001: Statement is not valid in a namespace.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Settings.Designer&lt;br&gt;
.vb(56): error BC30460: 'End Class' must be preceded by a matching 'Class'.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Settings.Designer&lt;br&gt;
.vb(61): error BC30002: Type 'Global.Microsoft.VisualBasic.HideModuleNameAttribu&lt;br&gt;
te' is not defined.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Settings.Designer&lt;br&gt;
.vb(62): error BC30002: Type 'Global.System.Diagnostics.DebuggerNonUserCodeAttri&lt;br&gt;
bute' is not defined.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Settings.Designer&lt;br&gt;
.vb(63): error BC30002: Type 'Global.System.Runtime.CompilerServices.CompilerGen&lt;br&gt;
eratedAttribute' is not defined.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Settings.Designer&lt;br&gt;
.vb(66): error BC30002: Type 'Global.System.ComponentModel.Design.HelpKeywordAtt&lt;br&gt;
ribute' is not defined.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Settings.Designer&lt;br&gt;
.vb(67): error BC30002: Type 'Global.WindowsApplication1.My.MySettings' is not d&lt;br&gt;
efined.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Settings.Designer&lt;br&gt;
.vb(69): error BC30451: Name 'Global' is not declared.&lt;br&gt;
Done building target &amp;quot;CoreCompile&amp;quot; in project &amp;quot;WindowsApplication1.vbproj&amp;quot; -- FA&lt;br&gt;
ILED.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Done building project &amp;quot;WindowsApplication1.vbproj&amp;quot; -- FAILED.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Build FAILED.&lt;br&gt;
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets : warning&lt;br&gt;
&amp;nbsp;MSB3245: Could not resolve this reference. Could not locate the assembly &amp;quot;Syste&lt;br&gt;
m.Deployment&amp;quot;. Check to make sure the assembly exists on disk. If this reference&lt;br&gt;
&amp;nbsp;is required by your code, you may get compilation errors.&lt;br&gt;
vbc : error BC30464: Namespace or type 'Generic' in the project-level Imports 'S&lt;br&gt;
ystem.Collections.Generic' cannot be found.&lt;br&gt;
vbc : error BC30420: 'Sub Main' was not found in 'WindowsApplication1.My.MyAppli&lt;br&gt;
cation'.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\Form1.Designer.vb(2): error BC32&lt;br&gt;
035: Attribute specifier is not a complete statement. Use a line continuation to&lt;br&gt;
&amp;nbsp;apply the attribute to the following statement.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\Form1.Designer.vb(3): error BC30&lt;br&gt;
001: Statement is not valid in a namespace.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\Form1.Designer.vb(6): error BC30&lt;br&gt;
001: Statement is not valid in a namespace.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\Form1.Designer.vb(15): error BC3&lt;br&gt;
0001: Statement is not valid in a namespace.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\Form1.Designer.vb(20): error BC3&lt;br&gt;
0001: Statement is not valid in a namespace.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\Form1.Designer.vb(47): error BC3&lt;br&gt;
0001: Statement is not valid in a namespace.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\Form1.Designer.vb(49): error BC3&lt;br&gt;
0460: 'End Class' must be preceded by a matching 'Class'.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\Form1.vb(3): error BC30590: Even&lt;br&gt;
t 'Load' cannot be found.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\Form1.vb(4): error BC30451: Name&lt;br&gt;
&amp;nbsp;'lblFramework' is not declared.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Application.Designer.&lt;br&gt;
vb(22): error BC30188: Declaration expected.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Application.Designer.&lt;br&gt;
vb(24): error BC30001: Statement is not valid in a namespace.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Application.Designer.&lt;br&gt;
vb(33): error BC30001: Statement is not valid in a namespace.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Application.Designer.&lt;br&gt;
vb(37): error BC30460: 'End Class' must be preceded by a matching 'Class'.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Resources.Designer.vb&lt;br&gt;
(24): error BC30002: Type 'Global.System.CodeDom.Compiler.GeneratedCodeAttribute&lt;br&gt;
' is not defined.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Resources.Designer.vb&lt;br&gt;
(25): error BC30002: Type 'Global.System.Diagnostics.DebuggerNonUserCodeAttribut&lt;br&gt;
e' is not defined.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Resources.Designer.vb&lt;br&gt;
(26): error BC30002: Type 'Global.System.Runtime.CompilerServices.CompilerGenera&lt;br&gt;
tedAttribute' is not defined.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Resources.Designer.vb&lt;br&gt;
(27): error BC30002: Type 'Global.Microsoft.VisualBasic.HideModuleNameAttribute'&lt;br&gt;
&amp;nbsp;is not defined.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Resources.Designer.vb&lt;br&gt;
(30): error BC30002: Type 'Global.System.Resources.ResourceManager' is not defin&lt;br&gt;
ed.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Resources.Designer.vb&lt;br&gt;
(32): error BC30002: Type 'Global.System.Globalization.CultureInfo' is not defin&lt;br&gt;
ed.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Resources.Designer.vb&lt;br&gt;
(37): error BC30002: Type 'Global.System.ComponentModel.EditorBrowsableAttribute&lt;br&gt;
' is not defined.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Resources.Designer.vb&lt;br&gt;
(38): error BC30002: Type 'Global.System.Resources.ResourceManager' is not defin&lt;br&gt;
ed.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Resources.Designer.vb&lt;br&gt;
(41): error BC30002: Type 'Global.System.Resources.ResourceManager' is not defin&lt;br&gt;
ed.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Resources.Designer.vb&lt;br&gt;
(52): error BC30002: Type 'Global.System.ComponentModel.EditorBrowsableAttribute&lt;br&gt;
' is not defined.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Resources.Designer.vb&lt;br&gt;
(53): error BC30002: Type 'Global.System.Globalization.CultureInfo' is not defin&lt;br&gt;
ed.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Resources.Designer.vb&lt;br&gt;
(57): error BC30002: Type 'Global.System.Globalization.CultureInfo' is not defin&lt;br&gt;
ed.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Settings.Designer.vb(&lt;br&gt;
20): error BC32035: Attribute specifier is not a complete statement. Use a line&lt;br&gt;
continuation to apply the attribute to the following statement.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Settings.Designer.vb(&lt;br&gt;
21): error BC30001: Statement is not valid in a namespace.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Settings.Designer.vb(&lt;br&gt;
23): error BC30001: Statement is not valid in a namespace.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Settings.Designer.vb(&lt;br&gt;
27): error BC30001: Statement is not valid in a namespace.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Settings.Designer.vb(&lt;br&gt;
29): error BC30001: Statement is not valid in a namespace.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Settings.Designer.vb(&lt;br&gt;
31): error BC30001: Statement is not valid in a namespace.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Settings.Designer.vb(&lt;br&gt;
40): error BC30001: Statement is not valid in a namespace.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Settings.Designer.vb(&lt;br&gt;
56): error BC30460: 'End Class' must be preceded by a matching 'Class'.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Settings.Designer.vb(&lt;br&gt;
61): error BC30002: Type 'Global.Microsoft.VisualBasic.HideModuleNameAttribute'&lt;br&gt;
is not defined.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Settings.Designer.vb(&lt;br&gt;
62): error BC30002: Type 'Global.System.Diagnostics.DebuggerNonUserCodeAttribute&lt;br&gt;
' is not defined.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Settings.Designer.vb(&lt;br&gt;
63): error BC30002: Type 'Global.System.Runtime.CompilerServices.CompilerGenerat&lt;br&gt;
edAttribute' is not defined.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Settings.Designer.vb(&lt;br&gt;
66): error BC30002: Type 'Global.System.ComponentModel.Design.HelpKeywordAttribu&lt;br&gt;
te' is not defined.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Settings.Designer.vb(&lt;br&gt;
67): error BC30002: Type 'Global.WindowsApplication1.My.MySettings' is not defin&lt;br&gt;
ed.&lt;br&gt;
C:\Temp\WindowsApplication1\WindowsApplication1\My Project\Settings.Designer.vb(&lt;br&gt;
69): error BC30451: Name 'Global' is not declared.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 Warning(s)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 41 Error(s)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Time Elapsed 00:00:10.76&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;C:\Program Files\Microsoft Visual Studio 8\VC&amp;gt;msbuild C:\Temp\WindowsApplication&lt;br&gt;
1\WindowsApplication1\WindowsApplication1.vbproj /p:TargetFX1_1=true&lt;br&gt;
&lt;br&gt;
&lt;/em&gt;I have been at this for hours. Please help!!&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Pete&lt;/p&gt;
&lt;/div&gt;</description><author>digioz</author><pubDate>Wed, 18 Jun 2008 18:20:45 GMT</pubDate><guid isPermaLink="false">New Post: Error when trying to compile Windows Form  20080618062045P</guid></item></channel></rss>