project

DotnetCore project IntermediateOutputPath leaves some files in the solution directory

依然范特西╮ 提交于 2020-03-03 06:11:47
问题 In order to keep the repository clean and separated from output and build files we change corresponding paths in the project file. For Net Framework project specifying IntermediateOutputPath redirects the obj directory to the corresponding folder. For Net Core project (3.0) using this property is not sufficient. Whereas Debug, Release folders are indeed redirected, the obj folder is still created and it contains some file - such as project.assets.json, .csproj.nuget.cache, .csproj.nuget

DotnetCore project IntermediateOutputPath leaves some files in the solution directory

前提是你 提交于 2020-03-03 06:08:50
问题 In order to keep the repository clean and separated from output and build files we change corresponding paths in the project file. For Net Framework project specifying IntermediateOutputPath redirects the obj directory to the corresponding folder. For Net Core project (3.0) using this property is not sufficient. Whereas Debug, Release folders are indeed redirected, the obj folder is still created and it contains some file - such as project.assets.json, .csproj.nuget.cache, .csproj.nuget

002-搭建Liftweb项目

落花浮王杯 提交于 2020-03-02 04:31:48
搭建Lift项目 sbt -> sbt + jetty -> sbt + jetty + lift 本章的示例代码在: http://git.oschina.net/yangbajing/lift-book/tree/master/examples/lift-blank 安装Sbt 详细内容请读 附录A. 使用Sbt 创建sbt工程 现在我们重头开始建立一个lift项目,首先需要创建一个sbt工程。我们建立工程目录在: /data/lift-book/examples/lift-blank ,并建立目录结构如下: . ├── project │ ├── Build.scala │ ├── BuildSettings.scala │ ├── Dependencies.scala │ └── plugins.sbt ├── sbt ├── sbt-launch-0.13.0.jar ├── sbt.bat └── src ├── main │ ├── scala │ │ ├── bootstrap │ │ │ └── liftweb │ │ │ └── Boot.scala │ │ └── code │ │ ├── comet/ │ │ ├── helper/ │ │ ├── model/ │ │ └── snippet/ │ └── webapp │ └── WEB-INF │ └─

Spring AOP(三)--XML方式实现

谁说胖子不能爱 提交于 2020-02-29 00:28:52
本文介绍通过XML方式实现Spring AOP,在上一篇中已经介绍了通过注解+java配置的方式,这篇文章主要是看XML中怎么配置,直接上代码了: 一、创建一个连接点 1⃣️定义接口 注意⚠️:可以定义接口,也可以不定义,定义接口时使用jdk动态代理,不定义接口时使用cglib动态代理; 1 //定义一个接口 2 public interface CoderProjectService { 3 public void getProjectInfo(CoderProject coderProject); 4 } 2⃣️接口实现类 1 //创建一个类来处理业务逻辑,作为要织入切面中的被代理对象 2 public class CoderProjectServiceImpl implements CoderProjectService { 3 4 @Override 5 public void getProjectInfo(CoderProject coderProject) { 6 System.out.println("项目名称:" + coderProject.getProjectName() + "--项目版本号:" + coderProject.getProjectVersion() 7 + "--项目描述:" + coderProject.getProjectDesc());

VS 2008 Package 备忘

寵の児 提交于 2020-02-10 23:07:24
今天研究了一下vs 2008 package的部署,即怎样放置package中的dll、ProjectTemplate和ItemTemplate,趁着热乎劲先记录下来,免得以后忘记。 首先,创建一个简单的package,供测试之用。 打开visual studio 2008,新建项目,选择其他项目类型->扩展性->Visual Studio Integration Package,输入项目名称为DeployPackage,如下图: 点击确定后,弹出创建package的向导,选择C#作为开发语言,选中Menu Command。如下两图: 完成向导后,vs帮我们创建了空的package项目,如下图: 双击Guids.cs文件,添加一个guid,作为接下来要创建的ProjectFactory的guid,修改后的Guids.cs文件如下: 1: using System; 2: 3: namespace Company.DeployPackage 4: { 5: static class GuidList 6: { 7: public const string guidDeployPackagePkgString = "bad3390c-b2a2-4bfc-a3ad-87e8119df413"; 8: public const string

MyEclipse的使用

