Jump to content
Software FX Community

How do you deploy C# windows application?


User (Legacy)

Recommended Posts

Posted

My project in C# compiles and works on my build machine.  When I copy the

chartfx.lite.dll and my application .exe to a new directory on my machine

it.

When I move it to a share it throws the below...

An unhandled exception of type 'System.TypeInitializationException' occurred

in CSharpWindowsApplication1.exe

Additional information: The type initializer for

"SoftwareFX.ChartFX.Lite.Chart" threw an exception.

Why?

Posted

My project in C# compiles and works on my build machine.  When I copy the

chartfx.lite.dll and my application .exe to a new directory on my machine

it.

When I move it to a share it throws the below...

An unhandled exception of type 'System.TypeInitializationException' occurred

in CSharpWindowsApplication1.exe

Additional information: The type initializer for

"SoftwareFX.ChartFX.Lite.Chart" threw an exception.

Why?

Posted

The directory was a mapped drive...when it is not a mapped drive it works

fine...is there a solution if the exe and dll are on a share?

"Scott" <scott.schreckengaust@aspentech.com> wrote in message

news:sg#ZFftSCHA.1288@webserver1.softwarefx.com...

> My project in C# compiles and works on my build machine. When I copy the

> chartfx.lite.dll and my application .exe to a new directory on my machine

> it.

>

> When I move it to a share it throws the below...

>

> An unhandled exception of type 'System.TypeInitializationException'

occurred

> in CSharpWindowsApplication1.exe

>

> Additional information: The type initializer for

> "SoftwareFX.ChartFX.Lite.Chart" threw an exception.

>

>

> Why?

>

>

Posted

The directory was a mapped drive...when it is not a mapped drive it works

fine...is there a solution if the exe and dll are on a share?

"Scott" <scott.schreckengaust@aspentech.com> wrote in message

news:sg#ZFftSCHA.1288@webserver1.softwarefx.com...

> My project in C# compiles and works on my build machine. When I copy the

> chartfx.lite.dll and my application .exe to a new directory on my machine

> it.

>

> When I move it to a share it throws the below...

>

> An unhandled exception of type 'System.TypeInitializationException'

occurred

> in CSharpWindowsApplication1.exe

>

> Additional information: The type initializer for

> "SoftwareFX.ChartFX.Lite.Chart" threw an exception.

>

>

> Why?

>

>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...