Visual Studio项目中ProjectTypeGuids标记的意义是什么?当我创建一个WPF应用程序时,我在这里看到两个GUID.
{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}**
Run Code Online (Sandbox Code Playgroud)
这些是否代表WPF和Windows类型的应用程序?
如果我创建自己的具有.xaml和.cs文件的项目类型(.myproj),我应该填写这个ProjectTypeGuids标签?我是否还需要填写ProjectType标签?
如果有人区分ProjectType和ProjectTypeGuids*标签也会更好.
.net projects-and-solutions visual-studio-2010 visual-studio
我将Wcf服务库项目添加到解决方案中,它创建了2个类(Service1,IService1)和配置文件.现在我想在同一个解决方案中将该服务添加到我的Console项目中.我单击"添加服务引用 - >发现",它会找到该服务.
当我创建Windows类库项目并在那里创建与刚刚创建的Wcf服务库项目相同的示例,然后尝试将其添加为我的控制台项目的引用,因此单击Discover不会返回任何内容.为什么?
当我创建Wcf服务库项目或Windows类库项目并在那里创建与Wcf服务库相同时,有什么区别?
编辑
在Discover只有当服务是作品WCF服务库.但是一旦我转移到其他项目(控制台,类库),Discover它就不会再找到它了.为什么?
的app.config
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.web>
<compilation debug="true" />
</system.web>
<!-- When deploying the service library project, the content of the config file must be added to the host's
app.config file. System.Configuration does not support config files for …Run Code Online (Sandbox Code Playgroud)