[MonoDevelop] Autotools Addin in SVN
Scott Ellington
scottell.lists at gmail.com
Thu Jun 8 06:29:20 EDT 2006
This is fixed. I added a FileAccess.Read to the FileStream ctor.
thanks,
Scott
On Thu, 2006-06-08 at 11:52 +0200, Marek Sieradzki wrote:
> I created simple console solution in C# in MonoDevelop. It is made in my
> normal user directory. When I click Deploy as autotools projects I get:
>
> /opt/mono is directory where only root can get.
>
> Wystąpił wyjątek: Exception has been thrown by the target of an
> invocation.
>
> System.Reflection.TargetInvocationException: Exception has been thrown
> by the target of an invocation. ---> System.UnauthorizedAccessException:
> Access to the path
> "/opt/mono/lib/monodevelop/AddIns/MonoDevelop.Autotools/exe.wrapper.in.template" is denied.
> at System.IO.FileStream..ctor (System.String name, FileMode mode,
> FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous,
> FileOptions options) [0x00000]
> at System.IO.FileStream..ctor (System.String name, FileMode mode)
> [0x00000]
> at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor
> (string,System.IO.FileMode)
> at MonoDevelop.Autotools.AutotoolsContext.GetTemplateStream
> (System.String id) [0x00000]
> at MonoDevelop.Autotools.SimpleProjectMakefileHandler.CreateExeWrapper
> (MonoDevelop.Autotools.AutotoolsContext context, System.String assembly,
> System.String baseDir) [0x00000]
> at MonoDevelop.Autotools.SimpleProjectMakefileHandler.Deploy
> (MonoDevelop.Autotools.AutotoolsContext ctx,
> MonoDevelop.Projects.CombineEntry entry) [0x00000]
> at MonoDevelop.Autotools.SolutionMakefileHandler.Deploy
> (MonoDevelop.Autotools.AutotoolsContext ctx,
> MonoDevelop.Projects.CombineEntry entry) [0x00000]
> at MonoDevelop.Autotools.SolutionDeployer.Deploy
> (MonoDevelop.Projects.Combine combine) [0x00000]
> at MonoDevelop.Autotools.AddinCommandHandler.OnDeploy () [0x00000]
> at <0x00000> <unknown method>
> at (wrapper managed-to-native)
> System.Reflection.MonoMethod:InternalInvoke (object,object[])
> at System.Reflection.MonoMethod.Invoke (System.Object obj,
> BindingFlags invokeAttr, System.Reflection.Binder binder,
> System.Object[] parameters, System.Globalization.CultureInfo culture)
> [0x00000] --- End of inner exception stack trace ---
>
> at System.Reflection.MonoMethod.Invoke (System.Object obj,
> BindingFlags invokeAttr, System.Reflection.Binder binder,
> System.Object[] parameters, System.Globalization.CultureInfo culture)
> [0x00000]
> at System.Reflection.MethodBase.Invoke (System.Object obj,
> System.Object[] parameters) [0x00000]
> at MonoDevelop.Components.Commands.CommandHandlerInfo.Run
> (System.Object cmdTarget) [0x00000]
> at MonoDevelop.Components.Commands.CommandManager.DispatchCommand
> (System.Object commandId, System.Object dataItem) [0x00000]
More information about the Monodevelop-list
mailing list