帅比萌擦擦* 提交于 2020-02-09 16:36:29
我在myeclipse中import以前的项目后,deploy(部署)项目。点击 deploy 按钮,在弹出的Project Deployments筐中看不到刚导入的项目,无法部署!为什么????请高手指点下啊 而我新建项目,deploy(部署)项目的时候可以看到项目 这是因为以前的项目不是用myEclipse创建的,所以用myeclipse deploy的时候找不到你的项目。 可以这样做:右击原项目名 - myeclipse - Add Web Capilities... 这样就可以用myEclipse做deployment了。 在myeclipse中点击 deploy 旋钮,在弹出的Project Deployments筐中看不到刚导入的项目,无法部署   在以前的eclipse或者maven转成eclipse的项目的时候,导入myeclipse中,点击部署找不到项目。   解决办法:右键点击项目名称->myeclipse->Add Web Project Capilities...,这样就可以deployment了。 添加自动提示功能 Eclipse/MyEclipse编辑器会在输入 . 后会提示一些变量或者属性方法等。但是在Implements实现或者继承的时候则无能为力。要想实现完整的提示功能,也就是提示范围包含:一切可能的输入变量、方法或接口列表,则需要对配置进行完善

Can I parameterize a CruiseControl.NET project configuration such that the parameters are exposed by the web interface?

六眼飞鱼酱① 提交于 2020-02-05 03:26:06
问题 I am currently trying to use NAnt and CruiseControl.NET to manage various aspects of my software development. Currently, NAnt handles just about everything, including replacing environment specific settings (e.g., database connection strings) based on an input target that I specify on the command line. CruiseControl.NET is used to build the application for the default environment (dev) anytime new code is committed. I also want CruiseControl.NET to invoke a build for my additional

设计模式之组合模式

时光怂恿深爱的人放手 提交于 2020-02-01 09:09:36
作者:zuoxiaolong8810(左潇龙),转载请注明出处,特别说明:本博文来自博主原博客,为保证新博客中博文的完整性,特复制到此留存,如需转载请注明新博客地址即可。 定义:(GoF《设计模式》):将对象组合成树形结构以表示“部分整体”的层次结构。组合模式使得用户对单个对象和组合对象的使用具有一致性。 从定义中可以看出,组合模式用来表示部分与整体的层次结构(类似于树结构),而且也可以使用户对单个对象(叶子节点)以及组合对象(非叶子节点)的使用具有一致性,一致性的意思就是说,这些对象都拥有相同的接口。 很多书中包括文章都喜欢使用公司、子公司以及部门的例子,这其实就是一个典型的树结构。其实生活当中的树结构还有很多,比如书的目录、文件系统、网站的菜单等等,有很多很多。 我们先来看看组合模式的类图,引自百度百科。 类图当中有三个类,一个是Component(节点的统一接口),它的目的是为了统一节点的操作。接下来的两个实现类,一个则是非叶子节点(Composite),它可以有子节点。另外一个则是叶子节点(Leaf),它不能含有子节点。 我们随便挑一个树结构的例子,比如文件系统,我们来分析一下,在文件系统中,如果使用组合模式,各个部分的类都应该是什么样子的。 首先,文件系统中,叶子节点是文件,非叶子节点是文件夹,所以Leaf和Composite实现类就是文件和文件夹

What are the other possible names of project files in C# other than .cproj?

喜欢而已 提交于 2020-01-25 03:49:07
问题 .cproj is not the only name of the project file. My solution says there are 5 projects but only three .cproj files are seen. What is the file extinsion of other project files/? THe icon that represents the other two look different as well: 回答1: It looks like an ASP.NET web app, but I'm not seeing the code symbol in the lower right corner (normally you'd have a C# or VB symbol) 来源: https://stackoverflow.com/questions/2968102/what-are-the-other-possible-names-of-project-files-in-c-sharp-other

Multiple projects with same GIT master

谁说我不能喝 提交于 2020-01-24 09:04:43
问题 In our development environment we have a custom framework. While all our projects start with the base it is extended on a project by project base with the use of plugins and themes. The folder structure is: core (Contains shared code between all projects) plugins (Each subfolders of is a plugin, some exist in all projects, some are project specific) themes (Contains project specific only code) Currently we clone our master repo delete the .git folder, create a new repo and go about our