小编mla*_*lia的帖子

Bootstrap 3:输入组与非输入组混合使用不同大小

如果一个表单中有多个控件,其中一些控件是输入组div的一部分而其他控件不是,那么有没有办法让它们占用相同的空间?我的目标是让所有输入具有相同的宽度(具有插件的控件的宽度).

这是我的非工作尝试:

<form class="form-horizontal" role="form">
  <div class="form-group col-xs-12">
    <label for="inputEmail3" class="col-xs-2 control-label">Email</label>
    <div class="col-xs-10 input-group">
        <span class="input-group-addon">$</span>
      <input type="email" class="form-control" id="inputEmail3" placeholder="Email">
    </div>
  </div>
  <div class="form-group">
    <label for="inputPassword3" class="col-xs-2 control-label">Password</label>
    <div class="col-xs-10">
      <input type="password" class="form-control" id="inputPassword3" placeholder="Password">
    </div>
</form>
Run Code Online (Sandbox Code Playgroud)

http://jsfiddle.net/8XhCL/1/

html css twitter-bootstrap-3

3
推荐指数
1
解决办法
1221
查看次数

无法使用ILMerge加载DLL mscorsn.dll

我正在尝试编译一个使用ILMerge将多个DLL组合在一起的项目,然后对它们进行签名以部署到CRM。代码已编译,但是ILMerge失败。此过程适用于其他开发人员的计算机,但不适用于我的计算机。

我正在使用Visual Studio 2015,Windows 10并针对.NET 4.5.2。进行构建。

所有项目都使用AnyCPU进行编译。

已将程序集引用“ System.Runtime.Caching”解析为“ C:\ Windows \ Microsoft.NET \ Framework64 \ v4.0.30319 .. \ v4.0.30319 \ System.Runtime.Caching.dll”。(使用的框架目录。)

合并过程中发生异常:无法加载DLL'mscorsn.dll':找不到指定的模块。(来自HRESULT的异常:0x8007007E)位于System.Compiler.Writer.MscorsnStrongNameSignatureGeneration(String wszFilePath,String wszKeyContainer,Byte [] pbKeyBlob,Int32 cbKeyBlob,IntPtr ppbSignatureBlob,IntPtr pcbSymBerWerWerBlockSymPerWilBerWilBerWilBerWilBerWilBerWilBerWonderWonderWonderWonder(PRESSION) ,模块模块,布尔型delaySign,字符串keyFileName,字符串keyName),位于System.Compiler.Writer.WritePE(CompilerParameters编译器参数,模块模块),位于ILMerging.ILMerge.Merge(),位于ILMerging.ILMerge.Main(String [] args)

我的构建后事件参数是:

if "$(ConfigurationName)" == "Debug No ILMerge" goto :exit REM **** Create ILMerge Directory **** md "$(TargetDir)IlMerge" REM **** Delete Previous Log **** del "$(TargetDir)IlMerge\Log.txt" REM **** Run IlMerge **** "$(SolutionDir)packages\ILMerge.2.14.1208\tools\ILMerge.exe" /log:"$(TargetDir)IlMerge\Log.txt" /keyfile:"$(ProjectDir)Client.Xrm.Plugins.Key.snk" /targetplatform:v4 /out:"$(TargetDir)IlMerge\$(TargetFileName)" "$(TargetPath)" "$(TargetDir)DLaB.Common.dll" "$(TargetDir)DLaB.Xrm.2015.dll" "$(TargetDir)Client.Xrm.dll" "$(TargetDir)Applications.Web.Security.dll" "$(TargetDir).Domain.dll" "$(TargetDir)Newtonsoft.Json.dll" :exit

我可以在计算机上手动找到mscorsn.dll,并将其放入本地文件夹。ILMerge会选择它,但是根据我使用的版本(Windows中有4-5个不同的副本),它可能会完全失败或说明无法签署最终的dll。

我尝试将其targetplatform指向具有mscorsn.dll文件的特定.NET文件夹,但无济于事。

.net ilmerge visual-studio

1
推荐指数
1
解决办法
2329
查看次数

标签 统计

.net ×1

css ×1

html ×1

ilmerge ×1

twitter-bootstrap-3 ×1

visual-studio ×1