Re: New to ASP, trying to create a new project



Larry,

Is the path still pointing to 'c:\Microsoft.visualbasic.Targets'? You can
manually edit the project file to point to the correct path
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.visualbasic.Targets'.

<Import Project="$(MSBuildBinPath)\Microsoft.visualbasic.targets" />

Apart from that, I have no idea why this is happening, I have never had this
problem.

Were you trying to do something similar to:
http://blogs.msdn.com/jomo_fisher/archive/2005/08/31/458658.aspx

Hope this helps,

Steve - dotneticated.com

"Larry" <NoSpam@xxxxxxxxxxxxx> wrote in message
news:%23x$pVtM7HHA.1900@xxxxxxxxxxxxxxxxxxxxxxx

I tried to create another web application,
the first problem has surfaced again.

It seems that when I clean out
C:\Documents and Settings\MyLogin\Local Settings\Temp
the "target problem" goes away, (the first time I try to create a web
app.)
An subsequent attemps at creating a web app
I get the target error message again.

Thanks Again,
Laurence

Stevanich wrote:
Laurence,

Visual Studio has it's moments, but this error should not be occuring.
And no, it's not THAT buggy.

The first thing that concerns me is the path for
Microsoft.visualbasic.Targets, given your framework version, should be:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

It sounds like something, most likely the .NET Framework itself, is not
installed correctly.

Hope this helps,


Steve - dotneticated.com


"Larry" <NoSpam@xxxxxxxxxxxxx> wrote in message
news:OyGrMqG7HHA.3716@xxxxxxxxxxxxxxxxxxxxxxx

I am in Win XP pro, fully patched.
Using Visual Studio 8.0.50727.762 (VS 2005)
and .NET Framework 2.0.50727

When I try to create a new ASP.NET Web Application project
I get:
"Exception of type 'System.Exception' was thrown"

I came up with nothing searching with google.

And then sometimes I get a message:
C:\documents and
Settings\Mysignone\localsettings\temp\bto5wgau.wgx\temp\webapplication6.
vbproj(120.11): The imported project c:\Microsoft.visualbasic.Targets"
was not found
Confirm that the path in the <import> declaration is correct and that
the file exists on disk.

Is visual studio .net 2005 this buggy.

Thank you for your help.

Laurence





.



Relevant Pages

  • Re: New to ASP, trying to create a new project
    ... Visual Studio has it's moments, but this error should not be occuring. ... It sounds like something, most likely the .NET Framework itself, is not ... vbproj: The imported project c:\Microsoft.visualbasic.Targets" was ... Is visual studio .net 2005 this buggy. ...
    (microsoft.public.vsnet.general)
  • Re: What version of Visual Studio?
    ... How to find out what version of MS Visual Studio was ... It compiled for the .NET Framework ... If you have the project file, you can open it in VS 2003 or 2005 and ... compile it. ...
    (microsoft.public.dotnet.framework)
  • Visual Studio 6.0 Buffer Overflow Vulnerability
    ... Visual Studio 6.0 Buffer Overflow Vulnerability ... Microsoft Visual Studio 6.0 ... A Buffer Overflow Vulnerability is exists for the following file formats of affected product. ... A specially crafted project file can overwrite a stack based buffer allowing for fully EIP register control and code execution and compromise user's system. ...
    (Bugtraq)
  • Re: Website set as application?
    ... Then, I'd look in the previous project's VS.NET project file, ... I'd compile the new version in VS.NET 2003. ... >> version of the .Net Framework you've got installed. ... the assembly versioning in machine.config is different ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Common Library .NET and CF.NET
    ... Of course you have to limit your usage of the .NET Framework to the ... share among .NET and .NETCF. ... Visual Studio should define some platform symbol in all Smart ... Both builds can be made from the same source code though. ...
    (microsoft.public.dotnet.framework.compactframework)