未找到导入的项目“C:\Program Files\MSBuild\Microsoft\Silverlight\v5.0\Microsoft.Silverlight.CSharp.targets”。
问题描述:原先创建的Silverlight程序,后来系统重装了,再打开Silverlight程序时提示:C:\Users\yzg\Desktop\ocr\TJSilverlight\TJSilverlight\TJSilverlight.csproj : error : 无法读取项目文件“TJSi...
WindowsCE project missing Microsoft.CompactFramework.CSharp.targets in Visual Studio 2008
00x0 前言之前在Windows 7系统中开发的WindowsCE项目,最近换成Windows 10系统,需要将项目进行修改,打开项目后提示如下错误:无法读取项目文件“App.csproj”。...\App.csproj(209,11): The imported project "C:\Wind...
csharp_ToJson的正确写法
网上搜的,但有问题,已经改好。。。现在这个是正确的public static string ToJson(DataTable dt, string jsonName) { StringBuilder Json = new StringBuilder(); ...
Advanced CSharp Messenger
http://wiki.unity3d.com/index.php?title=Advanced_CSharp_MessengerAuthor: Ilya SuzdalnitskiContents[hide] 1 Description2 Foreword2.1 Cause behind the M...
CSharp设计模式读书笔记(20):观察者模式(学习难度:★★★☆☆,使用频率:★★★★★)
观察者模式(Observer Pattern):定义对象之间的一种一对多依赖关系,使得每当一个对象状态发生改变时,其相关依赖对象皆得到通知并被自动更新。观察者模式的别名包括发布-订阅(Publish/Subscribe)模式、模型-视图(Model/View)模式、源-监听器(Source/List...
csharp:workflow and bpm(Business Process Management)
http://ccflow.codeplex.com/http://winwf.codeplex.com/http://nginn.codeplex.com/https://github.com/lafar6502/NGinnBPMhttp://ringleflow.codeplex.com/htt...
CSharp Similarities and Differences
This document lists some basic differences between Nemerle and C# in a terse form. If you know Java or C++ it should still be fairly helpful.Changes I...
csharp 字符串比较,不区分大小写
最近在看一些MSDN上的文章,看到一篇我"常犯"的錯,就是文字字串如果要不分大小寫去比對,我都是先ToLower()或是ToUpper()之後再去比,但看完這篇後,才知道我錯了. 這個例子是在下面這個的情況 : string a="AAA";string b="aaa";bool c=a.To...
[C#] 生成 (web): 未能加载文件或程序集“Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7
有时候编译asp.net会遇到奇怪的错误: 生成 (web): 未能加载文件或程序集“Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”或它的某一个依赖项。未提供所需的模拟级别,或提...
Csharp 基础笔记知识点整理
/** @version: V.1.0.0.1* @Author: fenggang* @Date: 2019-06-16 21:26:59* @LastEditors: fenggang* @LastEditTime: 2019-06-18 01:31:12* @Descripttion: csh...
CSharp 相关知识点小结
1.JS获取iframe下面的内容document.getElementById('IFRAME1').contentDocument;2.dialog 弹出层,定位:postion:'bottom',['right','bottom'],['left','bottom'].3.IIS上部署WCF;...
Buttonton){} 原语句: [csharp] ///summary第一行说明 ///para第二行说明/para
为函数要领注释说明要用到 xml 语句 <summary>段落说明</summary> 、<para>新段示例说明</para>、<para></para>空行要插手全角空格下面的注释会粉碎原有标注布局:[csharp] ///...
csharp 字符串比较,不区分大小写
最近在看一些MSDN上的文章,看到一篇我"常犯"的錯,就是文字字串如果要不分大小寫去比對,我都是先ToLower()或是ToUpper()之後再去比,但看完這篇後,才知道我錯了. 這個例子是在下面這個的情況 : string a="AAA";string b="aaa";bool c=a.To...
Csharp 连接NHibernate下需要注意的几个点
背景:在学习Photon Server 时,我看的教程中使用了NHibernate 框架来连接管理Mysql数据库.我在以前只使用过java中的Spring boot,感觉两者有些相似之处。我写好了之后,开始尝试连接数据库,就报了一大堆错?我仔细检查了自己的代码和教程的代码,并没有发现什么错误之处,...
csharp: Domain-Driven Design(领域驱动设计)
http://dddsample.sourceforge.net/https://github.com/citerus/dddsample-corehttp://dddsamplenet.codeplex.com/SourceControl/latesthttps://github.com/Vaug...
存储过程使用数组参数csharp到mssql
This is my manual query work in SQL: 这是我在SQL中的手动查询工作: SELECT * FROM Accounts where Phone in ('05763671278','05763271578','04763125578') how can I get...
使用C#开发ActiveX控件(新) 转 http://www.cnblogs.com/yilin/p/csharp-activex.html
前言ActiveX控件以前也叫做OLE控件,它是微软IE支持的一种软件组件或对象,可以将其插入到Web页面中,实现在浏览器端执行动态程序功能,以增强浏览器端的动态处理能力。通常ActiveX控件都是用C++或VB语言开发,本文介绍另一种方式,在.NET Framework平台上,使用C#语言开发Ac...
CSharp调用Matlab编译的dll
一、使用环境:Visual Studio 2010,Matlab7.11.0(R2010b),操作系统为64位,则对应的Matlab安装在Program Files文件夹下,而非Program Files(*86)。 WMArray.dll所在的全路径为:C:\ProgramFiles\MATL...
csharp:Chart
http://www.dotnetperls.com/chartusing System;using System.Windows.Forms;using System.Windows.Forms.DataVisualization.Charting;////net4.0需添加引用namespace...
【转】Unity3D研究院之通过C#使用Advanced CSharp Messenger(五十)
http://www.xuanyusong.com/archives/2165Advanced CSharp Messenger 属于C#事件的一种。 维基百科中由详细的说明http://wiki.unity3d.com/index.php?title=Advanced_CSharp_Messeng...