有没有办法解决Unity 3的这个问题?
我已经尽一切可能绕过这个消息错误,但我无法解决; 我已经做了我在googles搜索中看到的所有内容.
我几乎放弃并尝试另一种DI解决方案.
我的配置文件:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="unity" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection, Microsoft.Practices.Unity.Configuration" />
</configSections>
<unity xmlns="http://schemas.microsoft.com/practices/2010/unity">
<assembly name="Biblioteca" />
<assembly name="Biblioteca.Contracts" />
<assembly name="Biblioteca.Business" />
<namespace name="Biblioteca" />
<namespace name="Biblioteca.Contracts" />
<namespace name="Biblioteca.Business" />
<container>
<register type="Biblioteca.Contracts.IManterCategoriaBO" mapTo="Biblioteca.Business.ManterCategoriaBO" />
</container>
</unity>
</configuration>
Run Code Online (Sandbox Code Playgroud)
我的界面:
using Biblioteca.Transport;
using System.Linq;
namespace Biblioteca.Contracts
{
public interface IManterCategoriaBO
{
IQueryable<CategoriaDTO> GetAll();
CategoriaDTO GetById(int id);
void Insert(CategoriaDTO dto);
}
}
Run Code Online (Sandbox Code Playgroud)
我的具体课程:
using Biblioteca.Contracts;
using Biblioteca.Transport;
using Biblioteca.Data;
using System;
using System.Linq;
namespace …Run Code Online (Sandbox Code Playgroud) 我有一个来自新客户端的fdb文件(firebird)(他不知道版本).我曾尝试使用一些GUI来访问数据库,但没有运气.所有这些都告诉它缺少gds32.dll,但我有这个.
我已将此dll复制到GUI文件夹,我已将dll复制到system32文件夹,并已复制到syswow64.我运行Windows 7 64位,firebird数据库是32位.我试图安装DLL但我无法注册它.
我已经在虚拟机中安装了WinXP以查看它是否运行,但没有.regsvr32告诉我它不是一个可执行文件...在Win 7中,这个DLL可能与Windows版本不兼容.
我试过IbExpert Personal,Ibmanager和Flamerobin,他们向我显示了同样的错误,没有找到或没有安装dll.
如何打开这个firebird db?
我在strings.xml中有这种情况.
<string name="mensagem">Olá <b><i> {0} </i></b>,</string>
Run Code Online (Sandbox Code Playgroud)
在我的代码中我这样做:
string msg = String.Format(Resources.GetString(Resource.String.mensagem).ToString(), cliente.Nome.ToUpper());
lblNome.Text = Html.FromHtml(msg).ToString();
Run Code Online (Sandbox Code Playgroud)
但样式标签(b,i)不起作用.我需要连接带有和没有样式的单词,所以我需要这样做.我无法使用,setTypeface因为我需要设计单个单词的样式,然后在句子上加入这些单词.
这是什么方式?
此致,马塞洛.