First publish.
Write from C# named pipe server is working without using 100% CPU.
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
4 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6 <ProductVersion>9.0.21022</ProductVersion>
7 <SchemaVersion>2.0</SchemaVersion>
8 <ProjectGuid>{4B3BFED0-82D8-4540-857B-D8A727348CC9}</ProjectGuid>
9 <OutputType>Exe</OutputType>
10 <AppDesignerFolder>Properties</AppDesignerFolder>
11 <RootNamespace>CSNamedPipe</RootNamespace>
12 <AssemblyName>CSNamedPipe</AssemblyName>
13 <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
14 <FileAlignment>512</FileAlignment>
17 <OldToolsVersion>3.5</OldToolsVersion>
18 <UpgradeBackupLocation />
19 <PublishUrl>publish\</PublishUrl>
20 <Install>true</Install>
21 <InstallFrom>Disk</InstallFrom>
22 <UpdateEnabled>false</UpdateEnabled>
23 <UpdateMode>Foreground</UpdateMode>
24 <UpdateInterval>7</UpdateInterval>
25 <UpdateIntervalUnits>Days</UpdateIntervalUnits>
26 <UpdatePeriodically>false</UpdatePeriodically>
27 <UpdateRequired>false</UpdateRequired>
28 <MapFileExtensions>true</MapFileExtensions>
29 <ApplicationRevision>0</ApplicationRevision>
30 <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
31 <IsWebBootstrapper>false</IsWebBootstrapper>
32 <UseApplicationTrust>false</UseApplicationTrust>
33 <BootstrapperEnabled>true</BootstrapperEnabled>
35 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
36 <DebugSymbols>true</DebugSymbols>
37 <DebugType>full</DebugType>
38 <Optimize>false</Optimize>
39 <OutputPath>bin\Debug\</OutputPath>
40 <DefineConstants>DEBUG;TRACE</DefineConstants>
41 <ErrorReport>prompt</ErrorReport>
42 <WarningLevel>4</WarningLevel>
44 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
45 <DebugType>pdbonly</DebugType>
46 <Optimize>true</Optimize>
47 <OutputPath>bin\Release\</OutputPath>
48 <DefineConstants>TRACE</DefineConstants>
49 <ErrorReport>prompt</ErrorReport>
50 <WarningLevel>4</WarningLevel>
53 <Reference Include="System" />
54 <Reference Include="System.Core">
55 <RequiredTargetFramework>3.5</RequiredTargetFramework>
57 <Reference Include="System.Xml.Linq">
58 <RequiredTargetFramework>3.5</RequiredTargetFramework>
60 <Reference Include="System.Data.DataSetExtensions">
61 <RequiredTargetFramework>3.5</RequiredTargetFramework>
63 <Reference Include="System.Data" />
64 <Reference Include="System.Xml" />
67 <Compile Include="NamedPipeServer.cs" />
68 <Compile Include="Program.cs" />
69 <Compile Include="Properties\AssemblyInfo.cs" />
72 <None Include="ClassDiagram1.cd" />
75 <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
76 <Visible>False</Visible>
77 <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
78 <Install>false</Install>
79 </BootstrapperPackage>
80 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
81 <Visible>False</Visible>
82 <ProductName>.NET Framework 3.5 SP1</ProductName>
83 <Install>true</Install>
84 </BootstrapperPackage>
85 <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
86 <Visible>False</Visible>
87 <ProductName>Windows Installer 3.1</ProductName>
88 <Install>true</Install>
89 </BootstrapperPackage>
91 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
92 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
93 Other similar extension points exist, see Microsoft.Common.targets.
94 <Target Name="BeforeBuild">
96 <Target Name="AfterBuild">