List Info

Thread: Problem when building ASP.NET projects




Problem when building ASP.NET projects
user name
2006-07-25 10:54:02
Hi

I've recently tried the aspnet AddIn and I've been able to
create a new
ASP.NET project. However, MonoDevelop failed to build the
project (I
haven't modified the generated files).

Here is the output of the build process with the exception:

Building Solution AspNetApp1

Building Project: AspNetApp1 Configuration: Debug

Build failed. Can't create project output directory bin
original
exception:
System.UnauthorizedAccessException: Access to the path
"/usr/local/lib/monodevelop/bin/bin" is denied.
  at System.IO.Directory.CreateDirectoriesInternal
(System.String path)
[0x00000] 
  at System.IO.Directory.CreateDirectory (System.String
path) [0x00000] 
  at System.IO.DirectoryInfo.Create () [0x00000] 
  at (wrapper remoting-invoke-with-check)
System.IO.DirectoryInfo:Create
()
  at MonoDevelop.Projects.Project.DoPreBuild
(IProgressMonitor monitor)
[0x00000] 


Note that '/usr/local/lib/monodevelop/bin/' is the
installation path of
the hosting MonoDevelop instance.

I have tried to change the out directory in project's
options - but
MonoDevelop wouldn't remember my new choice (and would
still use the
default 'bin' directory).


Enjoy,
---
Matej

_______________________________________________
Monodevelop-list mailing list
Monodevelop-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st
Problem when building ASP.NET projects
user name
2006-07-25 11:21:28
On 7/25/06, Matej Urbas <matej.urbasgmail.com> wrote:
> System.UnauthorizedAccessException: Access to the path
> "/usr/local/lib/monodevelop/bin/bin" is
denied.
> Note that '/usr/local/lib/monodevelop/bin/' is the
installation path of
> the hosting MonoDevelop instance.
>
> I have tried to change the out directory in project's
options - but
> MonoDevelop wouldn't remember my new choice (and would
still use the
> default 'bin' directory).

Yeah, this is my bad -- this doen't happen with "make
run", which is
what I use most of the time. The actual bin directory is
created in
the right place, but MD's prebuild step is trying to create
another. I
have a fix, but forgot to commit it :(

It'll be fixed a few minutes.

-- 
Michael Hutchinson
http://mjhutchinson.com
_______________________________________________
Monodevelop-list mailing list
Monodevelop-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st
Problem when building ASP.NET projects
user name
2006-07-25 12:45:02
On 7/25/06, Michael Hutchinson <m.j.hutchinsongmail.com> wrote:
> It'll be fixed a few minutes.

It's fixed. Got some other changes in as well.

-- 
Michael Hutchinson
http://mjhutchinson.com
_______________________________________________
Monodevelop-list mailing list
Monodevelop-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st
Problem when building ASP.NET projects
user name
2006-07-25 13:06:17
Hi

On Tue, 2006-07-25 at 13:45 +0100, Michael Hutchinson wrote:
> On 7/25/06, Michael Hutchinson <m.j.hutchinsongmail.com> wrote:
> > It'll be fixed a few minutes.
> 
> It's fixed. Got some other changes in as well.
> 

Just one thing:

When compiling with aspnet I got this error:

./MonoDevelop.DesignerSupport/RemoteDesignerProcess.cs(105,2
4): error
CS0239:
`MonoDevelop.DesignerSupport.RemoteDesignerProcess.Dispose()
':
cannot override inherited member
`MonoDevelop.Core.Execution.RemoteProcessObject.Dispose()'
because it is
sealed

Just making the Dispose() method virtual (in the base class)
fixed the
problem.

Otherwise, I just compiled the project without any problems,
and IT
ROCKS!

Great work, man! Now it's time make me own Mono powered web
page,
hihi 


Regards,
---
Matej
_______________________________________________
Monodevelop-list mailing list
Monodevelop-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )