我们希望在.Net 3.5应用程序中添加对指纹身份验证的支持.
我们目前只使用Griaule的sdk .但这仅支持5 usb即插即用设备.我们希望支持笔记本电脑,平板电脑等附带的大多数读者.
是否有支持许多设备的通用方法?我知道有一个从Windows 7开始的新标准,但我们想要支持XP及更高版本.
是否有针对UPEK或Authentec设备的.Net SDK?
任何想法或帮助将不胜感激.
目前我们在我的公司使用Hudson(Jenkins).这对我们有用,而且完全免费.但是,我们主要将它用于C#.Net windows应用程序.
我们大多数时候都喜欢它,但它的一部分感觉很笨拙:
我们正在寻找更商业化的解决方案,是否有一些满足以下需求的CI软件:
那里有什么能适合我们的吗?还有其他意见吗?
我正在开发一款游戏,我们一直在以JSON格式存储我们的关卡信息.这些级别非常大,所以我们切换到只将它们存储在普通的C#中:
例:
private OurObject Autogenerated_Object1()
{
return new OurObject { Name = "Object1", X = 1, Y = 2, Width = 200, Height = 100 };
}
Run Code Online (Sandbox Code Playgroud)
除了这些方法非常大并且具有其他对象的嵌套列表/字典等.
这加快了将级别从2-3秒加载到几分之一秒的时间(在Windows上).我们的数据大小也相当小,因为编译的IL与JSON相比.
问题是当我们在MonoDevelop中为MonoTouch编译这些时,我们得到:
mtouch exited with code 1
随着-v -v -v开启,我们可以看到错误:
MONO_PATH=/Users/jonathanpeppers/Desktop/DrawAStickman/Game/Code/iOS/DrawAStickman.iPhone/bin/iPhone/Release/DrawAStickmaniPhone.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --aot=mtriple=armv7-darwin,full,static,asmonly,nodebug,outfile=/var/folders/4s/lcvdj54x0g72nrsw9vzq6nm80000gn/T/tmp54777849.tmp/monotouch.dll.7.s "/Users/jonathanpeppers/Desktop/DrawAStickman/Game/Code/iOS/DrawAStickman.iPhone/bin/iPhone/Release/DrawAStickmaniPhone.app/monotouch.dll"
AOT Compilation exited with code 134, command:
MONO_PATH=/Users/jonathanpeppers/Desktop/DrawAStickman/Game/Code/iOS/DrawAStickman.iPhone/bin/iPhone/Release/DrawAStickmaniPhone.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --aot=mtriple=armv7-darwin,full,static,asmonly,nodebug,outfile=/var/folders/4s/lcvdj54x0g72nrsw9vzq6nm80000gn/T/tmp54777849.tmp/DrawAStickmanCore.dll.7.s "/Users/jonathanpeppers/Desktop/DrawAStickman/Game/Code/iOS/DrawAStickman.iPhone/bin/iPhone/Release/DrawAStickmaniPhone.app/DrawAStickmanCore.dll"
Mono Ahead of Time compiler - compiling assembly /Users/jonathanpeppers/Desktop/DrawAStickman/Game/Code/iOS/DrawAStickman.iPhone/bin/iPhone/Release/DrawAStickmaniPhone.app/DrawAStickmanCore.dll
* Assertion: should not be reached at ../../../../../mono/mono/mini/mini-arm.c:2758
Run Code Online (Sandbox Code Playgroud)
在编译AOT时,方法中的行数是否有限制?我们可以通过一些论证mtouch来解决这个问题吗?有些文件工作正常,但特别是导致错误的文件有3000行方法.无论如何编译模拟器都能正常工作.
这仍然是一个实验,所以我们意识到这是一个非常疯狂的情况.
有没有人试图在Linux上使用Mono for Monombed?
这是链接:perlembed
这是我第一次尝试DllImport签名:
private const string PERL_LIB = "/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so";
[DllImport(PERL_LIB, EntryPoint = "perl_alloc", SetLastError = true)]
public static extern IntPtr Alloc();
[DllImport(PERL_LIB, EntryPoint = "perl_construct", SetLastError = true)]
public static extern void Construct(IntPtr hPerl);
[DllImport(PERL_LIB, EntryPoint = "perl_destruct", SetLastError = true)]
public static extern void Destruct(IntPtr hPerl);
[DllImport(PERL_LIB, EntryPoint = "perl_free", SetLastError = true)]
public static extern void Free(IntPtr hPerl);
[DllImport(PERL_LIB, EntryPoint = "perl_parse", SetLastError = true)]
public static extern void Parse(IntPtr hPerl, IntPtr @null, int argc, …Run Code Online (Sandbox Code Playgroud) 我在Outlook 2007加载项中使用了一些Win32 dll.
所以我添加了dll,使用构建操作"Content"并复制到本地目录.
为了获得它们的路径,我通常会使用:
Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "MyDll.dll");
Run Code Online (Sandbox Code Playgroud)
当ClickOnce发布时,Assembly.GetExecutingAssembly没有给我所有ClickOnce文件的标准路径.我的文件位于%appdata%..\Local\Apps\2.0中,但程序集位于%appdata%..\Local\assembly中.
有没有更好的方法从ClickOnce部署的Outlook加载项中获取这些dll的路径?
我们需要在C#中创建一个支持Outlook 2007和2010的VSTO加载项.
首先,我们创建了3个项目:
所有共享代码都在项目#3中.
到目前为止,我们已经部分开发了加载项,并一直在使用ClickOnce部署进行测试.
有一天,我们注意到有人安装了2007 Outlook的2010加载项并且没有任何不良影响.
所以有几个问题:
在我们的最终解决方案中,我们将使用WiX安装程序,该安装程序目前也在使用.如果我们可以使用1个项目作为加载项,那么WiX安装程序将大大简化.
我有一个用户只安装4.1(果冻豆),ListView onItemClick()在我的应用程序中停止工作.事件不会触发(由断点和控制台检查),并且UI似乎不会明显改变任何事件.所以我在模拟器中尝试过(即使速度非常慢),也遇到了同样的问题.
有没有人注意到新操作系统的差异?
在我的项目的布局中没有什么可以集中的,它在旧的OS上运行良好.
这是包含ListView的布局:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/Background">
<ImageView
android:id="@+id/LiveGameLogo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_alignParentTop="true"
android:src="@drawable/SmallLogo"/>
<ImageButton
android:id="@+id/BackLiveGameButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@android:color/transparent"
android:src="@drawable/backbutton_button"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_marginLeft="7dp"
android:layout_marginTop="7dp"/>
<TextView
android:id="@+id/LiveGameEditButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/edit_button"
android:clickable="true"
android:layout_alignParentTop="true"
android:layout_alignParentRight="true"
android:layout_marginRight="7dp"
android:layout_marginTop="7dp"/>
<ImageView
android:id="@+id/LiveGameLayoutBackground"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/LiveGamePlayerLayout"
android:layout_alignTop="@+id/LiveGamePlayerLayout"
android:background="@android:color/white"
android:layout_marginTop="7dp"
android:layout_marginBottom="7dp"/>
<ListView
android:id="@+id/LiveGamesList"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_below="@+id/LiveGamePlayerLayout"
android:layout_marginTop="-7dp"
android:layout_above="@+id/LiveGamesAdPlacement"
android:background="#FFFFFF"
android:cacheColorHint="#00000000"/>
<RelativeLayout
android:id="@+id/LiveGamePlayerLayout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/LiveGameLogo"
android:background="@drawable/LiveGameBanner"
android:layout_marginTop="10dp">
<ImageView
android:id="@+id/LiveGamesPlayerImage"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_centerVertical="true"
android:layout_marginLeft="5dp"/>
<ImageView
android:id="@+id/LiveGamesPlayerBadge"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="5dp"/>
<LinearLayout
android:id="@+id/LiveGamesLinearLayout1" …Run Code Online (Sandbox Code Playgroud) 有没有办法调试从商店下载的Windows应用商店应用?我有上传的构建的源代码,但没有断点正在工作.
我问的原因是应用程序内购买不在实时商店中,但它们在测试模式下工作正常.我需要看到抛出的异常 - 它被应用程序捕获并打印到Debug.WriteLine,但我也没有在控制台中看到它.
我们必须从Windows服务运行一个进程并从中获取屏幕截图.
我们尝试了BitBlt和PrintWindow Win32调用,但都给出了空白(黑色)位图.
如果我们从普通用户进程运行我们的代码,它就可以正常运行.
这有可能吗?或者可以尝试另一种方法吗?
我们尝试的事情:
我们还注意到PrintWindow对我们的情况更好,如果窗口在另一个窗口后面,它可以工作.
对于其他要求,父进程和子进程必须位于同一用户下.我们无法真正使用从一个进程到另一个进程的模拟.
我设置了一个像这样的快速Mojolicious服务器:
use Mojolicious::Lite;
get '/' => sub {
my $self = shift;
sleep 5; #sleep here, I'm testing multiple connections at once
$self->render_text('Hello World!');
};
app->start;
Run Code Online (Sandbox Code Playgroud)
然后我开始: perl Mojolicious.pl daemon --listen=https://127.0.0.1:3000
问题是,如果我同时运行此命令:
time curl https://127.0.0.1:3000/ -k
它似乎只使用1个线程用于请求,因为如果我一次发出多个请求,它们可能需要超过5秒.好像他们都排队了.
我在这里错过了什么吗?我想要使用Mojolicous,但前提是它一次只能处理多个客户端.