- improved exception handling in RenderSystem DX10
- added visual studio extension to build script
This commit is contained in:
parent
412e4885c9
commit
b188b24a30
@ -66,8 +66,16 @@ namespace ANX.RenderSystem.Windows.DX10
|
||||
public EffectDX(GraphicsDevice graphicsDevice, Effect managedEffect, Stream effectStream)
|
||||
: this(managedEffect)
|
||||
{
|
||||
var device = ((GraphicsDeviceDX)graphicsDevice.NativeDevice).NativeDevice;
|
||||
NativeEffect = new Dx10.Effect(device, GetByteCode(effectStream));
|
||||
var device = ((GraphicsDeviceDX)graphicsDevice.NativeDevice).NativeDevice;
|
||||
|
||||
try
|
||||
{
|
||||
NativeEffect = new Dx10.Effect(device, GetByteCode(effectStream));
|
||||
}
|
||||
catch (SharpDX.SharpDXException ex)
|
||||
{
|
||||
System.Diagnostics.Debugger.Break();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
@ -32,7 +32,7 @@ using System.Runtime.InteropServices;
|
||||
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
|
||||
// übernehmen, indem Sie "*" eingeben:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("0.7.25.*")]
|
||||
[assembly: AssemblyFileVersion("0.7.25.0")]
|
||||
[assembly: AssemblyVersion("0.7.26.*")]
|
||||
[assembly: AssemblyFileVersion("0.7.26.0")]
|
||||
|
||||
[assembly: InternalsVisibleTo("ANX.Framework.ContentPipeline")]
|
||||
|
@ -480,8 +480,10 @@
|
||||
|
||||
<property name="wix.dir" value="${path::combine(environment::get-variable('WIX'), 'bin')}" readonly="true" />
|
||||
<loadtasks assembly="${wix.dir}\Microsoft.Tools.WindowsInstallerXml.NAntTasks.dll" />
|
||||
|
||||
<candle out="${build.dir}/${build.configuration}/installer/" exedir="${wix.dir}" extensions="WixUIExtension;WiXUtilExtension;WixVSExtension">
|
||||
|
||||
<candle out="${build.dir}/${build.configuration}/installer/"
|
||||
exedir="${wix.dir}"
|
||||
extensions="WixUIExtension;WiXUtilExtension;WixVSExtension">
|
||||
<sources>
|
||||
<include name="../Installer/anx.wxs" />
|
||||
</sources>
|
||||
@ -496,7 +498,7 @@
|
||||
warningsaserrors="true"
|
||||
suppressices="ICE57"
|
||||
cultures="en-us"
|
||||
extensions="WixUIExtension;WiXUtilExtension"
|
||||
extensions="WixUIExtension;WiXUtilExtension;WixVSExtension"
|
||||
rebuild="true"
|
||||
suppresspdb="true">
|
||||
<!-- Specify additional options -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user